tabs UX
-
Hello.
I manage to fix the problem of navigating between tabs and having to scroll down every time with the snippet that Champ gave me.But now, even when you enter for the first time in your profile, after login for example, you can’t see your profile picture (unless you scroll up) because the function is activated even if you don’t press in any tab, so just shows below the tabs.
Is the function can be change and have it activated or create a trigger when you click on the tabs?Thank you very much.
jQuery(document).ready(function() { var $container = jQuery("html,body"), $scrollTo = jQuery(".um-profile-nav"); // Or you can animate the scrolling: $container.animate( { scrollTop: $scrollTo.offset().top - $container.offset().top + $container.scrollTop() - 500 }, 1500 ); });
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘tabs UX’ is closed to new replies.