tilak
Junior Member
Posts: 2
Registered: 4/23/2006
Member Is Offline
|
| posted on 4/23/2006 at 04:09 PM |
|
|
Adding Menu to a Table Cell
Hello,
I am new here. I created a DHTML based vertical drop-down menu using the online menu builder.
I would like to know how to add the menu that I built to a cell in my table in my web page that, the source code of which is given below.
Please note that there is a table cell where I put a comment that looks like <!-- I WANT TO ADD MY DHTML VERTICAL MENU HERE WITH PROPER ALIGNMENT
-->
This is where I want to add my menu.
Can someone tell me / give me the code snippet on how to achieve this ?
My basic table-based HTML code is here.
<html>
<head>
<title></title>
</head>
<body>
<script language="JavaScript" src="menu.js"></script>
<script language="JavaScript" src="menu_items.js"></script>
<script language="JavaScript" src="menu_tpl.js"></script>
<script language="JavaScript">
<!--//
new menu (MENU_ITEMS, MENU_POS, MENU_STYLES);
//-->
</script>
<div style="MARGIN: 1em auto; FONT: 11px arial,sans-serif; TEXT-ALIGN: center"><font face="Arial" color="#000000" size="2">
<div>
<table cellspacing="2" cellpadding="2" width="100%" bgcolor="#ffffff" border="1">
<tr valign="top">
<td> </td></tr>
<tr valign="top">
<td> </td></tr></table><br><font face="Arial" color="#000000" size="2">
<div>
<table cellspacing="2" cellpadding="2" width="100%" bgcolor="#ffffff" border="1">
<tr valign="top">
<td>
<!-- I WANT TO ADD MY DHTML VERTICAL MENU HERE WITH PROPER ALIGNMENT -->
</td>
<td> </td>
<td> </td></tr></table></div></font><br><font face="Arial" color="#000000" size="2">
<div>
<table cellspacing="2" cellpadding="2" width="100%" bgcolor="#ffffff" border="1">
<tr valign="top">
<td>
</td></tr></table></div></font></div></font> </div>
</body>
</html>
|
|
|
tigra
Administrator
Posts: 1982
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 4/24/2006 at 02:50 AM |
|
|
http://www.softcomplex.com/forum/viewthread_1386
|
|
|