jquery animate question
Posted
by user313271
on Stack Overflow
See other posts from Stack Overflow
or by user313271
Published on 2010-04-16T00:05:17Z
Indexed on
2010/04/16
0:13 UTC
Read the original article
Hit count: 605
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 ?
© Stack Overflow or respective owner