[jQuery] Superfish First Child Behaviour
Hi,
Many thanks to Joel for a great plugin :)
I have been working with the Superfish plugin which is great and I've
also found some great help on this group to answer some issues I had
run into.
I am basically trying to create the same as what has been detailed at
http://users.tpg.com.au/j_birch/ric/ with an added extra.
Basically, my menu is structured into sections, each with a
subsection. The first link in a subsection is the same as the link of
the top level li for that section.
On hover of the top level li, I want to trigger the hover state of the
first child in the list, which I have managed in the css with .sf-menu
li:hover li:first-child a. The child should stay highlighted when
hovered over, but when you hover over the next li, I want the first
child li to return to the default (silver).
I have tried the method described in the thread
http://groups.google.com/group/jquery-en/browse_thread/thread/169f2cd116fd168d
to try and remove the class via jQuery but the selector seems to be
overridden but what is already there for that element in the css.
I have placed an example at http://www.flashphpsolutions.co.uk/superfish
Thanks in advance
Gordon