//Menu object creation oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname oCMenu.frames=0 //Menu properties oCMenu.pxBetween=2 oCMenu.fromLeft=0 oCMenu.fromTop=0 oCMenu.rows=1 oCMenu.menuPlacement="center" oCMenu.offlineRoot="" oCMenu.onlineRoot="" oCMenu.resizeCheck=0 oCMenu.wait=0 oCMenu.zIndex=0 //Background bar properties oCMenu.useBar=1 oCMenu.barWidth="100%" oCMenu.barHeight="menu" oCMenu.barClass="clBar" oCMenu.barX=0 oCMenu.barY=0 oCMenu.barBorderX=0 oCMenu.barBorderY=0 oCMenu.barBorderClass="" //Level properties - ALL properties have to be specified in level 0 oCMenu.level[0]=new cm_makeLevel() //Add this for each new level oCMenu.level[0].width=94 oCMenu.level[0].height=20 oCMenu.level[0].borderX=0 oCMenu.level[0].borderY=0 oCMenu.level[0].offsetX=0 oCMenu.level[0].offsetY=0 oCMenu.level[0].rows=0 oCMenu.level[0].arrow=0 oCMenu.level[0].arrowWidth=0 oCMenu.level[0].arrowHeight=0 oCMenu.level[0].align="bottom" oCMenu.level[0].regClass="clLevel0" oCMenu.level[0].overClass="clLevel0over" oCMenu.level[0].borderClass="clLevel0border" oCMenu.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number) oCMenu.level[1].width=94 oCMenu.level[1].height=20 oCMenu.level[1].offsetX=0 oCMenu.level[1].offsetY=0 oCMenu.level[1].align="right" oCMenu.level[1].regClass="clLevel1" oCMenu.level[1].overClass="clLevel1over" oCMenu.level[1].borderClass="clLevel1border" /****************************************** Menu item creation: myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) *************************************/ oCMenu.makeMenu('top0','',' Home','index.html') oCMenu.makeMenu('top1','',' Type design','fonts.html') oCMenu.makeMenu('sub10','top1',' Springsteel','springsteel.html') oCMenu.makeMenu('sub11','top1',' Tertre','tertre.html') oCMenu.makeMenu('sub12','top1',' Mentone','mentone.html') oCMenu.makeMenu('sub13','top1',' Bentwood','bentwood.html') oCMenu.makeMenu('sub14','top1',' Tenby','tenby.html') oCMenu.makeMenu('sub15','top1',' Galette','galette.html') oCMenu.makeMenu('sub16','top1',' Circula','circula.html') oCMenu.makeMenu('sub17','top1',' Paragraph','paragraph.html') oCMenu.makeMenu('sub18','top1',' ParaCaps','paracaps.html') oCMenu.makeMenu('sub19','top1',' Diagond','diagond.html') oCMenu.makeMenu('top2','',' Layout','layout.html') oCMenu.makeMenu('sub20','top2',' Publications','publications.html') oCMenu.makeMenu('sub21','top2',' Promotional','promotional.html') oCMenu.makeMenu('top3','',' Cover design','covers.html') oCMenu.makeMenu('sub30','top3',' Stock photo','stockphoto.html') oCMenu.makeMenu('sub31','top3',' Painting','photoshop.html') oCMenu.makeMenu('sub32','top3',' Retouching','retouch.html') oCMenu.makeMenu('sub33','top3',' Typography','typo.html') oCMenu.makeMenu('sub34','top3',' Photography','photo.html') oCMenu.makeMenu('sub35','top3',' Other sources','other.html') oCMenu.makeMenu('sub36','top3',' Journals','journals.html') oCMenu.makeMenu('top4','',' Illustration', 'illustration.html') oCMenu.makeMenu('sub40','top4',' Scientific 1','scienceill.html') oCMenu.makeMenu('sub41','top4',' Scientific 2','scienceill2.html') oCMenu.makeMenu('sub42','top4',' Animation','anim.html') oCMenu.makeMenu('top5','',' Corporate ID','corporate.html') oCMenu.makeMenu('sub50','top5',' More ID','moreid.html') oCMenu.makeMenu('top6','',' About|Contact','about.html') oCMenu.makeMenu('top7','',' Query form','query.html') //Leave this line - it constructs the menu oCMenu.construct()