//Menu object creation oCtMenu=new makeCM("oCtMenu") //Making the menu object. Argument: menuname //Netscape 4 - bug fix - //maybe -stupid NS4 - objects are not handled correctly when //the object creator is in a linked file if(bw.ns4) if(!oCtMenu["makeMenu"] || !bw["ns4"]) self.location.reload() //Frame properties oCtMenu.frames = 1 //Menu properties oCtMenu.pxBetween=2 oCtMenu.fromLeft=140 oCtMenu.fromTop=40 oCtMenu.rows=1 oCtMenu.menuPlacement="left" oCtMenu.offlineRoot="" oCtMenu.onlineRoot="" oCtMenu.resizeCheck=1 // oCtMenu.pagecheck=1 //oCtMenu.checkscroll=1 oCtMenu.wait=350 oCtMenu.fillImg="/internet/az/menu/resources.nsf/res/1x1/$File/1x1.gif" oCtMenu.zIndex=1 //Background bar properties oCtMenu.useBar=0 oCtMenu.barWidth="100%" oCtMenu.barHeight="menu" oCtMenu.barClass="menu" oCtMenu.barX=0 oCtMenu.barY=0 oCtMenu.barBorderX=0 oCtMenu.barBorderY=0 oCtMenu.barBorderClass="" //Level properties - ALL properties have to be spesified in level 0 oCtMenu.level[0]=new cm_makeLevel() //Add this for each new level oCtMenu.level[0].width=92 oCtMenu.level[0].height=20 oCtMenu.level[0].regClass="cltLevel0" oCtMenu.level[0].overClass="cltLevel0over" oCtMenu.level[0].borderX=0 oCtMenu.level[0].borderY=0 oCtMenu.level[0].borderClass="cltLevel0border" oCtMenu.level[0].offsetX=-1 oCtMenu.level[0].offsetY=1 oCtMenu.level[0].rows=0 oCtMenu.level[0].arrow=0 oCtMenu.level[0].arrowWidth=0 oCtMenu.level[0].arrowHeight=0 oCtMenu.level[0].align="bottom" oCtMenu.level[0].roundBorder=0 //EXAMPLE SUB LEVEL[1] PROPERTIES - You have to specify the properties you want different from LEVEL[0] - If you want all items to look the same just remove this oCtMenu.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number) oCtMenu.level[1].width=oCtMenu.level[0].width-2 oCtMenu.level[1].width=175 oCtMenu.level[1].height=20 oCtMenu.level[1].regClass="clLevel1" oCtMenu.level[1].overClass="clLevel1over" oCtMenu.level[1].borderX=1 oCtMenu.level[1].borderY=1 oCtMenu.level[1].align="right" oCtMenu.level[1].arrow="/internet/az/menu/resources.nsf/res/menupil/$file/menupil.gif" oCtMenu.level[1].arrowWidth=8 oCtMenu.level[1].arrowHeight=8 oCtMenu.level[1].offsetX=0 oCtMenu.level[1].offsetY=-1 oCtMenu.level[1].borderClass="clLevel1border" oCtMenu.makeMenu('skill1','','','','',1, 10,'')