Dennyboy
Newbie
Posts: 1
Registered: 4/26/2007
Location: Tijuana Mexico
Member Is Offline
|
| posted on 4/26/2007 at 11:49 PM |
|
|
Menu between 2 images... how?
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>
| Quote: |
<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...
| Quote: |
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<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);
</script>
</td>
<td width="330"><img src="images/dbep_header_19.gif" width="330" height="185" alt=""></td>
</tr>
</table>
|
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?
Regards
|
|
|
tigra
Administrator
Posts: 1907
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 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.
|
|
|