Highliting tree again

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
janusz
Beginner
Beginner
Posts: 2
Joined: Tue Oct 19, 2004 3:57 pm

Highliting tree again

Post by janusz »

Hi, i have the same troubles with highliting of my main menu.

Pagematch works, but only when an url is inside the main menu. I want the submenu to be displayed onclick (openclick=true). So if i click on my main menu it opens not the submenu but the url ...
Thank you for help and sorry about my english ;)
Janusz
janusz
Beginner
Beginner
Posts: 2
Joined: Tue Oct 19, 2004 3:57 pm

Post by janusz »

Janusz again,
i think some source code may be helpfull:
first one global:

Code: Select all

with(menuStyle=new mm_style()){
openonclick=true;
onbgcolor="#ff6600";
oncolor="#ffffff";
offbgcolor="#990000";
offcolor="#ffffff";
pagecolor="#ffffcc";
pagebgcolor="#ff66aa";
headercolor="#000000";
headerbgcolor="ffffff";
bordercolor="#296488";
borderstyle="none";
next for main Menu :

Code: Select all

with(milonic=new menuname("Main Menu")){
style=menuStyle;
overfilter="Fade(duration=0.0);Alpha(opacity=100);Shadow(color='#ffffff', Direction=235, Strength=1)";
outfilter="randomdissolve(duration=0.0)";
offbgcolor="#999900";
offcolor="#ffffff";
menuwidth="800px";
itemheight="25px";
itemwidth="100px";
top=40;
left=0;
alwaysvisible=1;
orientation="horizontal";
pagecolor="#aaeecc";
pagebgcolor="#ccddaa";
aI("text=RegistrierungsManager;showmenu=RegistrierungsManager;url=index.php?action=registrierungsmanager&step=uebersicht;pagematch=index.php?action=registrierungsmanager;");
aI("text=ListenManager;showmenu=ListenManager;pagematch=index?action=listenmanager;");
}
borderwidth=0;
}
last one for Submenu:

Code: Select all

with(verticalStyle=new mm_style()){
padding=5;
onbgcolor="#ff6600";
oncolor="#ffffff";
offbgcolor="#990000";
offcolor="#ffffff";
bordercolor="#296488";
borderstyle="none";
fontsize="100%";
fontstyle="normal";
fontweight="bold";
fontfamily="Arial, Verdana, Tahoma";
separatorsize=1;
separatorcolor="#ffffff";
overfilter="Fade(duration=0.0);Alpha(opacity=100);Shadow(color='#ffffff', Direction=135, Strength=1)";
outfilter="randomdissolve(duration=0.0)";
}
If i click on main Menu "RegistrierungsManager" highlighting works great. But no more for "ListenManager" which uses an submenu:

Code: Select all

with(milonic=new menuname("ListenManager")){
style=verticalStyle;
itemwidth="110px";
keepalive="true";
aI("text=Datenimport;url=index.php?action=listenmanager&sub=datenimport&step=quelleauswaehlen;status=Datenimport;");
aI("text=Datenexport;url=index.php?action=listenmanager&sub=datenexport&step=userliste;status=Datenexport;");
aI("text=Profil Erstellung;url=index.php?action=listenmanager&sub=profilerstellung&step=uebersicht;status=Profil Erstellung;");}
i cannot post the URL, sorry. Thank you for help
Post Reply