Перейти к содержанию

Silence

Актив
  • Постов

    2061
  • Зарегистрирован

  • Посещение

  • Победитель дней

    109

Запись Комментарии, опубликованные Silence

  1. новый медленный код

    <script type="text/javascript">  
     jQuery(function(){  
      $("#Go_Top").hide().removeAttr("href");  
      if ($(window).scrollTop()>="250") $("#Go_Top").fadeIn("slow")  
      $(window).scroll(function(){  
      if ($(window).scrollTop()<="250") $("#Go_Top").fadeOut("slow")  
      else $("#Go_Top").fadeIn("slow")  
      });  
    
      $("#Go_Bottom").hide().removeAttr("href");  
      if ($(window).scrollTop()<=$(document).height()-"999") $("#Go_Bottom").fadeIn("slow")  
      $(window).scroll(function(){  
      if ($(window).scrollTop()>=$(document).height()-"999") $("#Go_Bottom").fadeOut("slow")  
      else $("#Go_Bottom").fadeIn("slow")  
      });  
    
      $("#Go_Top").click(function(){  
      $("html, body").animate({scrollTop:0},2000)  
      })  
      $("#Go_Bottom").click(function(){  
      $("html, body").animate({scrollTop:$(document).height()},2000)  
      })  
     });  
     </script>  
    
     <a style='position: fixed; bottom: 300px; right: 1px; cursor:pointer; display:none;'  
     href='#' id='Go_Top'>  
      <i class="fa fa-chevron-up" aria-hidden="true"></i>  
     </a>  
     <a style='position: fixed; bottom: 250px; right: 1px; cursor:pointer; display:none;'  
     href='#' id='Go_Bottom'>  
      <i class="fa fa-chevron-down" aria-hidden="true"></i>  
     </a>

     

  2. В 31.01.2017 г. в 06:34, BlackRouter сказал:

    thank you!!

    but i click on button and open pop up Current page refreshing.

    fixed:

    <span class="uploadfile ipsButton ipsButton_light ipsButton_verySmall"><button onClick="javascript:window.open('https://mediafire.com','','location=0,status=0,scrollbars=1,width=760,height=660');"><i class="fa fa-upload" aria-hidden="true"></i> MediaFire</button></span>
    <span class="uploadfile ipsButton ipsButton_light ipsButton_verySmall"><button onClick="javascript:window.open('http://filedropper.com','','location=0,status=0,scrollbars=1,width=760,height=660');"><i class="fa fa-upload" aria-hidden="true"></i> FileDropper</button></span>
    <span class="uploadfile ipsButton ipsButton_light ipsButton_verySmall"><button onClick="javascript:window.open('http://www.tinyupload.com/','','location=0,status=0,scrollbars=1,width=760,height=660');"><i class="fa fa-upload" aria-hidden="true"></i> TinyUpload</button></span>
                              
                              
              
    .uploadfile button:link {
          text-decoration: none;
          color: #333;
          transition: all 0.5s ease;
    }
    .uploadfile button:visited {
          text-decoration: none;
          color: #333;
          transition: all 0.5s ease;
    }

     

  3. Дополнение

    после выполнения вышеуказанных шагов , перейти:

    Шаблоны --> core --> front --> profile --> profileHeader и найти:

    {{if $member->pp_main_photo and ( mb_substr( $member->pp_photo_type, 0, 5 ) === 'sync-' or $member->pp_photo_type === 'custom' )}}
    					<a href="{file="$member->pp_main_photo" extension="core_Profile"}" data-ipsLightbox class='ipsUserPhoto ipsUserPhoto_xlarge'>					
    						<img src='{$member->photo}'  alt=''>
    					</a>
    				{{else}}
    					<span class='ipsUserPhoto ipsUserPhoto_xlarge'>					
    						<img src='{$member->photo}' alt=''>
    					</span>
    				{{endif}}

    Изменит на :

    {{if $member->pp_main_photo and ( mb_substr( $member->pp_photo_type, 0, 5 ) === 'sync-' or $member->pp_photo_type === 'custom' )}}
    					<a href="{file="$member->pp_main_photo" extension="core_Profile"}" data-ipsLightbox class='ipsUserPhoto ipsUserPhoto_xlarge'>					
    						<img src='{$member->photo}' data-groupID='{$member->member_group_id}' alt=''>
    					</a>
    				{{else}}
    					<span class='ipsUserPhoto ipsUserPhoto_xlarge'>					
    						<img src='{$member->photo}' data-groupID='{$member->member_group_id}' alt=''>
    					</span>
    				{{endif}}

    В custom.css добавит:

    .ipsUserPhoto_xlarge img, img.ipsUserPhoto_xlarge, .ipsUserPhoto_xlarge[data-group_id="4"] { border: solid 3px #e74c3c; padding:2px;}

    1.png

  4. В 31.07.2016 г. в 23:39, Виктор Лобанов сказал:

    И хрен знает что где смотреть. нет что бы скрин приложить

     

    В 11.10.2016 г. в 01:36, HooLIGUN сказал:

    Что это вообще такое?

    Что ето контекстное меню - https://ru.wikipedia.org/wiki/Контекстное_меню

    Контекстное меню в IPS Community Suite 4 .... Вы можете изменить линк с вашен:

    12.png

×
×
  • Создать...