HTML Menubar allows you to defines your own menubar. Any HTML element such as hyperlink or image can be used as menubar. With this feature you can have the so called search engine friendly menubar. You also have freedom in the menubar design.
var prodMenu = menuMgr.createMenu("products");
prodMenu.addItem("1", "NlsMenu Pro", "http://www.addobject.com");
prodMenu.addItem("2", "NlsTree Pro", "http://www.addobject.com");
var servMenu = menuMgr.createMenu("services");
servMenu.addItem("1", "Custom Component Development", "http://www.addobject.com");
//the html menubar
<a href="url" onmouseover="nls_showMenu('products', this, 'H')" onmouseout="nls_hideMenu('products')">Products</a>
<a href="url" onmouseover="nls_showMenu('services', this, 'H')" onmouseout="nls_hideMenu('services')">Services</a>
<a href="url" onmouseover="hideAllNlsMenu();">Services</a>
Basically you only need to specify onmouseover and onmouseout event on the menubar element as shown in example above.
|