Scroll To Top When Tab Changes

site profile thumbnail
Happy Wednesday! If you have a long tabs section with a sticky menu, as you may no, it's not the best user experience - when a user switches the tab, it will remain in it's current scroll position - even though the content itself is new. With this solution, every time the tab is changed, it will scroll to the top of the tabs section, and you can even add an offset to make sure it doesn't block stuff like your navbar. To get the code, go to https://www.memberstack.com/scripts/scroll-top-tab-changes

More sites by Memberstack

See profile

Similar sites