Table Bound Menu without text within html page

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
runner
Beginner
Beginner
Posts: 1
Joined: Thu Aug 21, 2003 3:42 pm

Table Bound Menu without text within html page

Post by runner »

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!
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

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.
Last edited by Hergio on Thu Aug 21, 2003 5:03 pm, edited 1 time in total.
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

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.
John
Post Reply