My question is about the path structure in the menu scripts. Currently the script I'm inserting into the header of each html file looks like this:
Code: Select all
<SCRIPT language=JavaScript src="/menu/milonic_src.js" type=text/javascript></SCRIPT>
<script language=JavaScript>
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=/menu/mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=/menu/mmenudom.js><\/scr"+"ipt>"); </script>
<SCRIPT language=JavaScript src="/menu/menu_data.js" type=text/javascript></SCRIPT>
Related question. If I uploaded the site to a subdirectory on my current site for testing (so the base path would be something like http://www.whitesharkphoto.com/testsite/ ), would that path syntax look out to the main root? I think it would. I guess an option would be to upload it to the /testsite folder and just adjust all the links temporarily, then do a global find-replace on them all.
...or is there an easier way that I'm not seeing? Ideally I'd like to see it locally so that I can edit quickly, but I can't see a way to do it easily and keep the paths working.
Cheers,
John