Combine Slide and Fade Functions

$.fn.slideFadeToggle = function(speed, easing, callback) { return this.animate({opacity: ‘toggle’, height: ‘toggle’}, speed, easing, callback); }; Usage $(“#something”).click(function() { $(this).slideFadeToggle(); css […]

Read More

Slide Functions

// toggle slide up and down $(“#DivID”).slideToggle(1000); // do something when animation complete $(“#DivID”).slideToggle(1000, function () { alert(“Slide Toggle Complete”); […]

Read More