//Menu object creation oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname //Menu properties oCMenu.pxBetween=0 //Using the cm_page object to place the menu ---- //There are some differences between the browsers that I try to fix here. //oCMenu.fromLeft=!bw.ns4?cmpage.x2 - 160:cmpage.x2 - 176 //We also need to "replace" the menu on resize. So: //oCMenu.onresize="oCMenu.fromLeft=cmpage.x2 - 160" oCMenu.fromLeft=13 oCMenu.fromTop=200 oCMenu.rows=0 oCMenu.menuPlacement=0 oCMenu.offlineRoot="" oCMenu.onlineRoot="" oCMenu.resizeCheck=0 oCMenu.wait=1000 oCMenu.fillImg="" oCMenu.zIndex=0 //Background bar properties oCMenu.useBar=0 oCMenu.barWidth="menu" oCMenu.barHeight="menu" oCMenu.barClass="clBar" oCMenu.barX="menu" oCMenu.barY="menu" oCMenu.barBorderX=0 oCMenu.barBorderY=0 oCMenu.barBorderClass="" //Level properties - ALL properties have to be spesified in level 0 oCMenu.level[0]=new cm_makeLevel() //Add this for each new level oCMenu.level[0].width=244 oCMenu.level[0].height=21 oCMenu.level[0].regClass="clLevel0" oCMenu.level[0].overClass="clLevel0over" oCMenu.level[0].borderX=0 oCMenu.level[0].borderY=0 oCMenu.level[0].borderClass="clLevel0border" oCMenu.level[0].offsetX=1 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="right" //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 oCMenu.level[1]=new cm_makeLevel() //Add this for each new level (adding one to the number) oCMenu.level[1].width=170 oCMenu.level[1].height=21 oCMenu.level[1].regClass="clLevel1" oCMenu.level[1].overClass="clLevel1over" oCMenu.level[1].borderX=1 oCMenu.level[1].borderY=1 oCMenu.level[1].align="right" oCMenu.level[1].offsetX=0 oCMenu.level[1].offsetY=0 oCMenu.level[1].borderClass="clLevel1border" //EXAMPLE SUB LEVEL[2] PROPERTIES - You have to spesify the properties you want different from LEVEL[1] OR LEVEL[0] - If you want all items to look the same just remove this oCMenu.level[2]=new cm_makeLevel() //Add this for each new level (adding one to the number) oCMenu.level[2].width=170 oCMenu.level[2].height=21 oCMenu.level[2].offsetX=0 oCMenu.level[2].offsetY=0 oCMenu.level[2].regClass="clLevel1" oCMenu.level[2].overClass="clLevel1over" oCMenu.level[2].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('m6018','m5','Photo','http://www.fetish-images.co.uk/category/photo.html','','189','21','','','menubg','menubg2');oCMenu.makeMenu('mm6018','m5','','','','189','1','/images/e.gif','','','');oCMenu.makeMenu('m6046','m6018','Bondage','http://www.fetish-images.co.uk/category/6046.html','','170','21','','','','');oCMenu.makeMenu('m6031','m6018','Rubber','http://www.fetish-images.co.uk/category/rubber.html','','170','21','','','','');oCMenu.makeMenu('m6619','m6018','PVC','http://www.fetish-images.co.uk/category/pvc.html','','170','21','','','','');oCMenu.makeMenu('m6620','m6018','Uniforms / Military','http://www.fetish-images.co.uk/category/6620.html','','170','21','','','','');oCMenu.makeMenu('m6621','m6018','Stockings / Tights','http://www.fetish-images.co.uk/category/6621.html','','170','21','','','','');oCMenu.makeMenu('m6065','m6018','Bodies','http://www.fetish-images.co.uk/category/6065.html','','170','21','','','','');oCMenu.makeMenu('m6862','m6065','BBW','http://www.fetish-images.co.uk/category/bbw.html','','170','21','','','','');oCMenu.makeMenu('m6669','m6018','Pony Play','http://www.fetish-images.co.uk/category/pony-play.html','','170','21','','','','');oCMenu.makeMenu('m6020','m6018','Legs, Shoes & Feet','http://www.fetish-images.co.uk/category/6020.html','','170','21','','','','');oCMenu.makeMenu('m6029','m6018','Faces','http://www.fetish-images.co.uk/category/faces.html','','170','21','','','','');oCMenu.makeMenu('m6770','m6018','Hoods, Masks & Hats','http://www.fetish-images.co.uk/category/6770.html','','170','21','','','','');oCMenu.makeMenu('m6030','m6018','Equipment','http://www.fetish-images.co.uk/category/equipment.html','','170','21','','','','');oCMenu.makeMenu('m6021','m6018','Smoking','http://www.fetish-images.co.uk/category/smoking.html','','170','21','','','','');oCMenu.makeMenu('m7258','m6018','Pain','http://www.fetish-images.co.uk/category/pain.html','','170','21','','','','');oCMenu.makeMenu('m6063','m6018','Silhouettes','http://www.fetish-images.co.uk/category/silhouettes.html','','170','21','','','','');oCMenu.makeMenu('m6019','m6018','Dungeons','http://www.fetish-images.co.uk/category/dungeons.html','','170','21','','','','');oCMenu.makeMenu('m6156','m6018','Backgrounds & Buttons','http://www.fetish-images.co.uk/category/6156.html','','170','21','','','','');oCMenu.makeMenu('m6064','m6018','Miscellaneous','http://www.fetish-images.co.uk/category/6064.html','','170','21','','','','');oCMenu.makeMenu('m4377','m5','Vector','http://www.fetish-images.co.uk/category/vector.html','','189','21','','','menubg','menubg2');oCMenu.makeMenu('mm4377','m5','','','','189','1','/images/e.gif','','','');oCMenu.makeMenu('m7639','m4377','Bondage','http://www.fetish-images.co.uk/category/7639.html','','170','21','','','','');oCMenu.makeMenu('m7641','m4377','Bodies','http://www.fetish-images.co.uk/category/7641.html','','170','21','','','','');oCMenu.makeMenu('m7640','m4377','Miscellaneous','http://www.fetish-images.co.uk/category/7640.html','','170','21','','','',''); //Leave this line - it constructs the menu oCMenu.construct()