show second level menu items on mouse over

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
donnut

show second level menu items on mouse over

Post 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
nils73
Power Poster
Power Poster
Posts: 520
Joined: Wed Sep 08, 2004 3:32 pm

Re: show second level menu items on mouse over

Post 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
donnut

Re: show second level menu items on mouse over

Post 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
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: show second level menu items on mouse over

Post 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
donnut

Re: show second level menu items on mouse over

Post by donnut »

Great, that works!

Thanks for your help,

Erwin
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: show second level menu items on mouse over

Post by Dr.CSS »

Your Welcome...

You may want to change the body background color to #6BA1C4 to match the image color...
donnut

Re: show second level menu items on mouse over

Post 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
Locked

Return to “Layout and Design (CSS & HTML)”