Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

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:22

What is Path in of .JS files if .JS is in a subfolder


Poster: alanrshultz
Dated: Thursday December 8 2005 - 19:01:24 GMT

what would the correct paths (see bellow the *** ) if your index.html was in your root dir... but the .js files were in a sub folder called /scritps

*****************************************

<script type="text/javascript" src="milonic_src.js"></script>
<script type="text/javascript">
if(ns4)_d.write("<scr"+"ipt type=text/javascript src=mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt type=text/javascript src=mmenudom.js><\/scr"+"ipt>");
</script>
<script type="text/javascript" src="menu_data.js"></script>
<script type="text/javascript" src="dragdrop.js"></script


Poster: Ruth
Dated: Thursday December 8 2005 - 23:10:43 GMT

If the files are in the root directory it would be just the file name. If they are in a folder in the root directory it would be the folder name / file name, if they are in a folder in the folder in the root directory it would be the folder name / folder in the folder name / file name, and so on.

Ruth

Dir Path


Poster: alanrshultz
Dated: Thursday December 8 2005 - 23:31:10 GMT

Okay.. well what if the HTML is in located at wwwroot/thisfolder/index.html, and the .js files are in the wwwroot/js folder...

what should this say?

<script type="text/javascript" src="milonic_src.js"></script>
<script type="text/javascript">
if(ns4)_d.write("<scr"+"ipt type=text/javascript src=mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt type=text/javascript src=mmenudom.js><\/scr"+"ipt>");
</script>
<script type="text/javascript" src="menu_data.js"></script>
<script type="text/javascript" src="dragdrop.js"></script


Thank You


Poster: Ruth
Dated: Friday December 9 2005 - 5:23:56 GMT

If they are in a folder in the root directory it would be the folder name / file name, so given the name you have it would be js/milonic_src.js and the same for the other file in the js folder.


Ruth