-
Постов
138 -
Зарегистрирован
-
Посещение
Активность репутации
-
Vask0 отреагировална пост Silence в Плавная прокрутка
новый медленный код
<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>
-
Vask0 отреагировална пост Silence в Фото профиля в онлайн-списках
https://www.webpagetest.org/result/170604_G8_1178/
-
Vask0 отреагировална пост Silence в Аватар для Border Цвет в зависимости от группы
Дополнение
после выполнения вышеуказанных шагов , перейти:
Шаблоны --> 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;}
-
Vask0 отреагировална пост Silence в Аватар для Border Цвет в зависимости от группы
Может добавит v css padding:2px; отделить рамку