The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Tabs Anchor w/ smoothscroll

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #192652

    Hi, I am new to javascript and have a question regarding vertical tabs.

    Currently I am using the code (below) to anchor the user to the top of the tabs section when they click on one towards the bottom of the list. This functionality is working but I was wondering if it is possible to have it scroll smoothly to the top instead of jumping. Any Ideas? Thanks in advance for your help.

     $(".quicktabs-tabs li a").click(function() {
        var tabs_offset = $("#work").offset();
Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.