openmenusbyurl and link in top menu

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
ac-michael
Beginner
Beginner
Posts: 2
Joined: Mon Sep 29, 2008 9:10 am

openmenusbyurl and link in top menu

Post by ac-michael »

Hallo

Sorry for my bad english.
I have this with "openmenusbyurl.js" :

Code: Select all

fixMozillaZIndex=true;
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=-3;
_subOffsetLeft=-1;

with(StyleHorizHauptMenu=new mm_style()){
fontfamily="Verdana, Arial";
fontsize="12";
fontstyle="normal";
fontweight="normal";
offcolor='#143392';
oncolor="#CC0004"; 
pagecolor="#43225D"; 
subimage="menu/pfeil-runter-grau.gif";
onsubimage="menu/pfeil-runter-rot.gif";
pageimage="menu/pfeil-aktive-seite.gif";
padding=4;
}

with(StyleHorizUnterMenu=new mm_style()){
offclass="horiz-unter-menu-off";
onclass="horiz-unter-menu-on";
offborder="1px solid transparent";
onborder="1px solid #999999";
pageborder='1px solid #999999';
fontfamily="Verdana, Arial";
fontsize="12"; 
fontstyle="normal";
fontweight="normal";
offcolor='#515165';
pagecolor="#1B1B81";
offbgcolor="#FFFFFF";
onbgcolor="#ECECF4";
pagebgcolor="#FFFFFF";
menubgimage="menu/unter-menu-hintergrund.gif";
subimage="menu/pfeil-rechts-grau.gif";
onsubimage="menu/pfeil-rechts-rot.gif";
pageimage="menu/pfeil-aktive-seite.gif";
separatorcolor="transparent";
separatorsize="4";
padding=4;
}

with(milonic=new menuname("Hauptmenü")){
style=StyleHorizHauptMenu;
screenposition="center";
alwaysvisible=1;
margin=1;
orientation="horizontal";

aI("offclass=horiz_haupt_menu_links_out;onclass=horiz_haupt_menu_links_over;pageclass=horiz_haupt_menu_links_aktiv;text=Home;url=index.htm;decoration=none;");
aI("offclass=horiz_haupt_menu_mitte_out;onclass=horiz_haupt_menu_mitte_over;pageclass=horiz_haupt_menu_mitte_aktiv;showmenu=1-Untermenu;text=1.Menü;decoration=none;");
aI("offclass=horiz_haupt_menu_mitte_out;onclass=horiz_haupt_menu_mitte_over;pageclass=horiz_haupt_menu_mitte_aktiv;showmenu=2-Untermenu;text=2.Menü;decoration=none;");
}

			with(milonic=new menuname("1-Untermenu")){
			style=StyleHorizUnterMenu;
			screenposition="center";
			margin=1;
			orientation="horizontal";
			aI("text=1Linktext;url=01.htm;decoration=none;");
			}

			with(milonic=new menuname("2-Untermenu")){
			style=StyleHorizUnterMenu;
			screenposition="center";
			margin=1;
			orientation="horizontal";
			aI("text=2Linktext;url=02.htm;decoration=none;");
			}

drawMenus();
To see here : http://www.acmediacom.de/TEST/01.htm
And in the html this :

Code: Select all

<html><head>
<title>01</title>
<link rel="StyleSheet" href="menu/menu_style.css" type="text/css">
</head>

<body onload="_ocURL">

<table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td style="padding-top:4px; border-width:1px; border-color:rgb(153,153,153); border-style:solid;" bgcolor="#F7F7FD" height="32">
<script type="text/javascript" src="menu/milonic_src.js"></script>	
<script type="text/javascript" src="menu/mmenudom.js"></script>
<script type="text/javascript" src="menu/menu_data.js"></script>
<script type="text/javascript" src="menu/openmenusbyurl.js"></script>
&nbsp;</td></tr></table>

</body></html>
But it works not so well. When the mouse is over "Home" the submenu closed !

Can evryone help me ?


Michael
ac-michael
Beginner
Beginner
Posts: 2
Joined: Mon Sep 29, 2008 9:10 am

Re: openmenusbyurl and link in top menu

Post by ac-michael »

Please, Can evryone help me ?

Michael
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Re: openmenusbyurl and link in top menu

Post by Ruth »

I'm sorry, I thought I replied. I have sent this to Milonic since I cannot figure out the problem. As soon as I get a response I'll post back.

You can try posting to them at this link, please read the directions on how to do this

http://milonic.com/support/

Ruth
Post Reply