Menu scripts and site structure

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
rybrns
Beginner
Beginner
Posts: 6
Joined: Wed Oct 17, 2007 12:20 am

Menu scripts and site structure

Post by rybrns »

I'm sure this has been answered before, but I haven't hit on the right combinations of search terms for an answer, so sorry for any repetition.

I have a large site that I want to try the menus on, and the files are divided into numerous directories, including ones for scripts, images, and html files in different subject areas (like education, support, classes, etc.) I tried the menu system with the menu files in the scripts directory, but it seems that I have to use absolute addressing (like http://mysite/mydirectory/myimage) in the menu data file to get the menus to work across all of the directories. This is very bandwidth intensive since it needs a DNS lookup for every image and link.

I assume that I could use root-relative addressing (/mydirectory/myimage), but then I couldn't test my pages on my local system and would need to upload every file to the remote server, where they would conflict with the "live" files on the site.

Any ideas would be appreciated.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: Menu scripts and site structure

Post by Ruth »

Hi,

I answered this in viewtopic.php?f=10&t=9350#p44233

I hadn't noticed this topic.

Ruth
Post Reply