I believe you need to adjust your template. "active" class is being
applied to the <a> Home tag, but your "active-trail" class is
needed on the parent li instead can do this failry easily also in jQuery adding following: $(".menu a.active").parent().addClass("active-trail")/// tested this in firebug and works on "Home" .wired wrote: Hi guys, i am wondering if it's possible to apply the hover class already when the site is loading. Precisly look at http://www.templatebomb.de/ where the home button should have the class "active" but it's applying it just after hovering one of the menu points. Sorry for my bad english, by the way ;)greetings, .wired |
- [jQuery] superfish set hover on onload... .wired
- [jQuery] Re: superfish set hover on onload... Charlie