Ah ha! And I believe I have reinvented a wheel. Doh!
On May 17, 5:37 pm, "John Resig" <[EMAIL PROTECTED]> wrote: > Isn't that what .hover() does? > > $(...).hover(function(){ > $(this).addClass("hilite");}, function(){ > > $(this).removeClass("hilite"); > > }); > > --John > > On 5/17/07, Remy Sharp <[EMAIL PROTECTED]> wrote: > > > > > I've written a plugin that will fire a mouseout when the mouse leaves > > the container DIV, rather than moves over a sub-element: > > >http://remysharp.com/2007/05/17/true-mouseout-jquery-plugin/ > > > Hope it helps. > > > On May 16, 1:36 pm, SamCKayak <[EMAIL PROTECTED]> wrote: > > > Just getting started... > > > > I have several unordered lists on a page. I want to add a class > > > 'hilite' to an ordered list onmouseover and remove the class > > > onmouseout. > > > > So far, so good. My problem is that while the mouse is inside the > > > ordered list, an onmouseout event fires when the mouse moves over a > > > list item (but is still inside the ordered list). > > > > What methods are available to detect this condition as I do not want > > > to removeClass('hilite') while I am in the ordered list but hovering > > > over a list item? > > > > Thanks, > > > > Sam