#OnScroll.js
This is a jQuery plugin, so jQuery is a prerequisite. Specify the target DOM element you want to trigger the callback function on. and simple call:
$(yourtargetDOM).onScroll(function(){ alert("Hello World!")})
#OnScroll.js
This is a jQuery plugin, so jQuery is a prerequisite. Specify the target DOM element you want to trigger the callback function on. and simple call:
$(yourtargetDOM).onScroll(function(){ alert("Hello World!")})