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

Navigation Within a Site


Poster: jeberlan
Dated: Tuesday September 7 2004 - 20:46:01 BST

In windows I can create a "webshare" on any folder, then do what I call Top-Down addressing in the menu. For example, if I create a webshare called somesite I can then use a url address like url=/somesite/somefolder/someotherfolder/somepage.htm. By starting with a / I go to the top of the site then move down from there. But when I move this to the host I don't seem to be able to do this. On the host it seems that all addressing is relative to the folder I happen to be in at the time. Am I missing something?
I can change the code to url=http://www.somesite.com/... but this will not work for navigating within the pages on my PC as the first version does. Is there someway to code this that will work for both the dev. pc and the host?


Poster: John
Dated: Wednesday September 8 2004 - 5:14:33 BST

Your PC must be set up exactly the same as the server or it will, as you see, fail. Server-relative addressing (the leading /) starts at the root level, be it server or local PC, and goes from there. If set up properly it should work fine in both places.


Poster: jeberlan
Dated: Wednesday September 8 2004 - 13:31:22 BST

On the PC I created a name to refer to the server. How do I "name" the host's Server?
I could put this in inetpub/wwwroot but I've got two different websites I'm developing on this pc. I can't put them both in the wwwroot folder.