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:05

Include Common Data Question

Poster: waynem
Dated: Friday May 19 2006 - 14:33:56 BST

I have a root site with many subdomains beneath it. I want to create a common index to all the sites that appears in the menu without having to edit each and every data file. While the list of sites is uniform, each subdomain may not have every menu item other subdomains have, so I can't just have a single data file that every subdomain points to.

Is there a way to use an include or similar statement that will point to a single file for all the common elements?

Poster: Andy
Dated: Saturday May 20 2006 - 11:48:34 BST

It might be better to do this using server side code.

If your servers are running PHP or ASP etc it shouldn't be too difficult to detect the [HTTP_HOST] variable from the server and deliver a menu_data.js file based on it.

You would have much more control over this method

Hope this helps,