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

openmenusbyurl and link in top menu


Poster: ac-michael
Dated: Monday September 29 2008 - 9:34:01 BST

Hallo

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

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

Re: openmenusbyurl and link in top menu


Poster: ac-michael
Dated: Thursday October 2 2008 - 15:06:16 BST

Please, Can evryone help me ?

Michael

Re: openmenusbyurl and link in top menu


Poster: Ruth
Dated: Thursday October 2 2008 - 20:27:42 BST

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://www.milonic.com/support/

Ruth