disturber
v1.0.0
Published
jQuery scroll handler
Downloads
1
Readme
Disturber
Just a jQuery scroll handler
Demo
Usage
$(document).disturber({
scenes: [{selector: '#slide1', action: {css:'fade-in'}},
{selector: '.general-slide', action: {css:'fade-in'}},
{selector: '#slide2', action: {css:'fade-in',
js: function() {$.fn.disturb()}
}
}]
mobile: true
});
Troubleshooting
In some cases (loading of external resources etc) may be needed to wrap the code in
$( window ).load(function() {
// Init disturber
});