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: Thursday February 8 2018 - 06:02:09

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


Poster: abarsami
Dated: Thursday April 22 2004 - 21:49:38 BST

I had to use url=/

Never mind.