Page 1 of 1

Vertical CSSMenu - more than 3 level

Posted: Fri Dec 23, 2005 11:24 pm
by dme69
Hello all,
I'm new to CMSMS and i have a problem with Vertical CSSMenu :
The fourth level is always displayed when i am on one of the third level menu.
I saw in the "Default CSSMenu Vertical" :
/* The magic - set to work for up to a 3 level menu, but can be increased unlimited */

How does it work ?
Thanks for your help.

Dominique.

PS : CMSMS is cool !

Re: Vertical CSSMenu - more than 3 level

Posted: Sat Dec 24, 2005 10:52 am
by westis
Hi Dominique & Merry Christmas!

Each level of the CSSMenu is another nested unordered list, that is another .

In the following example I've added "the magic" for another level:

Code: Select all

/* The magic - set to work for up to a 3 level menu, but can be increased unlimited */

#primary-nav ul, #primary-nav li:hover ul, #primary-nav li:hover ul ul, #primary-nav li:hover ul ul ul,
#primary-nav li.menuparenth ul, #primary-nav li.menuparenth ul ul, #primary-nav li.menuparenth ul ul ul { 
	display: none; 
	}
#primary-nav li:hover ul, #primary-nav ul li:hover ul, #primary-nav ul ul li:hover ul, #primary-nav ul ul ul li:hover ul, 
#primary-nav li.menuparenth ul, #primary-nav ul li.menuparenth ul, #primary-nav ul ul li.menuparenth ul, #primary-nav ul ul ul li.menuparenth ulĀ  { 
	display: block; 
	}
That should work. Let me know if it doesn't, as I haven't tried it myself.

Re: Vertical CSSMenu - more than 3 level

Posted: Sun Dec 25, 2005 8:46 am
by dme69
Merry Christmas !

Thanks for your help. It's working fine ...


I have a new question :
It seems that there are some problem on the CSS menu with Firefox : some item of the menu are "under" the text of the page ?

thanks again for your precious help.
Dominique.