Collapse menu broken Please help.

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
kevdog98
Super Advanced
Super Advanced
Posts: 36
Joined: Tue Sep 12, 2006 3:27 pm

Collapse menu broken Please help.

Post by kevdog98 »

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: Select all



_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
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

First try updating your menu files, openmenusbyurl, and treemenu to the newest. DON'T overwrite your existing files without saving them someplace where you can go back to them if need be. See if that solves the problem.

Ruth
Post Reply