JavaScript.CoolDev.Com Support Forums

Any questions related to JavaScript menu and JavaScript tree menu by Javascript.CoolDev.Com

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Multiple Popup menus with a single menuitem.js

 
Post new topic   Reply to topic    JavaScript.CoolDev.Com Forum Index -> COOLjsMenu
Author Message
capeli



Joined: 20 Oct 2003
Posts: 6
Location: CRC

PostPosted: Mon Oct 20, 2003 9:26 pm    Post subject: Multiple Popup menus with a single menuitem.js Reply with quote

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...
Back to top
Display posts from previous:   
Post new topic   Reply to topic    JavaScript.CoolDev.Com Forum Index -> COOLjsMenu All times are GMT
Page 1 of 1