Reputation: 71
jquery code
$(function(){
$('#switcher1').click(function(){
$(this).stop().animate({left:'35px'},800);
});
});
Hey everybody, this code slides #switcher1 at 35px to the right. I have question, how i can make that #switcher1 on one more click slides back to the original position ?
Upvotes: 2
Views: 111