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:38
Collapse menu broken Please help.
Poster: kevdog98
Dated: Wednesday March 28 2007 - 18:24:33 BST
I can not get my collapse menu to work. when I try to expand out a branch out on this page http://www.upc.org/global2.aspx?id=390, I can not get the branch that expands to work. It won't let me select any of the menu items under the Global menu.
Here is my collapse_data_mis2.js
Code:
_scrollAmount=5 // Used for Netscape 4 scrolling
_scrollDelay=10 // Used for Netscape 4 scrolling
_menuCloseDelay=0 // The delay for menus to remain visible on mouse off
_menuOpenDelay=0 // The delay for opening menus on mouse over
_subOffsetTop=0; // Sub menu offset Top position
_subOffsetLeft=0; // Sub menu offset Left position
AllMargin=0
treeOffset=0; // Used to set the offset of sub menus
singleMasterMenu=true // Informs the system to only have one menu open at a time
with(tstyle1=new mm_style()){
offbgcolor = "transparent";
onbgcolor = "#A45266";
offcolor="#FFFFFF";
oncolor="#FFFFFF";
pagecolor="#FFFFFF";
pageimage="arrow.gif";
imageposition="right";
bordercolor="black"
borderstyle="solid";
borderwidth=0;
fontsize="11px";
fontfamily="Trebuchet MS";
itemwidth=114;
itemheight=30;
keepalive=true;
rawcss="padding:2px 0px 2px 4px";
}
sub1Style=new copyOf(tstyle1)
sub1Style.offcolor = "transparent";
sub1Style.offbgcolor="#8EA2BB"
sub1Style.separatorcolor="#556E8C"
sub1Style.clickcolor="transparent"
sub2Style=new copyOf(tstyle1)
sub2Style.offcolor = "#000000";
sub2Style.offbgcolor="#D6DDE6"
sub2Style.separatorcolor="#8EA2BB"
tstyle1.onbgcolor = "#A45266";
tstyle1.offbgcolor = "transparent";
sub3Style=new copyOf(tstyle1)
sub3Style.fontsize="10px";
sub3Style.fontweight="bold";
sub3Style.itemwidth=114;
sub3Style.itemheight=15;
sub3Style.rawcss="padding:4px";
with(new menuname("Urban")){
style = sub3Style;
margin=AllMargin
position="absolute"
aI("text=Urban Ministries;url=urban.aspx?id=384;");
aI("text=Urban Partners;url=urban.aspx?id=386;");
aI("text=Classes/Resources/<br>Events;url=urban.aspx?id=388;");
}
with(new menuname("Global")){
style = sub3Style;
margin=AllMargin
position="absolute"
aI("text=Missionaries/<BR>Partners;url=global2.aspx?id=392;");
aI("text=Task Forces & Prayer Groups;url=global2.aspx?id=394;");
aI("text=Short-term Missions;url=global2.aspx?id=396;");
aI("text=Classes/Resources/<br>Events;url=global2.aspx?id=388;"); ;
}
drawMenus()
Thanks,
Kevin