Another Problem Showing Menu

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
mickbw
Beginner
Beginner
Posts: 2
Joined: Fri Aug 29, 2003 8:43 pm
Location: Concord, New Hampshire

Another Problem Showing Menu

Post by mickbw »

Hi,

I followed the directions in http://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
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

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
mickbw
Beginner
Beginner
Posts: 2
Joined: Fri Aug 29, 2003 8:43 pm
Location: Concord, New Hampshire

Menu not displaying

Post by mickbw »

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: Select all

<SCRIPT language=JavaScript src="SideMenu5/milonic_src.js" type=text/javascript></SCRIPT>
 <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: Select all

scriptpath="/SideMenu5/";
I imagine it is a pathing issue which I always have trouble with. I appreciate your assistance.

Sincerely,

Michael
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

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 :lol: Just a thought.

Ruth
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

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.
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
Post Reply