Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. $("#sidebar-toggle").click(function(){
  2.  
  3. $("#content").toggle(function(){
  4.  
  5. $(this).animate({marginLeft:0},200);
  6. },function(){
  7.  
  8. $(this).animate({marginLeft:'250px'},200);
  9. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement