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

How do I use the menu for pages that are not in my root?


Poster: frederth
Dated: Sunday February 26 2006 - 20:49:52 GMT

I am up and running with my new menu--and I LOVE it. One minor problem...All the links in my menu_data.js file are relative. When I access the menu from a page that is not in my root menu, it doesn't work. It shows, but all the links are 404 Not Found errors. Is there a way to fix this without redoing my menu_data file with absolute references?

Thanks.


Poster: Migru
Dated: Monday February 27 2006 - 7:54:26 GMT

Hi

"redoing" is not as much work as it seems, using the replace function of the editor............
Best is to keep alle the pages in the root directory, if you want relative addressing only. If not, I think there is no way out to edit the menu data file accordingly.

Michael


Poster: Ruth
Dated: Tuesday February 28 2006 - 12:22:47 GMT

Hi Frederth,

Can you provide a url so people can test and see what's up? It's very hard to provide specific information, especially with regard paths, without having the site so everyone can see what's up and test things.

Ruth


Poster: John
Dated: Tuesday February 28 2006 - 14:18:50 GMT

If your menu system is called from the same server (it should be), there shouldn't be a problem using server-relative pathing to get to what you need. As Ruth mentioned, the previously requested URL is really necessary.