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:32
I need to specify base URL variable
Poster: abarsami
Dated: Thursday April 22 2004 - 21:30:23 BST
I have these pages
http://root/folder1/default.asp
http://root/default.asp
If I put for the URL links:
default.asp
folder1/default.asp
Then if I click on the 2nd link that goes to folder1/default.asp, and I then click on the 1st link that goes to default.asp. It can't find the page.
Does this mean I have to use the full path? http://root/default.asp instead of default.asp?
If so, Is there someplace I can declare the root path as a variable, then I just call that path in the menu_data.js
strRoot = "http://root/"
Then in menu_data.js I use:
url=strRoot & WebForm1.aspx