Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Navigation Within a Site

Status
Not open for further replies.

jeberlan

MIS
Sep 6, 2004
5
US
In windows I can create a "webshare" on any folder, then do what I call Top-Down addressing in VBScript. 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?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top