//index -- tutaj jestes /*** 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 //Menu properties oCMenu.pxBetween=0 oCMenu.fromLeft=701 oCMenu.fromTop=344 oCMenu.rows=0 //oCMenu.menuPlacement="right" //oCMenu.menuPlacement=0 if (bw.moz) { oCMenu.menuPlacement=1 // oCMenu.fromLeft=iw-14 } else { oCMenu.menuPlacement="left" oCMenu.fromLeft=701 } oCMenu.offlineRoot="" oCMenu.onlineRoot="" oCMenu.resizeCheck=0 oCMenu.wait=300 oCMenu.fillImg="img/spacer.gif" oCMenu.zIndex=0 //Background bar properties oCMenu.useBar=0 //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=300 oCMenu.level[0].height=21 oCMenu.level[0].regClass="clLevel0" oCMenu.level[0].overClass="clLevel0" oCMenu.level[0].borderX=0 oCMenu.level[0].borderY=0 oCMenu.level[0].borderClass=0 //*******************************odleglosc rozwijanego menu od podstawowego oCMenu.level[0].offsetX=+15 oCMenu.level[0].offsetY=0 oCMenu.level[0].rows=0 //**********************************polozenie rozwijanego menu oCMenu.level[0].align="left" oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.5)" //menu trzeciego poziomu //EXAMPLE SUB LEVEL[1] PROPERTIES - You have to spesify 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=175 oCMenu.level[1].height=21 oCMenu.level[1].regClass="clLevel1" oCMenu.level[1].overClass="clLevel1over" oCMenu.level[1].style="" oCMenu.level[1].align="left" oCMenu.level[1].offsetX=1 oCMenu.level[1].offsetY=0 //oCMenu.level[1].borderClass="clLevel1border" //oCMenu.level[1].borderX=0 //oCMenu.level[1].borderY=0 //oCMenu.level[1].roundBorder=0 oCMenu.level[1].rows=0 oCMenu.level[1].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.5)" oCMenu.level[1].arrow="images/arrow.gif" oCMenu.level[1].arrowWidth=16 oCMenu.level[1].arrowHeight=8 oCMenu.level[2]=new cm_makeLevel() //Add this for each new level (adding one to the number) oCMenu.level[2].width=175 oCMenu.level[2].height=20 oCMenu.level[2].regClass="clLevel2" oCMenu.level[2].overClass="clLevel1over" oCMenu.level[2].style="" oCMenu.level[2].align="left" oCMenu.level[2].offsetX=0 oCMenu.level[2].offsetY=0 oCMenu.level[2].rows=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('mm0','','','','','175','','images/u4-index_08.jpg','images/u4-index_08on.jpg') oCMenu.makeMenu('sm01','mm0','Baseny wewnetrzne','baseny-wewnetrzne.php','',190) oCMenu.makeMenu('sm02','mm0','Baseny zewnetrzne','','',190) oCMenu.makeMenu('sm021','sm02','Niecki stalowe','baseny-zewnetrzne-niecki-stalowe.php','',120) oCMenu.makeMenu('sm022','sm02','Niecki tradycyjne','baseny-zewnetrzne-niecki-tradycyjne.php','',120) oCMenu.makeMenu('sm03','mm0','Baseny RivieraPool','baseny-riviera-pool.php','',190) oCMenu.makeMenu('sm04','mm0','Baseny hotelowe','baseny-hotelowe.php','',190) oCMenu.makeMenu('sm05','mm0','Pływalnie','baseny-plywalnie.php','',190) oCMenu.makeMenu('sm06','mm0','Technika basenów prywatnych','baseny-tp-kamieniebrzegowe.php','',190) oCMenu.makeMenu('sm07','mm0','Technika basenów publicznych','baseny-technikapubliczne-drabiny.php','',190) oCMenu.makeMenu('sm08','mm0','Pielegnacja wody','baseny-pielegnacjawody.php','',190) oCMenu.makeMenu('mm1','','','','','175','','images/u4-index_09.jpg','images/u4-index_09on.jpg') oCMenu.makeMenu('sm11','mm1','Architektura','baseny-projekt-architektura.php','',160) oCMenu.makeMenu('sm12','mm1','Architektura wnętrz','baseny-projekt-architekturawnetrz.php','',160) oCMenu.makeMenu('mm2','','','klimatyzacja.php','','175','','images/u4-index_10.jpg','images/u4-index_10on.jpg') oCMenu.makeMenu('mm3','','','sufity-wodoodporne.php','','175','','images/u4-index_11.jpg','images/u4-index_11on.jpg') oCMenu.makeMenu('mm4','','','zadaszenia.php','','175','','images/u4-index_12.jpg','images/u4-index_12on.jpg') oCMenu.makeMenu('mm5','','','','','175','','images/u4-index_13.jpg','images/u4-index_13on.jpg') oCMenu.makeMenu('sm51','mm5','Sauny suche finskie','sauny-suchefinskie.php','',160) oCMenu.makeMenu('sm52','mm5','Sauny zewnętrzne','sauny-zewnetrzne.php','',160) oCMenu.makeMenu('sm53','mm5','Łaźnie parowe','sauny-laznie-parowe.php','',160) oCMenu.makeMenu('sm54','mm5','Sauny Infrared','sauny-infrared.php','',160) oCMenu.makeMenu('sm55','mm5','Światłoterapia','sauny-swiatloterapia.php','',160) oCMenu.makeMenu('sm56','mm5','Piece elektryczne','sauny-piece.php','',160) oCMenu.makeMenu('sm57','mm5','Akcesoria','sauny-akcesoria.php','',160) oCMenu.makeMenu('mm6','','','','','175','','images/u4-index_14.jpg','images/u4-index_14on.jpg') oCMenu.makeMenu('sm61','mm6','Kabiny masażowo-parowe','hydromasaz-kabiny-masazowo-parowe.php','',160) oCMenu.makeMenu('sm62','mm6','Wanny Whirlpools','hydromasaz-wanny-whirlpools.php','',160) oCMenu.makeMenu('sm63','mm6','Wanny SPA','hydromasaz-wanny-spa.php','',160) //Leave this line - it constructs the menu oCMenu.construct()