Page 1 of 1
show second level menu items on mouse over
Posted: Sun Nov 12, 2006 3:10 pm
by donnut
Hi,
I'm trying to setup the menu in such a way that the menu items of the second level are displayed when the mouse is over the parent item.
I tried to add commands in the template like second_level='2' and collapse='1', but I'm unable the get the correct combination of settings.
I'm using CMS 1.0.2 and the site I'm working on is
http://www.gentle-vent.nl/cmsms/index.php?page=home
Thanks for the help,
Erwin
Re: show second level menu items on mouse over
Posted: Sun Nov 12, 2006 4:30 pm
by nils73
You are trying to create a flyout-menu if I am not mistaken. You might find help here:
http://forum.cmsmadesimple.org/index.ph ... 940.0.html
Regards,
Nils
Re: show second level menu items on mouse over
Posted: Sun Nov 12, 2006 5:02 pm
by donnut
Hi Nils,
Thanks for the reply. Yes, I suppose this a called a flyout menu. I studied the link you provide, but I do not see the 'trick'. The relevant lines are, I think:
Main Navigation
{cms_module module='menumanager' template='hhh01 : andreas01 : andreasmenu' number_of_levels='2'}
Should number_of_levels make it flyout? I tried this, but it doesn't seem to work.
Thanks,
Erwin
Re: show second level menu items on mouse over
Posted: Sun Nov 12, 2006 8:06 pm
by Dr.CSS
That menu tag is for for a menu just like you are getting so it is working correctly...
try this...
{menu template='cssmenu.tpl'}
and add/attach this stylesheet to your template...
Navigation: CSSMenu - Vertical
Re: show second level menu items on mouse over
Posted: Sun Nov 12, 2006 8:52 pm
by donnut
Great, that works!
Thanks for your help,
Erwin
Re: show second level menu items on mouse over
Posted: Sun Nov 12, 2006 11:21 pm
by Dr.CSS
Your Welcome...
You may want to change the body background color to #6BA1C4 to match the image color...
Re: show second level menu items on mouse over
Posted: Tue Nov 14, 2006 5:25 pm
by donnut
Thanks,
I changed the background color, but the header picture has a gradient. I'll change the header picture to 'solve' it.
Erwin