[UPHPU] onclick clean, onmouseover messy

Sean Thayne sean at lookin3d.com
Tue Nov 27 11:16:55 MST 2007


I've used Prototype in the past, but the best javascript framework out 
there is mootools, it has a crazy FX engine, that would help you out

http://www.mootools.net

Wade Preston Shearer wrote:
> 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.
> ------------------------------------------------------------------------
>
>
> _______________________________________________
>
> UPHPU mailing list
> UPHPU at uphpu.org
> http://uphpu.org/mailman/listinfo/uphpu
> IRC: #uphpu on irc.freenode.net



More information about the UPHPU mailing list