I\'m trying to figure out a way to do this. I have a list of boxes, each about 150px high. I am using javascript (and jquery) and want that, after a user scroll
150px
This would be a scenario, where vanilla JavaScript would be useful.
var yourFunction = function(){ // do something computationally expensive } $(window).scroll(function(){ yfTime=setTimeout("yourFunction()",250); });