Board Logo

Menu between 2 images... how?
Dennyboy - 4/26/2007 at 11:49 PM

Hi all... I'm using the tigra menu, now i do have it working but it always appear at the top left of my screen, I dropped this between <head> </head>


<title>Tigra Menu Test</title>
<script language="JavaScript" src="menu.js"></script>
<script language="JavaScript" src="menu_items.js"></script>
<script language="JavaScript" src="menu_tpl.js"></script>
<link rel="stylesheet" href="menu.css">

and in the body a table with 3 columns 1 row with 1 image on the sides so I need the menu to appear in the cell betwen the adjacent cells so it looks simple as this...


<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
<td width="330"><img src="images/dbep_header_19.gif" width="330" height="185" alt=""></td>
<td width="140"><script language="JavaScript">
new menu (MENU_ITEMS, MENU_TPL);
<td width="330"><img src="images/dbep_header_19.gif" width="330" height="185" alt=""></td>

And as I said ig goes to top left of the page floating over the images there... how can I nail this menu to any cell in any table?


tigra - 4/26/2007 at 11:52 PM

Unless you use GOLD version of the menu you need to position it by specifying the coordinates in the menu_tpl.js
first instances of block_top and block_left set the vertical and horizontal offset of the menu respectively.

Back to forum: