Return to Snippet

Revision: 48040
at June 22, 2011 14:04 by Some0ne


Initial Code
$(document).ready(function(){

$('#clickme').toggle(
 function(){
   $('#animateme').animate({marginLeft: "250"}, 1000);
},
   function(){
      $('#animateme').animate({marginLeft: "0"}, 1000);
   });
});

Initial URL

                                

Initial Description
Just leaving this here for my own reference ;)

Initial Title
jQuery toggle animate

Initial Tags
jquery

Initial Language
jQuery