thumbnail scroller
$(document).ready(function(){ $('#photos_inner').toggle(function(){ var scrollAmount = $(this).width()-$(this).parent().width(); $(this).animate({'left':'-='+scrollAmount},'slow'); },function(){ $(this).animate({'left':'0'},'slow'); }); }); #photos { overflow: hidden; width: 600px; } #photos_inner { height: 100px; width: 1500px; overflow: hidden; position: relative; } #photos_inner…