Question - 2 menus - conflict???

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
werner
Beginner
Beginner
Posts: 2
Joined: Sun Apr 02, 2006 2:22 pm

Question - 2 menus - conflict???

Post by werner »

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
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

Post by Migru »

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
werner
Beginner
Beginner
Posts: 2
Joined: Sun Apr 02, 2006 2:22 pm

Post by werner »

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
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

Post by Migru »

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
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

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.
John
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

Post by Migru »

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.
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.
Please stay with English!
I will, John -

Cheers
Michael

PS: Werner, if you don´t understand English, send me an email .......I will help......
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

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.
John
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

Post by Migru »

Hi John
I just wanted to make sure it didn't continue that way.
there was nothing to worry in this regard.......could send you a dictionary.

Cheers
Michael
Post Reply