Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multi-Level Navigation - showing Lvl2 only on Mouseclick
#2
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:
Code:
.submenu { display: none; }
And then show the currently active submenu:
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!
Reply


Messages In This Thread
Multi-Level Navigation - showing Lvl2 only on Mouseclick - by Zegnåt - 2009-12-07, 21:45:02



Users browsing this thread: 1 Guest(s)