Skip to content Skip to sidebar Skip to footer

Jquery Tabs Added To Code Makes Auto Scroll (vertical) Scroll Past Anchors

I have set up a autoscroll page using the css-tricks code for smooth scrolling: http://css-tricks.com/snippets/jquery/smooth-scrolling/ It has always worked great, and I have just

Solution 1:

I believe the issue is that after you apply the scrolling you are hiding a bunch of items. For some reason it seems to be interfering with the calculations.

If you move the smooth scrolling code below the tab functions, it will work fine:

Demo: http://jsfiddle.net/lucuma/qR5bm/1/

Post a Comment for "Jquery Tabs Added To Code Makes Auto Scroll (vertical) Scroll Past Anchors"