jQuery Element Scroll Monitoring Plugin xRoll.js
Add-ons

Plugin description: xRoll.js is an element scroll monitoring plugin that executes custom functions when elements appear in the viewport.
Usage:
1 | xRoll(element, function to execute) |
Example:
1 2 3 | xRoll($('h1').eq(0), function() { alert('The first paragraph is now ready for interaction')}); |
评论