Fade Toggle function

/ Published in: jQuery
Save to your folder(s)

Copy this code and paste it in your HTML
  1. jQuery.fn.fadeToggle = function(speed, easing, callback) {
  2. return this.animate({opacity: 'toggle'}, speed, easing, callback);
  3. };

URL: http://groups.google.com/group/jquery-en/browse_thread/thread/bd9ab1487def3fc8/a24286723ec3ab98

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.