Releases: sutara79/jquery.simple-scroll-follow
Releases · sutara79/jquery.simple-scroll-follow
v3.1.2
v3.1.1
v3.1.0
Add option upper_side
and lower_side
If you use fixed menu such as Bootstrap .navbar-fixed-top, the options below will help you.
$('#foo').simpleScrollFollow({
upper_side: '#menu-fixed-top',
lower_side: '#menu-fixed-bottom'
});
v3.0.0
Option "instance" is deleted.
In v3.x, simpleScrollFollow() always returns jQuery object, so jQuery method chaining always works.
How to call public method from outside is Changed.
v3.x
// apply plugin to an element
$('#foo').simpleScrollFollow();
// call sub-method "setEnabled()"
// the second argument is for sub-method
$('#foo').simpleScrollFollow('setEnabled', false);
v2.x
// set "instance" true
var arrInstance = $('#foo').simpleScrollFollow({
instance: true
});
// call submethod "setEnabled()"
$(arrInstance).each(function() {
this.setEnabled(false);
});