You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.textile
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@ h2. Features
8
8
* Exclude links if they are within a containing element: $('#container a').smoothScroll({excludeWithin: ['.container2']});
9
9
* Exclude links if they match certain conditions: $('a').smoothScroll({exclude: ['.rough','#chunky']});
10
10
* Adjust where the scrolling stops: $('.backtotop').smoothScroll({offset: -100});
11
+
* Add a callback function that is triggered after the scroll is complete: $('a').smoothScroll({afterScroll: function() { window.location.hash = this.hash; }});
0 commit comments