"menu_data.js" links on CD-ROM

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
LarryZoom
Advanced
Advanced
Posts: 14
Joined: Thu Sep 29, 2005 12:42 am

"menu_data.js" links on CD-ROM

Post by LarryZoom »

So I moved the site to an autostart CD, and I can't get the links to work. I have to use absolute links because files in different folders use the same navigation.

Original link:
aI("text=XXX;url=http://www.domain.com/XXX.htm;")
LarryZoom
Advanced
Advanced
Posts: 14
Joined: Thu Sep 29, 2005 12:42 am

Post by LarryZoom »

Ok, so the forum won't let me include any of my code; even if I surround it with the code tags. How should that line of code read to link to the root of the CD. I have tried url = "/", "~/", and "\". I even tried what was suggested in the FAQ for just this but to no avail.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

Well, this is not something I do, but there is this post. Not sure if it's what you need either.

viewtopic. ... 6943#36943

Ruth
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

try removing the protocol and domain name something like this:

aI("text=XXX;url=XXX.htm;")

HTH,
Andy
LarryZoom
Advanced
Advanced
Posts: 14
Joined: Thu Sep 29, 2005 12:42 am

Post by LarryZoom »

Then the links are relative which doesnt work for this project. There are files in different folders that use this nav which is why the links have to begin at root.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Exactly what problem are you having posting your code in the forum? Error message(s)?
John
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hello,

Did you read the information in the post from the link I provided? Did any of this apply to your situation, since that is information about your web on a CDROM and the menu?


Ruth
LarryZoom
Advanced
Advanced
Posts: 14
Joined: Thu Sep 29, 2005 12:42 am

Post by LarryZoom »

I did try it, and the menus wouldn't activate when i did that. This is also an autolaunch CD which means the files have to stay on the root level so I can't put them within a folder which is step one of that solution.
Post Reply