sxalexander / jquery-scrollspy

A JQuery Implementation of David Walsh's MooTools scrollspy
439 stars 144 forks source link

Add refresh function #2

Open sxalexander opened 12 years ago

sxalexander commented 12 years ago

The bootstrap scrollspy has a 'refresh' function to refresh the max/min values upon say an ajax load, to recalculate the max/min area.

aubergene commented 12 years ago

Yes, this would be really handy, or if I could remove scrollspy and add it again. The name clash with bootstrap is unfortunate.

BowlingX commented 12 years ago

+1 for this, in the meantime just do:

    $(window).unbind("scroll");

and recreate the widget

guyisra commented 11 years ago

+1

beldar commented 11 years ago

+1000 do this already please!

ArturT commented 10 years ago

You don't need refresh because you can use function as a min/max value. Here is a nice topic about it http://stackoverflow.com/a/19281903/905697