/*** This is the menu creation code - place it right after you body tag Feel free to add this to a stand-alone js file and link it to your page. **/ //Menu object creation oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname oCMenu.frames = 0 //Menu properties oCMenu.pxBetween=0 oCMenu.fromLeft=160 oCMenu.fromTop=70 oCMenu.rows=1 oCMenu.menuPlacement="left" oCMenu.offlineRoot="" oCMenu.onlineRoot="" oCMenu.resizeCheck=1 oCMenu.wait=1000 oCMenu.fillImg="cm_fill.gif" oCMenu.zIndex=0 //Background bar properties oCMenu.useBar=0 oCMenu.barWidth="100%" oCMenu.barHeight="menu" oCMenu.barClass="clBar" oCMenu.barX=0 oCMenu.barY=0 oCMenu.barBorderX=0 oCMenu.barBorderY=0 oCMenu.barBorderClass="clLevel0border" //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=100 oCMenu.level[0].height=15 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=0 oCMenu.level[0].offsetY=20 oCMenu.level[0].rows=0 oCMenu.level[0].arrow=0 oCMenu.level[0].arrowWidth=0 oCMenu.level[0].arrowHeight=0 oCMenu.level[0].align="middle" //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=oCMenu.level[0].width-2 oCMenu.level[1].height=18 oCMenu.level[1].regClass="clLevel1" oCMenu.level[1].overClass="clLevel1over" oCMenu.level[1].borderX=1 oCMenu.level[1].borderY=1 oCMenu.level[1].align="left" oCMenu.level[1].offsetX=199 oCMenu.level[1].offsetY=0 oCMenu.level[1].borderClass="clLevel1border" oCMenu.level[0].arrow=0 oCMenu.level[0].arrowWidth=0 oCMenu.level[0].arrowHeight=0 /****************************************** 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('top1','','','En_Product.asp?EnBigClassName=1','','72','22','images/global/nav/workingwear.gif') oCMenu.makeMenu('sub11','top1','FABRIC','En_Product.asp?EnBigClassName=6') oCMenu.makeMenu('sub111','sub11','COTTON','En_Product.asp?EnBigClassName=7') oCMenu.makeMenu('sub1111','sub111','SHEETING','En_Product.asp?EnBigClassName=8') oCMenu.makeMenu('sub1112','sub111','CANVAS','En_Product.asp?EnBigClassName=9') oCMenu.makeMenu('sub1113','sub111','TWILL','En_Product.asp?EnBigClassName=10') oCMenu.makeMenu('sub112','sub11','T/C','En_Product.asp?EnBigClassName=2') oCMenu.makeMenu('sub1121','sub112','POPLIN','En_Product.asp?EnBigClassName=11') oCMenu.makeMenu('sub1122','sub112','CANVAS','En_Product.asp?EnBigClassName=12') oCMenu.makeMenu('sub1123','sub112','TWILL','En_Product.asp?EnBigClassName=13') oCMenu.makeMenu('top2','','','En_Product.asp?EnBigClassName=14','','72','22','images/global/nav/LEISUREwear.gif') oCMenu.makeMenu('sub21','top2','FABRIC','En_Product.asp?EnBigClassName=15') oCMenu.makeMenu('sub211','sub21','COTTON','En_Product.asp?EnBigClassName=16') oCMenu.makeMenu('sub2111','sub211','POPLIN','En_Product.asp?EnBigClassName=17') oCMenu.makeMenu('sub2112','sub211','TWILL','En_Product.asp?EnBigClassName=18') oCMenu.makeMenu('sub2113','sub211','VOILE','En_Product.asp?EnBigClassName=19') oCMenu.makeMenu('sub2114','sub211','DENIM','En_Product.asp?EnBigClassName=20') oCMenu.makeMenu('sub2115','sub211','CORDUROY','En_Product.asp?EnBigClassName=3') oCMenu.makeMenu('sub212','sub21','N/C','En_Product.asp?EnBigClassName=21') oCMenu.makeMenu('sub2121','sub212','POPLIN','En_Product.asp?EnBigClassName=22') oCMenu.makeMenu('sub2122','sub212','TWILL','En_Product.asp?EnBigClassName=23') oCMenu.makeMenu('sub213','sub21','POLYESTER','En_Product.asp?EnBigClassName=24') oCMenu.makeMenu('sub2131','sub213','TAFFERTA','En_Product.asp?EnBigClassName=25') oCMenu.makeMenu('sub2132','sub213','MICRO FIBER','En_Product.asp?EnBigClassName=26') oCMenu.makeMenu('sub2133','sub213','MINIMAT','En_Product.asp?EnBigClassName=27') oCMenu.makeMenu('sub2134','sub213','OTTAMENT','En_Product.asp?EnBigClassName=4') oCMenu.makeMenu('sub2135','sub213','SATIN','En_Product.asp?EnBigClassName=28') oCMenu.makeMenu('sub214','sub21','T/R','En_Product.asp?EnBigClassName=29') oCMenu.makeMenu('sub2141','sub214','BENGALINE','En_Product.asp?EnBigClassName=30') oCMenu.makeMenu('sub2142','sub214','STRIPE SPAN','En_Product.asp?EnBigClassName=31') oCMenu.makeMenu('sub2143','sub214','TENCEL LIKE','En_Product.asp?EnBigClassName=5') oCMenu.makeMenu('top3','','','En_Product.asp?EnBigClassName=32','','72','22','images/global/nav/fashionwear.gif') oCMenu.makeMenu('sub31','top3','FABRIC','En_Product.asp?EnBigClassName=33') oCMenu.makeMenu('sub311','sub31','COTTON','En_Product.asp?EnBigClassName=34') oCMenu.makeMenu('sub3111','sub311','POPLIN SPANDEX','En_Product.asp?EnBigClassName=35') oCMenu.makeMenu('sub3112','sub311','TWILL SPANDEX','En_Product.asp?EnBigClassName=36') oCMenu.makeMenu('sub3113','sub311','SATIN SPANDEX','En_Product.asp?EnBigClassName=37') oCMenu.makeMenu('sub312','sub31','POLYESTER','En_Product.asp?EnBigClassName=38') oCMenu.makeMenu('sub3121','sub312','BOTH WAY SPANDEX','En_Product.asp?EnBigClassName=39','','','28') oCMenu.makeMenu('sub3122','sub312','MICRO FEEL SPANDEX','En_Product.asp?EnBigClassName=40','','','28') oCMenu.makeMenu('sub3123','sub312','TITANIC','En_Product.asp?EnBigClassName=41') oCMenu.makeMenu('sub3124','sub312','POLYESTER VELVET SPANDEX','En_Product.asp?EnBigClassName=42','','','28') oCMenu.makeMenu('sub313','sub31','BONDED','En_Product.asp?EnBigClassName=43') oCMenu.makeMenu('sub3131','sub313','SUEDE/KNIT COMBINE','En_Product.asp?EnBigClassName=44','','','28') oCMenu.makeMenu('sub3132','sub313','SUEDE/LEATHER COMBINE','En_Product.asp?EnBigClassName=45','','','28') oCMenu.makeMenu('sub314','sub31','LINEN','En_Product.asp?EnBigClassName=46') oCMenu.makeMenu('sub3141','sub314','PURE','En_Product.asp?EnBigClassName=47') oCMenu.makeMenu('sub3142','sub314','LINEN/COTTON','En_Product.asp?EnBigClassName=48') oCMenu.makeMenu('sub3143','sub314','LINEN/RAYON','En_Product.asp?EnBigClassName=49') oCMenu.makeMenu('sub3144','sub314','LINEN/POLYESTER','En_Product.asp?EnBigClassName=50') oCMenu.makeMenu('sub315','sub31','Ramie Embordiary','En_Product.asp?EnBigClassName=51','','','28') oCMenu.makeMenu('top4','','','En_Product.asp?EnBigClassName=52','','72','22','images/global/nav/CHILDREN.gif') oCMenu.makeMenu('sub41','top4','FABRIC','En_Product.asp?EnBigClassName=53') oCMenu.makeMenu('sub411','sub41','NYLON TASLON','En_Product.asp?EnBigClassName=54') oCMenu.makeMenu('sub412','sub41','NYLON/COTTON HERRIBONE','En_Product.asp?EnBigClassName=55','','','28') oCMenu.makeMenu('sub413','sub41','COTTON HI-DENSITY POPLIN','En_Product.asp?EnBigClassName=56','','','28') oCMenu.makeMenu('top5','','','En_Product.asp?EnBigClassName=57','','72','22','images/global/nav/bedding.gif') oCMenu.makeMenu('sub51','top5','BED SHEET','En_Product.asp?EnBigClassName=58') oCMenu.makeMenu('sub511','sub51','COTTON','En_Product.asp?EnBigClassName=59') oCMenu.makeMenu('sub512','sub51','Cotton/Polyester(CVC)','En_Product.asp?EnBigClassName=60','','','28') oCMenu.makeMenu('sub513','sub51','Viscose Linen','En_Product.asp?EnBigClassName=61') oCMenu.makeMenu('sub52','top5','BLANKET','En_Product.asp?EnBigClassName=62') oCMenu.makeMenu('sub521','sub52','Acrylic Blanket','En_Product.asp?EnBigClassName=63') oCMenu.makeMenu('sub522','sub52','Wool/Polyester Blanket','En_Product.asp?EnBigClassName=64','','','28') oCMenu.makeMenu('sub523','sub52','Cotton Blanket','En_Product.asp?EnBigClassName=65') oCMenu.makeMenu('top6','','','En_Product.asp?EnBigClassName=66','','72','22','images/global/nav/curtain.gif') oCMenu.makeMenu('sub61','top6','POLYESTER CHENILLE','En_Product.asp?EnBigClassName=67','','','28') oCMenu.makeMenu('sub62','top6','POLYESTER CHIFFON','En_Product.asp?EnBigClassName=68','','','28') oCMenu.makeMenu('sub63','top6','T/R JAQUARD','En_Product.asp?EnBigClassName=69') oCMenu.makeMenu('sub64','top6','COTTON PRINT','En_Product.asp?EnBigClassName=70') //Leave this line - it constructs the menu oCMenu.construct()