I need to be able to stop a setInterval function while its running. The idea is if the browser is resized then it will the timer (320px or less) here is the interval:
var blurb_scroll = setInterval(function(){
$(".content .blurb-container:first").next().css({'opacity':0}).delay(400).animate({'opacity':1}, 'fast');
$(".content .blurb-container:first").animate({'margin-top':'-190px', 'opacity':'0'}, 'slow', function(){
$(this).appendTo(blurb_container).removeAttr('style');
});
},6000);
clearInterval( blurb_scroll )