Links for CD

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
volt
Beginner
Beginner
Posts: 1
Joined: Thu May 24, 2007 3:45 pm

Links for CD

Post by volt »

HI

I am running this menu on a multemedia CD presentation.

My problem is I need the same menu to show on each page, and I have different sections in different folders.

ie, home page - cd:/index.htm
section 1 - cd:/section1/index.htm
section 2 - cd:/section2/index.htm

I have no problem showing the menu on each page, but my links dont work, all of them work when displayed on pages in the root folder, but when displayed on pages in other folders It wont work - I somehow need to have the link go to../index.htm when on a page in a folder, but to just go ti index.htm when displayed on a page in the root directory.

This would be easy if the site was online as I could code the actual server address.

Is there any solution for me, or do I need to have a different menu script for each folder? Or should I re-organise the CD so all the files are in the root folder?

I hope this makes sense!

Any help will be appreciated!

Volt :?:
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

I would suggest a separate _data.js file for each section, if I understand your layout correctly. You don't need to recall the entire menu code in each, just the correct _data, coded accordingly.
John
Post Reply