Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:58
Vertical menu (sample2) place source in /menu
Poster: Cista
Dated: Thursday November 6 2003 - 14:04:08 GMT
Hello,
Here my folders structures:
Code:
/myWebsite
/images
/menu
/images
/menu
I'd like to put all the code for this great menu in /mywebsite/menu, the pages where the menu is called is in /mywebsite.
Possible ? If yes how ?
Thanks,
C.
Poster: John
Dated: Thursday November 6 2003 - 15:11:16 GMT
Yes, easy.
I am assuming here that myWebsite is actually a folder and not http://something, OK?
Place all 4 menu files in /menu/ and then adjust the calls as follows...
Code:
<SCRIPT language="JavaScript" src="/myWebsite/menu/milonic_src.js" type="text/javascript"></SCRIPT>
<script language="JavaScript">
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=/myWebsite/menu/mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=/myWebsite/menu/mmenudom.js><\/scr"+"ipt>");
</script>
<SCRIPT language="JavaScript" src="/myWebsite/menu/menu_data.js" type="text/javascript"></SCRIPT>
<script language="JavaScript">
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=/myWebsite/menu/mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=/myWebsite/menu/mmenudom.js><\/scr"+"ipt>");
</script>
<SCRIPT language="JavaScript" src="/myWebsite/menu/menu_data.js" type="text/javascript"></SCRIPT>
And thanks for the kind words