Ooohh, that's neat!
Blimey, I'm learning a lot ....

Thanks, Hamish :)

On Feb 3, 8:01 pm, Hamish Campbell <[EMAIL PROTECTED]> wrote:
> $('mySelector').mouseover(function() {
>     // do something on mouseover and focus})
>
> .focus(function(){
>     // trigger the mouseover event on focus
>     $(this).trigger('mouseover')
>
> });
>
> 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