I would like to have an element slide left 10 seconds after the page loads. But i do not want it to disappear from the page entirely. I just want it to slide 200px. Then when I click remaining visible part i want it to slide back to the right.
not really sure how to set the distance… Here’s what i have so far:
$("#myEl").click(function(){
$(this).animate({width:'toggle'},500);
});
jsBin demo
jQuery .toggle()
jQuery .stop()