Open Sub Menus onclick

In this sample the first level sub menus are configured to popup onclick instead of onmouseover which is the default setting.

The following setting is used for the main menu in the last section (i.e. MENU TREE FEATURES) of the configuration file (c_config.js):

// MAIN-MENU FEATURES
...
true,         // Open sub-menus onclick (default is onmouseover)
...

The script also allows configuring all sub menu levels (rather than just the first level) to popup onclick - e.g.:

// MAIN-MENU FEATURES
...
true,         // Open sub-menus onclick (default is onmouseover)
...
// SUB-MENU FEATURES
...
true,         // Open sub-menus onclick (default is onmouseover)
...

Download this sample

You can download the complete example or just see the configuration file and the images used for it.

Configuration file


Shortcuts and Related

Bookmark / Share