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

Location of Javascript menu files not working anymore


Poster: mivilleb
Dated: Wednesday May 21 2003 - 18:47:45 BST

Hi,

I tested version 4 of the menu. With the older versions I was able to specify the src of the js files using a url or relative directory location in the <SCRIPT> tag.

This used to work (in head or in body)

<SCRIPT language=JavaScript src="http://website/menu/milonic_src.js" type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript src="http://website/menu//table_data.js" type=text/javascript></SCRIPT>

or:

<SCRIPT language=JavaScript src="menu/milonic_src.js" type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript src="menu/table_data.js" type=text/javascript></SCRIPT>


With version 4, unless the html page calling the menu is in the same directory as the js files, the menu does not show up.

Any variable I need to change?

Thank you for any help,

Bernard


Poster: John
Dated: Thursday May 22 2003 - 16:37:18 BST

Take a look at milonic_src.js.


Poster: Andy
Dated: Thursday May 22 2003 - 22:45:37 BST

Yep, milonic_src.js contains a variable called scriptpath where you specify the location of the files, by default it's the current path.

This may change on the actual production release but I'm sure how yet.

Cheers
Andy