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!
Problem displaying menu
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
At that point, you'll just have to wrestle with the src= path.
-Daniel
DMLCo
Solving the Challenges Where People & Technology Meet
Featuring DMLContent Content Management System
http://www.dmlco.com/
Solving the Challenges Where People & Technology Meet
Featuring DMLContent Content Management System
http://www.dmlco.com/
Re: Problem displaying menu
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.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>
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

John