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:09
Question - 2 menus - conflict???
Poster: werner
Dated: Sunday April 2 2006 - 14:28:24 BST
Hi!
Following problem: I want to integrate two menus of milonic on my website (normal menu + map menu) - but it doesn't work. I am really sure that it is only a stupid small mistake - but i am not able to find it! I would be really grateful if you could help me:
http://wernisen.we.funpic.de/start_anpassung.htm
(map menu is working - but not my main menu (it should be above the map! -> see also http://wernisen.we.funpic.de)
Data first menu: http://wernisen.we.funpic.de/menue/menu_data.js
Data second menu: http://wernisen.we.funpic.de/Worldmap/menu_data.js
Thx in advance,
kind regards,
Werner
Poster: Migru
Dated: Sunday April 2 2006 - 15:11:58 BST
Hi
a)
you are using two different MILONIC versions at once. 5.739 and 5.745. The main conflict is generated by this.
b)
as far as I know, only one basic set of (referenced) Milonic files is required for any numbers of menus running on your page. You are using two sets.
To have two menus the two menu_datafiles only with corresponding style definitions (or as it s in your case,one table based and the map menu) plus one set of referenced Milonic files is required. It is advisable too, to consider the second menu as part of the system, (In such a case I´m switching off //commenting out global settings in the second data file)
I didn´t make any tests, hope this helps.
Michael
Poster: werner
Dated: Sunday April 2 2006 - 15:42:37 BST
Hi!
Bin mir leider nicht ganz sicher was du meinst. Hab bereits probiert die ganze Geschichte mit einem Data-File zu lösen -> hat allerdings auch nicht zum Erfolg geführt. Die beiden anderen Files kann ich allerdings nicht zusammenfassen, oder? -> diese basieren ja auf einem komplett anderen Menü? Hoffe du kannst bei Gelegenheit nochmals antworten. Dankeschön im Voraus,
mfg,
Werner
Poster: Migru
Dated: Sunday April 2 2006 - 16:05:31 BST
Though the language of this forum is English, here the German version of my post above, as it could not be understood, it seems:
Die Milonic - Dateien braucht man nur einmal:
gleich hinter dem <body> tag sollten die referenzierten Milonic Dateien genannt werden: milonic.src, mmenudom und mmenuns4.
Danach steht in der Regel die menu_data.js Datei, die in dem Falle, dass es sich um ein spezielles Menü handelt, das in einer <td> Zelle plaziert ist, ja nur die "styles", die globalen Parameter und die Untermenüs enthält. Das Hauptmenü steht dann mit dem eigenen "drawMenus();" Befehl in der Tabellenzelle.
Dein zweites Menü ist ebenfalls komplett mit milonic,mmenudom und mmenuns4 versehen. Die beiden milonic.src Dateien (und die übrigen) entstammen darüber hinaus auch noch verschiedenen Versionen 349 bzw. 745. Es genügt wirklich nur einmal am Dateianfang im <head> bzw. hinter dem <body> die Milonic Dateien zu laden und nicht bei jedem Menü neu. Neue Menüs werden ausschließlich mit einem entsprechende menu_data.js definiert. Und da dieses ja wiederholt die global gesetzten Parameter aufweist, kann man die getrost mit // wegkommentieren.
Grüße - Michael
Poster: John
Dated: Monday April 3 2006 - 15:31:29 BST
Folks -
Please stay with English! That is the language of this Forum, and not using it makes it impossible for most other folks to learn anything from this Topic.
Poster: Migru
Dated: Monday April 3 2006 - 19:13:33 BST
HI John
it is correct, the language - and I made this exemption only once, is English, and in this case there is only one reply in German, which is a translated version of my previous one I had posted in English (which is not my mother tongue but you will certainly know - I try my best...) and as it seems that it was not possible for Werner to understand what I meant, when I explained how and where the Milonic files have to be placed in his html code.
When I accepted the rules of this forum, I agreed upon the use of the English Language - and this is the only criterion - in this regard- where I don´t have a problem to send my excuses to those who feel that I didn´t keep the conditions.
Quote:
and not using it makes it impossible for most other folks to learn anything from this Topic.
But - in this context this is not really applicable, as there was nothing additionally posted on professional aspects of the menu.
Quote:
Please stay with English!
I will, John -
Cheers
Michael
PS: Werner, if you don´t understand English, send me an email .......I will help......
Poster: John
Dated: Wednesday April 5 2006 - 15:08:58 BST
Migru wrote:
(which is not my mother tongue but you will certainly know - I try my best...)
And you do very well at it. Not to worry about your English. Not knowing what was in those notes, I just wanted to make sure it didn't continue that way.
Thanks.