capeli
Joined: 20 Oct 2003 Posts: 6 Location: CRC
|
Posted: Mon Oct 20, 2003 9:26 pm Post subject: Multiple Popup menus with a single menuitem.js |
|
|
Can it be posible?
to have multiple menus with a single .js?
---------------
6. Multiple menus on a single page.
There is no problems in having several menus on a single page. Most complex trick here is to name menus with different names, e.g.:
var menu1 = new COOLjsMenu('menu1', MENU_ITEMS1);
var menu2 = new COOLjsMenu('menu2', MENU_ITEMS2);
var menu3 = new COOLjsMenu('menu3', MENU_ITEMS3);
-------------------------
for every of these I have to initialize each???
like this:
menu.initTop();
menu.init();
menu2.initTop();
menu2.init(); // a new call for every new menu????
is for a popup menu on an "onmouseover" on a link, my page has few links so i want a new menu for every link... |
|