Problem with menu_data.js

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
jraper
Beginner
Beginner
Posts: 7
Joined: Tue Jul 23, 2002 7:21 pm

Problem with menu_data.js

Post by jraper »

I just downloaded version 5, but there seems to be something seriously amiss with menu_data.js. Each of the entries in "Samples" looks like it got corrupted. For example, the first three entires are:

aI("text=Horizontal Navigational Menu;url=/menusample1.php;izontal main menu');");

aI("text=Vertical Navigational Menu;url=/menusample2.php;ertical main menu');");

aI("text=All Horizontal Menus;url=/menusample25.php;ontal orientation');");

What is missing after the ";" following ".php" in each entry????
User avatar
rudy
Mega User
Mega User
Posts: 161
Joined: Thu Jan 15, 2004 11:39 pm
Location: Scottsdale, Arizona
Contact:

Problem with menu_data.js

Post by rudy »

Your code:

Code: Select all

aI("text=Horizontal Navigational Menu;url=/menusample1.php;izontal main menu');"); 
Try this instead:

aI("text=Horizontal Navigational Menu;url=/menusample1.php;izontal main menu;");

Also, if you would include a URL so we could see your complete menu code it would help a lot :D
Rudy
jraper
Beginner
Beginner
Posts: 7
Joined: Tue Jul 23, 2002 7:21 pm

Post by jraper »

Sorry - you mis-understood my question. The code I quoted did not come from me - it came from MILONIC !!!

This is the code that is in the "menu_data.js" file that is contained in the ZIP file that I downloaded from Milonic for Version 5 (downloaded today).

Said another way, it appears to me that the "menu_data.js" file in the Version 5 Milonic download ZIP is corrupted.
User avatar
rudy
Mega User
Mega User
Posts: 161
Joined: Thu Jan 15, 2004 11:39 pm
Location: Scottsdale, Arizona
Contact:

Problem with menu_data.js

Post by rudy »

jraper

Your right, some sections of the menu_data.js file are coded as you stated which I can only assume was unintentional.

I don't think your download was corrupted but the code was simple written wrong and not caught. Don't want to speak for Milonic here but I think the code should be written as follows: (which you probably already figured out yourself) :D

Code: Select all

aI("text=Horizontal Navigational Menu;url=/menusample1.php;izontal main menu;");
Last edited by rudy on Fri Mar 12, 2004 11:12 pm, edited 1 time in total.
Rudy
jraper
Beginner
Beginner
Posts: 7
Joined: Tue Jul 23, 2002 7:21 pm

Post by jraper »

Yes - I think the problem is that some text disappeared out of the middle of the script -- specifically to inject a tooltip. For example, it appears that the item SHOULD have read:

[code]aI("text=Horizontal Navigational Menu;url=/menusample1.php;onfunction=showtip('Horizontal Navigational Menu<br>The most common of menu samples. This<br>sample allows for vertical pulldown menus<br>to appear from a horizontal main menu');");[/code]

Looking at the "menu_data.js" now in this light, it appears that everything between sets of "br" tags disappeared.

Hope this helps anyone else puzzled by this.

MILONIC: can you fix this please? It might save some confusion.

Thanks - The new version is Great !!!! :P :P :P
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

While you are correct, and there is a problem with that section of the file (which Andy will get corrected), it should make no difference in setting up your site. The other menu items in the file appear to be OK, and you can use them as examples if you need.

If you need to actually see the samples, you can do that from the main site.

Thanks for the kind words :!:
John
Post Reply