Its been two weeks of trials and testing plus I have read a number of submissions on this topic and I hope I am not just another one whose not getting it, but I have no hair left.
In my example below, I need to be able to take the (2)MASTER DIRECTORY and place it on any medium. i.e
on the web, CD or Hard drive and have the system work when the (4) index.hml is executed. I cannot find a stable method for writing relative paths that works. I am using this for a training product.
The reason the index page is in the PRODUCT folder, is becuse there maybe many PRODUCT folders and the menu will have different links for each prodcut.
1 ROOT (Local Machine or web)
.......|
...2 MASTER
.......|......|
.......|...3 PRODUCT
.......|......|
.......|......|- 4 index.htm (contains the menu in a table)
.......|......|- 5 Menu_data.js
.......|......|
.......|...6 SUBJECT (folder contains lessons)
.......|......|
.......|......|
.......|...7 SUBJECT (folder contains lessons)
.......|
....8 XPMENU
..............|
..............|- 9 image(s).gif (every Image for menu)
..............|- 10 All.js (every .Js file used for menu)
WHAT I HAVE TRIED TO DATE:



Its easy to make everything work with absolute paths, but Its then no good to download for a given machine, not knowing where it will go.
I really need some help with this, as I have to have it working on all mediums very soon.