What is not working correctly with me is when I hover the dropdown
menu i change the color of the sifr text so it remains black:

http://www.mech7.net/tmp/sifr/

In script.js in line 26:

        ,onRollOut: function(cb) {
                var currentMenuItem = 
cb.getFlashElement().parentNode.parentNode;
                 $(currentMenuItem).hover(
              function () {
                        cb.changeCSS(
                                'a{color:#000000; text-align:center; 
text-decoration:none;}'
                        );
              },
              function () {
                        cb.changeCSS(
                                'a{color:#eeeeee; text-align:center; 
text-decoration:none;}'
                        );
              }
            );
        }

If you move the mouse slow it works correct, but hover the main items
fast and they stay black but not change back anymore.

On Oct 15, 2:54 pm, "Karl Rudd" <[EMAIL PROTECTED]> wrote:
> Right. That's what I'd expect.
>
> The mouseout (and mouseover) events "bubble" up through child DOM
> nodes, and often fire at odd times, which is why it you should use the
> "mouseenter" and "mouseleave" events. The enter and leave events are
> specially built to not bubble (at least not unexpectedly).
>
> I do see what you mean by the mouseleave firing more than once in some
> cases. No idea why.
>
> Do you have a particular page that isn't working?
>
> Karl Rudd
>
> On Wed, Oct 15, 2008 at 6:00 PM,Mech7<[EMAIL PROTECTED]> wrote:
>
> > Ok when I go over the example one fast stroke in Firefox 3 then I get
> > 4 and 6 for the outer.. in the 1st example. Now try to do a circlular
> > movement in the orange box in the 1st example... stay inside the
> > orange, over keeps firing, do a movement from left to right and it
> > doesn't
>
> > On the 2nd example, try to go really fast with the mouse over the
> > entire area, sometimes it will fire once and sometimes 3 times.
>
> > On Oct 15, 11:39 am, "Karl Rudd" <[EMAIL PROTECTED]> wrote:
> >> It seems to work as I expect it too on the example page.
>
> >> Can you provide a working example and explain what you expect to happen?
>
> >> Karl Rudd
>
> >> On Wed, Oct 15, 2008 at 2:02 PM,Mech7<[EMAIL PROTECTED]> wrote:
>
> >> >http://docs.jquery.com/Events/mouseout
>
> >> > Even in the example it does not work correct.. for example make some
> >> > circles with the mouse on mouseout.. it will keep adding numbers.
>
> >> > Also with mousenter, move it fast and the numbers will go up with big
> >> > amounts. :( How to fix this, i can't use mouseout cause it will fire
> >> > also with the child elements.

Reply via email to