Hi, this appears to be happening because of specificity in the CSS. You have
the 'hidden' on a direct specification i.e. the 'ul' in question. Try adding
a class like : .hidden {display:none;} and then adding and removing that
through your jQuery ul.addClass(hidden) ; ul.removeClass(hidden);That
Rick,
I am trying to have a two level horizontal nav bar. The second levels
would be hidden by default.
Depending on the location of the page being served the right one
should be displayed by jq.
Don,
You are right assignment by id (#) takes higher priority over
assignment by class.
I couldn't
According to Firebug, the class, selected is being applied
to #home-subnav. However, the CSS ul#sitenav li ul { display:none; },
is taking precedence over the CSS of class, selected.
Are you trying to get the sub-menu (#home-subnav) to show up
when you hover over Home ? Or what is the effect
3 matches
Mail list logo