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

Problem with menu_data.js


Poster: jraper
Dated: Friday March 12 2004 - 18:45:59 GMT

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????

Problem with menu_data.js


Poster: rudy
Dated: Friday March 12 2004 - 21:04:19 GMT

Your code:

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


Poster: jraper
Dated: Friday March 12 2004 - 21:33:25 GMT

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.

Problem with menu_data.js


Poster: rudy
Dated: Friday March 12 2004 - 21:53:22 GMT

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:
aI("text=Horizontal Navigational Menu;url=/menusample1.php;izontal main menu;");


Poster: jraper
Dated: Friday March 12 2004 - 22:05:57 GMT

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


Poster: John
Dated: Saturday March 13 2004 - 0:48:47 GMT

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