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:15
Another Problem Showing Menu
Poster: mickbw
Dated: Friday August 29 2003 - 20:52:14 BST
Hi,
I followed the directions in http://www.milonic.com/menufaq.php#l29 to the best of my knowledge and can see my menu when I view it locally but not on the web site. The miscreant page is http://www.state.nh.us/treasury/indextest.html.
I am using Dreamweaver MX and have upgraded this script from v3.
Thanks,
Michael
Poster: Maz
Dated: Friday August 29 2003 - 22:31:27 BST
You may have to post the menu data, first:
Do you have the file paths? A few are missing the filepath in milonic_src.js
//scriptpath="http://***.my.com/munu/";
Remove the // to make active.
Regards
maz
Menu not displaying
Poster: mickbw
Dated: Friday August 29 2003 - 22:48:17 BST
Thanks for the reply,
I had a copy of the milonic_src.js file in the same directory as the indextest.html to see if it made any difference in loading and forgot it there when it made no difference.
Code:
<SCRIPT language=JavaScript src="SideMenu5/milonic_src.js" type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript src="SideMenu5/sidemenu_array5.js"
<SCRIPT language=JavaScript src="SideMenu5/sidemenu_array5.js"
I should be looking for the js file in the SideMenu5 directory if I did it correctly where I have the line:
Code:
scriptpath="/SideMenu5/";
I imagine it is a pathing issue which I always have trouble with. I appreciate your assistance.
Sincerely,
Michael
Poster: Ruth
Dated: Saturday August 30 2003 - 4:42:25 BST
Actually, isn't the full path something like http://us something/treasury/SideMenu5 ? if that's the case, doesn't the scriptpath have to have more than the /SideMenu5/ wouldn't it need the /treasury/SideMenu5/ I don't know Just a thought.
Ruth
Poster: Hergio
Dated: Sunday August 31 2003 - 18:54:23 BST
Quote:
scriptpath="/SideMenu5/";
THis is almost right, like ruth said, you need treasury in there too...the / in front of sidemenu5 says start at the root of the web directory so you need the treasury inbetween there. You are linking to the source code correctly in your page, but be forewarned, you are doing it using relative links...if you copy that link to the code into another page in another directory, it may not work. You may want to try doing it like this.
<SCRIPT src="/treasury/Sidemenu5/Milonic_src.js"></SCRIPT>
Becuse this will work ANYWHERE in your site because it will always look starting from the root all the way to the sidemenu5 directory.