Vic
08-23-2005, 12:28 AM
I am trying to make a URL reference in a one page that uses the same domain, but points to another page in a different directory.
For example, I have a page:
http://mydomain/directory1/index.htm
In the index.htm I want to create a URL that points to the same domain (http://mydomain/) but a different directory & page. For example:
http://mydomain/directory2/anotherpage.htm
Problem is, I don't want to statically code in "mydomain", as the page can be moved around between domains. Is there any way to reference page's "own" domain without having to use javascript or ASP?
For example, I have a page:
http://mydomain/directory1/index.htm
In the index.htm I want to create a URL that points to the same domain (http://mydomain/) but a different directory & page. For example:
http://mydomain/directory2/anotherpage.htm
Problem is, I don't want to statically code in "mydomain", as the page can be moved around between domains. Is there any way to reference page's "own" domain without having to use javascript or ASP?