2007/1/20, Steve Jones <[EMAIL PROTECTED]>:
I'm suffering a strange glitch with a slideToggle method. What seems to happen is that a linebreak is added to the beginning of text content in the target element just as the animation starts either opening or closing, and is only removed on completion of the animation. Whatsmore, there is a brief "flash" of the whole target DIV just as the animation begins on a hidden element.
If you use Firebug, you can see that the animation uses several css properties: height varies, at the end 'display' is set to 'none' and at the beginning 'overflow' is set to 'hidden'. It's the latter which introduces the "line-break effect". It must be because of the h2 above and its implicit css properties. Try to use a div instead and tell us. Franck.
_______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/