$.fn.slideFadeToggle = function(speed, easing, callback) {
return this.animate({opacity: 'toggle', height: 'toggle'}, speed, easing, callback);
};
#Usage
$("#something").click(function() {
$(this).slideFadeToggle();
});
- Tech Tricks answered 9 months ago
- You must login to post comments
Your Answer
Please login first to submit.