Scriptaculous effects don’t work unless your target _id_ has a child
September 14th, 2006
If you try to do:
new Effect.SlideDown('mydiv')
on
HTML:
-
<div id="mydiv">
-
foo
-
</div>
Scriptaculous will look at you with a blank stare. In order to work, the div seems to need to have a child element other than a text element. This will work, for instance:
Go figure.





Leave a Reply