Monday, February 21, 2011

jQuery Slide Panel on Mouseover

How can I make this sliding panel example to slide down on mouseover and slide back in on mouseout instead of using the click function?

See the example here: http://www.webdesignerwall.com/demo/jquery/simple-slide-panel.html

$(".btn-slide").click(function(){
 $("#panel").slideToggle("slow");
 $(this).toggleClass("active"); return false;
});
From stackoverflow

0 comments:

Post a Comment