Reputation: 5860
I am trying to slideDown()
a hidden div but it only show()
it without the slideDown()
effect
Upvotes: 1
Views: 271
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
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