[jQuery] slideToggle height/visible problems
Hello everyone,
I have div that has 4 large paragraphs in it. I'm like to use
slideToggle() to show/hide the div, but have run into a few problems.
After executing slideToggle() on my div, the following styles are set:
<div style="overflow: visible; display: block; height: 171px;">
Compare this to the styles set if I use show() instead:
<div style="overflow: hidden; display: block; height: 171px; width:
554px; opacity: 0.9999;">
I'd like to be able to adjust the height and overflow, but would like
for it to figure out the height to include all of the content (maybe
if I could pass "height: auto").
I've looked through the docs, but can't figure it out.
Any ideas?
Thanks,
Kevin
--
Kevin Old
kevinold@gmail.com
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/