[jQuery] Re: .hasClass() not behaving as expected.

2009-02-11 Thread MiD-AwE
Thanks for the reply. I eventually removed the "-color" and "-image" for the css "background". mkmanning wrote: > > > In your code you're attaching the hover event to the anchor tags; in > the sample html none of the anchors has a class (the class is on the > parent li element). > > On Feb

[jQuery] Re: .hasClass() not behaving as expected.

2009-02-09 Thread Leonardo K
I tested your code here and works fine. I just ident your code to look better. On Mon, Feb 9, 2009 at 00:05, mkmanning wrote: > > In your code you're attaching the hover event to the anchor tags; in > the sample html none of the anchors has a class (the class is on the > parent li element). > >

[jQuery] Re: .hasClass() not behaving as expected.

2009-02-08 Thread mkmanning
In your code you're attaching the hover event to the anchor tags; in the sample html none of the anchors has a class (the class is on the parent li element). On Feb 8, 4:24 pm, MiD-AwE wrote: > Please help, I've been wrestling with this for too long now. > > I've put together this code to change