Posted By

talbs on 04/27/09


Tagged

toggle jquery fade animation useful slide learningjquerycom slidefadetoggle


Versions (?)

Who likes this?

9 people have marked this snippet as a favorite

benrudolph
rsoule
talbs
vali29
keith
jannisg
vkolev
laurentzziu
acousins


[JQuery] slideFadeToggle


 / Published in: jQuery
 

URL: http://www.learningjquery.com/2008/02/simple-effects-plugins

mad props to Karl S - http://www.learningjquery.com/2008/02/simple-effects-plugins

  1. jQuery.fn.slideFadeToggle = function(speed, easing, callback) {
  2. return this.animate({opacity: 'toggle', height: 'toggle'}, speed, easing, callback);
  3. };

Report this snippet  

You need to login to post a comment.