[jQuery] creating / removing DIV height problem

[jQuery] creating / removing DIV height problem


I use a div to display actions for a site. When the user clicks a
link the div is created and content is loaded via the load command. I
then use slideDown() to show the div and slideUp() to hide it again.
The div is then remove()'d. Unfortunately the next time I create the
div and I use slideDown() the div has a fixed height of 1px (looking
at the generated code) which breaks the html in firefox and the
animation in explorer (it slidesDown twice). It seems that the height
of the element is retained although I use remove() to delete it. Does
anyone have any ideas?
Thanks,
Tom Elsner
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/