Scrollto and end of scroll
Hi all
I have a div with an image in it that when clicked steps the page to the right by 600px
this is it:
-
.click(function(){
$.scrollTo( {top:'-=0px', left:'+=600px'}, 800 );
});
What i want to do is remove the button when the page cant scroll any further to the right. then re add it when i go left again. if this makes any sense!
Any ideas peeps?
Thanks all
mike