Board Logo

Multiple Menus - Additional Menu's dont have borders.
Zanthor - 1/31/2003 at 11:05 PM

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....


Zanthor - 1/31/2003 at 11:13 PM

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 ;))


sr - 2/6/2003 at 05:34 PM

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?


nik - 2/7/2003 at 09:26 AM

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],


sr - 2/7/2003 at 09:46 AM

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:
-----------------------
<html>
<head>
<link rel="stylesheet" href="menu1.css" id="css_menu">
<title>Sommaire</title>
</head>

<body bgcolor="#FFFFFF" background="img/backcarte.gif">
<script language="JavaScript" src="menu.js"></script>
<script language="JavaScript"
src="menu_items.js"></script>
<script language="JavaScript" src="menu_tpl1.js"></script>
<script
language="JavaScript">
new menu (MENU_ITEMS, MENU_POS1, MENU_STYLES1);
</script>
</body>
</html>
--------------------------------
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


tigra - 2/8/2003 at 09:48 PM

Download Tigra Menu distribution package. Demo #4 is multiple menus configuration.


sr - 2/9/2003 at 07:40 AM

I use de frame menu.
Can we configure this frame menu with multiple menu?


tigra - 3/14/2003 at 07:35 AM

yes, you can have multiple instances of frames compatible menu


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/