Forum Moderators: not2easy
I would have thought having a display:none tag would be okay for the non display of the subnav but I don't know how I could show the DIV when I'm in the correct section.
Any help would be very much appreciated.
On the page I have this:
<div id="test">test</div>
and in the css I have
#test {visibility: hidden;}
body#about #test {visibility: visible;}
So that when the body id is "about" then the div will display. So this will only display when I'm in the about section and no other sections on the site.