I am using the scriptaculous/prototype libraries to slide some elements open and closed and am experiencing something strange. When I initiate the action via an onclick, it works, but when I initiate it via an onmouseover, it gets messy. Here is an example in action:

http://anavidesign.com/temp/test.php


If you mouse over the onmouseover ones slowly and carefully, you can make it work without problems, but as soon as you speed up and jump around, the list that dynamically is showing/hiding begins to "fall" outside of the parent div.

Anyone have any ideas why this would work with onclick and not onmouseover? I can do it fast with the click and it doesn't get messy? Is it just that I am not able to do it fast enough and if I were it would get messy with the click too?

For those unfamiliar with the scriptaculous/prototype libraries, they way that it shows and hides is be adding or removing an inline "display: none" from the element.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to