-
Author
-
July 19, 2014 at 01:58 #22982iamj_kimParticipant
Hi, how can one turn off the scrolling across effect of the Avatars when viewing the Newest/Active/Popular members? The reason I’m asking is I’m hoping it will speed up the viewing of the site.
Thanks.
July 23, 2014 at 00:56 #23263iamj_kimParticipantGot it. commented out javascript in custom_buddypress/bp-functions.php. How can I reflect that in the child-theme so it won’t be deleted when updating the theme?
July 25, 2014 at 14:55 #23596CatalinModeratorHello,
You need to rebuild the code in functions.php from your child theme in order to keep the modifications if you update the theme.
Give me more details about the modifications you did and I will be able to help.
Thank you,
CatalinHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJuly 26, 2014 at 00:33 #23674iamj_kimParticipantThanks Catalin. I commented out lines 1483-1522 in BP-Functions (see below)…
// <script type=”text/javascript”>
// jQuery(document).ready(function() {// jQuery(“.members-switch”).click(function() {
// var bpMembersContext = jQuery(this).parent().parent();
// var container = “ul.kleo-bp-“+jQuery(this).attr(‘data-id’)+”-members”;// jQuery(“ul.item-list”, bpMembersContext).hide();
// jQuery(“.members-switch”).removeClass(“selected”);
// jQuery(this).addClass(“selected”);
// jQuery(container, bpMembersContext).show(0, function() {
// jQuery(container+” li”).hide().each(function (i) {
// var delayInterval = 150; // milliseconds
// jQuery(this).delay(i * delayInterval).fadeIn();
// });
// });
// return false;
// });
// });// jQuery(function () {
// if (!isMobile()) {
// jQuery(‘.kleo-bp-active-members’).hide();
// jQuery(‘.section-members’).one(‘inview’, function (event, visible) {
// if (visible) {
// var container = “.kleo-bp-active-members”;
// jQuery(container).show(0, function() {
// jQuery(container+” li”).hide().each(function (i) {
// var delayInterval = 150; // milliseconds
// jQuery(this).delay(i * delayInterval).fadeIn();
// });
// });
// }
// });
}});
</script>
JS; -
AuthorPosts
You must be logged in to reply to this topic.