stergosz
stergosz

Reputation: 5860

jquery dropdown slidedown doesnt work

I am trying to slideDown() a hidden div but it only show() it without the slideDown() effect

http://jsfiddle.net/BQYQ5/

Upvotes: 1

Views: 271

Answers (2)

Zedrian
Zedrian

Reputation: 909

You can try this:

$('a').click(function() {
   $("#dropdown").slideDown("slow");
});

$("#dropdown").hide();

<a href="#">[open]</a>
<div id="dropdown">
    data go here
</div>

Upvotes: 0

Cheery
Cheery

Reputation: 16214

Min-height breaks animation. Read this http://bugs.jquery.com/ticket/4623

And solution http://docs.jquery.com/Tutorials:Getting_Around_The_Minimum_Height_Glitch

Upvotes: 2

Related Questions