Hi, > Basically I'm just wondering if there is a quick and easy way for > scriptaculous effects to work well onmouseover and onmouseout. Thanks!
script.aculo.us is working fine with the events, it's just that the events aren't doing what you expect them to do. Read up on mouseover and mouseout and you'll understand why; in particular, mouseout fires whenever the mouse leaves any element *within* the element you're watching it on (because it bubbles). Prototype 1.6.1 adds support for the mouseenter and mouseleave events to all browsers (IE has had them forever) which are probably more appropriate to what you want. HTH, -- T.J. Crowder tj / crowder software / com www.crowdersoftware.com On Sep 18, 7:05 am, Matt Johnson <mobyjohn...@gmail.com> wrote: > So I'm creating a light-weight expanding and collapsing menu. I am > using the morph property to expand and contract the height of the list > items in the menu onmouseover. I am running into issues however where > (once I've expanded the list) every time I rollover an item within the > expanded list item, it re-triggers the morph effect. > > Basically I'm just wondering if there is a quick and easy way for > scriptaculous effects to work well onmouseover and onmouseout. Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---