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

I need to make the menu script path document relative

Poster: curtis
Dated: Monday June 21 2004 - 22:37:40 BST


I've just stated using v5 and I've hit upon a snag. I need to make the path to the script relative to the document via the root. When I was using v3 it was very simple eg


for some reason the javascript strips out the ".." bit from the first and last script lines that are needed to run the menu.

Any ideas on how to solve this?



Poster: Maz
Dated: Monday June 21 2004 - 23:44:10 BST

Take it from the slash /path/myfile.html

No need for dots.


Poster: fredlongworthhighschool
Dated: Tuesday June 22 2004 - 8:26:46 BST

It all depends where you have your JS in relation to your 'root' folder and how you call it.