Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:18

Table Bound Menu without text within html page


Poster: runner
Dated: Thursday August 21 2003 - 15:55:16 BST

Hi,

I want to use a table bound menu within my page. I downloaded the menu sample no.9 from your page and it works quite well.

The problem i have is, that the sample has the code for the menu titles (Home | Menu Samples | Milonic | Partners | Links | My Milonic) within the body of the html page.

Is it possible to move this code into the menu_data.js file? It would be much more comfortable this way cause I wont need to change every webpage that uses the menu if i want to change the menu contents...

thanks in advance!


Poster: Hergio
Dated: Thursday August 21 2003 - 16:54:46 BST

I thought there used to be a PlaceMenu function in the previous versions which would allow you to place the menu within a table while still declaring it in the js file, but I dont see one anymore. Maybe in another revision. But maybe you could include your main menu code (the one thats in HTML that you want out of HTML) into your pages, that way there is only one copy.


Poster: John
Dated: Thursday August 21 2003 - 16:55:49 BST

Yes, absolutely. Put only the js call to your data file in the <td> (leave the call to the milonic_src.js file up as the first item after the <body>), and move the menu code back to the menu_data.js file. I use it that way all the time.