Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:32
How to put menu in HTML Page table Structure using XP Style
Poster: aythora
Dated: Wednesday April 30 2003 - 14:17:38 BST
Hello There,
I am using the XP Style Menu by Milonic
i cannot figure out how to put my menus in the table structure rather then defining the Top and Left positon i th .js file.
what i do at the moment is just have these entries in the head part of the HTML.
<script language="JavaScript" src="reserve/script/menu_array.js"/>
<script language="JavaScript" src="reserve/script/mmenu.js"/>
and the problem is i don't want to define the menus top position and start position instead i want to put my menus in the structure which i already have on my HTML page
<table>
<tr>
<td>
.... Some menu function which will put my menu in this container
</td>
</tr>
</table>
i also see a dumpmenu function in menu_array.js at the bottom of the .js file if i remove the dumpmenu function it comes up with an error on the page.
please if anyone could help me out in this
Many Thanx
Jatin
Poster: John
Dated: Wednesday April 30 2003 - 21:57:14 BST
See http://www.milonic.co.uk/menu/menusample.php?sampleid=21 for a complete example of how to do this (and lots of other samples as well).
Also, do not remove anything from the menu code, especially dumpmenus() As you found out - won't work.