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

pageimage does not show up in 5.772


Poster: kevdog98
Dated: Tuesday April 10 2007 - 21:43:55 BST

Hi,

After upgrading to 5.772 my pageimage for my collapse menu disappers, if I go back to 5.762 it reappears, Can anyone tell me why?

Here is my .js file

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 = "#BD6F67";
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;
rawcss="padding:2px 0px 2px 4px";
keepalive=true;
}



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 = "#BD6F67";
tstyle1.offbgcolor = "transparent";


sub3Style=new copyOf(tstyle1)
sub3Style.fontsize="10px";
sub3Style.fontweight="bold";
sub3Style.itemwidth=114;
sub3Style.itemheight=15;
sub3Style.padding=4;


with(new menuname("main Tree Menu")){
top=190
style = tstyle1;
alwaysvisible = 1;
menuheight=30;
menuwidth=115;
margin=AllMargin
//position="relative"
aI("text=<b>About UPC</b>;url=aboutupc.aspx?id=42;");
aI("text=<b>Leadership</b>;url=aboutupc.aspx?id=56;");
aI("text=<b>Membership</b>;url=aboutupc.aspx?id=96;");
aI("text=<b>Baptism</b>;url=aboutupc.aspx?id=160;");
aI("text=<b>Employment</b>;showmenu=Job;type=tree;url=employment.aspx?id=122;");
aI("text=<b>Church History</b>;url=aboutupc.aspx?id=130;");
}


   with(new menuname("Adults")){
   style = sub3Style;
   margin=AllMargin
   position="absolute"
   aI("text=What's Happening;url=adults.aspx?id=320;");
   aI("text=Class Schedule;url=adults.aspx?id=80;");
   aI("text=Opportunities to Serve;url=adults.aspx?id=344;");
   aI("text=Finding Community;url=adults.aspx?id=346;");
   aI("text=Small Groups;url=adults.aspx?id=594;");
   aI("text=Caring Ministries;url=adults.aspx?id=404;");
   }


     with(new menuname("Job")){
   style = sub3Style;
   position="absolute"
   itemwidth=114;
   itemheight=30;
   margin=AllMargin
   aI("text=Job Listings;url=employment.aspx?id=124;");
   

   }

drawMenus()




Thanks.

Kevin


Poster: Ruth
Dated: Thursday April 12 2007 - 2:01:57 BST

Hi Kevin,

I'll report this to Milonic. I just found out it isn't working in .771 either.

Ruth


Poster: kevdog98
Dated: Thursday April 12 2007 - 16:34:52 BST

Thanks Ruth!