use onclick on normal menu

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
fastflagsrt4
Advanced
Advanced
Posts: 13
Joined: Tue Jun 27, 2006 7:53 pm
Location: Maryland

use onclick on normal menu

Post by fastflagsrt4 »

I would like to make it so the menu does not show until you click the root menu item.

how can I do this???
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

If you go to the main site and mouseover the DHTML Menu you'll see down toward the bottom an item Menu Quick REference Guides, you want to check these out, the sections on Style, Menu and Item properties to see what you can do.

http://milonic.com/styleproperties.php

Code: Select all

openonclick Allows the menu to be opened by a click of the mouse on the main menu rather than it automatically opening as the mouse rolls over it.
Values: 'true', 'false', '0' or '1'
Example: openonclick=true;
Example: openonclick=0; 
that code, openonclick= can be placed in the style section, which means that all the items in the menus that use that style will open their submenus onclick, or into the item which means that the submenu for that item will be the only one to open on click.

Ruth
Post Reply