[UPHPU] onclick clean, onmouseover messy
CJackson at cirris.com
Tue Nov 27 09:27:54 MST 2007
Cirris Systems Corp
From: uphpu-bounces at uphpu.org [mailto:uphpu-bounces at uphpu.org]On Behalf
Of Wade Preston Shearer
Sent: Tuesday, November 27, 2007 9:13 AM
To: UPHPU Discuss
Subject: [UPHPU] onclick clean, onmouseover messy
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:
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.
More information about the UPHPU