Update: A more accessible "hover" function.
I did my homework, then did this:

// a more accessible "hover" function
jQuery.fn.extend({
        hover: function(fnOver, fnOut) {
                return this.bind('mouseenter mouseover focus',
fnOver).bind('mouseleave mouseout blur', fnOut);
        }
});

(Works with the built-in .hover event). Only tested in IE7 and
FF2.0.0.11

Cherry.

> > On Feb 4, 7:31 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> > wrote:
> > > Trying to do a simple a: rollover - but, being a perfectionist, I want
> > > the rollover behaviour triggered by mouseover OR focus. And then, of
> > > course, on mouseout OR blur.

Reply via email to