Jump to content

w3css opens all dropdownlevels on hover


ruitertje

Recommended Posts

Hi,

I have rebuild a smarty-template that produces a menu from the cms-database.

It can handle multiple levels for the navigation.

I have it almost working the only thing is that alle dropdowns are opened upon the first level hover.

It can be seen at http://c-m-s.pw/index.php?page=testen_w3css

My question, is it possible to use hover for multiple level dropdowns?

I cannot use "on click" because the toplevel is also a link to a page.

 

Any ideas how to solve this?

Regards,

Jan

Link to comment
Share on other sites

It is possible when you copy all code for

.w3-dropdown-hover .w3-dropdown-content  to another level like

.w3-dropdown-hover1 .w3-dropdown-content1

.w3-dropdown-hover2 .w3-dropdown-content2

etc.

etc.

I only need to give a leftmargin of 2em or more to keep seeing the underlying menu.

The first test localy is functioning, so I can nao build it into the template.

Regards,

Jan

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...