I'm trying to setup Tigra Menu (Free Version) with multiple menu's on one webpage. I've got both menu's I'm setting up working indipendantly.
When I add both to the page, using:
new menu (MENU_ITEMS, MENU_POS, MENU_STYLES);
new menu (CONTACT_ITEMS, CONTACT_POS, CONTACT_STYLES);
They both appear and function, however the 2nd menu set has no borders....
You need to add definitions in the CSS, each additional menu and submenu is defined there.
(Answering my own question cuz I'm that leet... or that lucky... not sure which ;))
I can't put to menu on the same page, one is going over the other.
Does anyone have a simple sample of the entire page html code for two menu?
Menus are overlapped because they have the same coordinates. You should find in menu_tpl?.js files
'block_top' and 'block_left' parametres, their first cells are left upper corner coordinates for corresponding menu on page:
// menu block offset from the origin:
// for root level origin is upper left corner of the page
// for other levels origin is upper left corner of parent item
'block_top': [99, 23, 5],
'block_left': [287, 0, 130],
Ok, i've tried, my problem is that i don't know the coorect code to put on my html page.
Now, it's like this:
<link rel="stylesheet" href="menu1.css" id="css_menu">
<body bgcolor="#FFFFFF" background="img/backcarte.gif">
new menu (MENU_ITEMS, MENU_POS1, MENU_STYLES1);
I saw in the documentation that i could have an other css files like "menu2.css"
but where do i mention it in my html page?
i kow i will have to add
new menu (MENU_ITEMS2, MENU_POS2, MENU_STYLES21);
If anyone have a full html code of a page with two menu, i think i can handle it.
Thanks in advance
Download Tigra Menu distribution package. Demo #4 is multiple menus configuration.
I use de frame menu.
Can we configure this frame menu with multiple menu?
yes, you can have multiple instances of frames compatible menu