I have this code.
$(document).ready(function() { $(\'#box\').hide(); $(window).bind(\'scroll\', function(){ if($(this).scrollTop() > 200) { $(
jQuery has a stop() method - http://api.jquery.com/stop/
This article describes how to use it, seems to be exactly what you're looking for: http://www.learningjquery.com/2009/01/quick-tip-prevent-animation-queue-buildup