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

Menu conversion failed

Poster: cmer
Dated: Thursday August 5 2004 - 17:03:16 BST

For an unknown reason, the menu conversion from 3.0 to 5.0 failed. No error is reported by the converter but the menus simply don't work.

Also, is there a way to have the menu appear just below a text link? I'd rather not use absolute positionning because of the way different browsers render stuff.


PS: Here's my 3.0 menu...

---------------- CUT HERE ---------------

menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}

function WindowWidth() { if (document.body && document.body.clientWidth) { window.innerWidth = document.body.clientWidth; } return window.innerWidth; }
function GetOffset() { if ((WindowWidth() - 760) / 2 > 0) { return (WindowWidth() - 760) / 2; } else { return 0; }}

if(navigator.appVersion.indexOf("MSIE 6.0")>0)
effect = "Fade(duration=0);Alpha(style=0,opacity=100);Shadow(color='#777777', Direction=135, Strength=3)"
effect = "Shadow(color='#777777', Direction=135, Strength=3)" // Stop IE5.5 bug when using more than one filter


style1=["ffffff","336699","FFB010","003366","003366",12,"normal","normal","Arial,Verdana, Helvetica",3,"",0,"66ffff","000099","","","","","",]

,"Présentation du camp","/r-fr/infos/",,"Présentation du camp",0 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Un camp tout étoile","/r-fr/infos/4etoiles.asp",,"Un camp toute étoile",0
,"La Guimauve d\'Or","/r-fr/infos/guimauvedor.asp",,"La Guimauve d\\'Or",0
,"Coup de coeur","/r-fr/infos/coupdecoeur.asp",,"Coup de coeur",0
,"Concours Le Fer D\'Or","/r-fr/infos/ferdor.asp",,"Concours Le Fer D\\'Or",0
,"Visite guidée","/r-fr/visite/",,"Visite guidée",0
,"Témoignage d\'une Ranchéra","/r-fr/infos/temoignage.asp",,"Témoignage d\\'une Ranchéra",0
,"Indications routières","/r-fr/infos/route.asp",,"Indications routières",0

,"Camp de séjour","/r-fr/services/sejour/",,"Camp de séjour",0
,"Camp de jour","/r-fr/services/jour/",,"Camp de jour",0
,"Accueil de groupes","/r-fr/services/groupes/",,"Accueil de groupes",0
,"École d\'équitation","/r-fr/services/ecole/",,"École d\\'équitation",0
,"Fin de semaine - Action de Grâces 2004","/r-fr/services/fds/actiondegrace.asp",,"Fin de semaine - Action de Grâces 2004",0
//,"Fin de semaine - Camp des Fleurs 2004","/r-fr/services/fds/camp-des-fleurs.asp",,"Fin de semaine - Camp des Fleurs 2004",0

,"Équitation (notre spécialité!)","/r-fr/activites/equitation/",,"Équitation",0
,"Activités au sol","/r-fr/activites/basketball/",,"Activités au sol",0
,"Activités nautiques","/r-fr/activites/canot/",,"Activités nautiques",0
,"Activités dans les airs","/r-fr/activites/escalade/",,"Activités dans les airs",0

,"Camp de séjour 2004","/r-fr/inscription/sejour2004/",,"Camp de séjour 2004",0
,"Camp de jour 2004","/r-fr/inscription/jour2004/",,"Camp de jour 2004",0
//,"Camp de séjour 2004 (bientôt)","",,"Camp de séjour 2004 (bientôt)",0
//,"Camp de jour 2004 (bientôt)","",,"Camp de jour 2004 (bientôt)",0
//,"Camp des Fleurs 2004","/r-fr/services/fds/camp-des-fleurs.asp",,"Camp des fleurs 2004",0
,"Action de Grâces 2004","/r-fr/services/fds/actiondegrace.asp",,"Action de Grâces 2004",0


,"Visite guidée","/r-fr/visite/",,"Visite guidée",0
,"Liste d\'envoi","/r-fr/mailinglist/",,"Liste d\\'envoi",0
,"Babillard d'emplois","/r-fr/emplois/",,"Babillard d\\'emplois",0

,"Foire aux questions","/r-fr/faq/",,"Foire aux questions",0
,"Comment nous contacter?","/r-fr/infos/contact.asp",,"Comment nous contacter?",0


Poster: John
Dated: Thursday August 5 2004 - 18:36:38 BST

URL? There's more than just this we need to look at.

What error are you getting when trying to run the page with the menus?

OS? Browser?

Also, always post code using the [code][/code] tags. Much can get lost when not doing so.

Poster: cmer
Dated: Thursday August 5 2004 - 19:56:15 BST (old v3 menu).

Once converted, I don't see any menu in the browser, and no error is given.

Sorry about the code tag... I didn't know.


Poster: Ruth
Dated: Thursday August 5 2004 - 20:02:29 BST

What we need, if possible is for you to put up a test page with the converted menu on it so we can see what's happening. The old menu is working so, we need to see why the new one isn't. Is it possible that the paths to the 3 program files [milonic_src.js, mmenudom.js and menuns4.js] is incorrect?


Poster: cmer
Dated: Saturday August 7 2004 - 21:38:32 BST

Here it is:

Poster: Ruth
Dated: Sunday August 8 2004 - 2:53:08 BST

None will show since you haven't told any of them to be alwaysvisible=1; Also, if you leave the offsets and positions as they are the menus will overlap.


Poster: cmer
Dated: Sunday August 8 2004 - 5:19:00 BST


Where do I change that?

Poster: cmer
Dated: Sunday August 8 2004 - 5:46:00 BST

I did find where to change it, but now the opened menu is always there. I need a dropdown menu... please help.


Poster: Maz
Dated: Sunday August 8 2004 - 8:08:43 BST


You want alwaysvisible on the main menu, then the drop down submenu's shouldn't have it, because they will only be seen when they are moused over.

Was there something else?


Poster: Ruth
Dated: Sunday August 8 2004 - 19:42:07 BST

I suggest you might take a look at the read me files that came with the menu that you downloaded, and the beginners' section here on the forum which gives an explanation of the menu, how to do styles, how to do forms. What you have right now is a menu data file that implies that all the menus in it are main menus because you have screenposition and top and left positions set for all of them. Since you converted the files one of those has to be the main menu, that's the one you set to alwaysvisible, and set it's position on the page, then get rid of the screen positions and top, left positions in the other menus.