2009-12-07, 21:45:02
It is very possible BigWill. You might have seen that on my own website it does exactly like you want it. It is only showing the subpage about the name of my website when you are on the homepage or on said subpage. On any other pages the submenu is hidden and not even there in the HTML.
This however will need a rewrite of my function.
The other way is to use CSS and hide all submenus:
And then show the currently active submenu:
Thanks too the many CSS classes almost everything is possible with just CSS.
This however will need a rewrite of my function.
The other way is to use CSS and hide all submenus:
Code:
.submenu { display: none; }
Code:
.parent .submenu, .active .submenu { display: block; }
Thanks too the many CSS classes almost everything is possible with just CSS.
“Don’t forget the important ˚ (not °) on the a,†says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!