Here is the code:
$('.next').click(function(){
$(window).stop(true,true).scrollTo('+=800px', 1000, { axis:'x' } );
});
$('.prev').click(function(){
$(window).stop(true,true).scrollTo('-=800px', 1000, { axis:'x' } );
});
Site can be previewed here: http://www.allisonnavon.com/index.php?/projects/raw-rhythm/
When the » are clicked more than once, it queues them up, even with the stop(true,true)
parameter. Anyone know why?