Advertisement
Guest User

Untitled

a guest
Jul 20th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. $.fn.slideLeft = function (speed) { // slideLeft
  2.  
  3. $(this).animate({width: '0%'}, speed, function () { $(this).hide(); });
  4.  
  5. return $(this);
  6. };
  7. $.fn.slideRight = function (widthValue, speed) { // slideRight
  8.  
  9. $(this).show().animate({width: widthValue}, speed);
  10.  
  11. return $(this);
  12. };
  13. $.fn.slideLRtoggle = function () {
  14.  
  15. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement