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

Problem displaying menu


Poster: darrennye
Dated: Friday September 19 2003 - 17:47:59 BST

Hi all,

I've read through so many posts regarding problems getting the menu system to display. And I've tried making many changes - but I still can't get it to work.

Here's my setup:

I'm working using a Windows 2000 workstation, using Dreamweaver, but the website is on a Windows 2000 Server on our network. The Server has three development websites. My site is on the Server drive E:\inetpub\drg-new - the menu system is in the subdirectory \menu (e:\inetpub\drg-new\menu).

IIS is set to have a web server on this home directory (drg-new), using port 82 to get to it. Typing in a URL \\server-1\inetpub\drg-new will get me to my test site.

InetPub is shared out, and I have \\server-1\InetPub mapped as my W: drive. So my path to the above folders/site is: W:\drg-new

The site has not been uploaded to any external web servers.

If I go to the \\server-1\inetpub\drg-new\menu\menu.htm sample page, the menu displays fine, seemingly regardless of how I set the scriptpath.

However, pages that I've created at \\server-1\inetpub\drg-new\profile\index.htm, with the menu scripts imbedded before the body, will not get the menu to display. I've tried:

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

As well as:

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

And some other settings... and I've tried changing the scriptpath in menu\milonic_src.js to several different paths, but I just can't get the menu to display.

Please help!


Poster: DMLCo
Dated: Friday September 19 2003 - 19:23:02 BST

If you download the current version of the menu, the scriptpath parameter has been removed.

At that point, you'll just have to wrestle with the src= path.

-Daniel

Re: Problem displaying menu


Poster: John
Dated: Saturday September 20 2003 - 1:09:57 BST

darrennye wrote:
<SCRIPT language=JavaScript src="/menu/milonic_src.js" type="text/javascript"></SCRIPT>
<SCRIPT language=JavaScript src="/menu/menu_data.js" type="text/javascript"></SCRIPT>

As well as:

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

Haven't looked at your code, but these are both wrong right off the bat. You didn't read the notes included in the milonic_src.js file! They state the path must start and end with a / . Neither of the above has both a leading and ending / . scriptpath is (was) a path to a directory, not to a file.

However, Daniel is correct. Get the latest version (RC11, 9/17/03 as of this message) where scriptpath is no longer used.

However (again) - READ THE INCLUDED DOCS :!: Things are now different.