var oM=new makeCM("oM") oM.pxBetween =0 oM.fromTop=241 oM.fromLeft=0 oM.menuPlacement="center" oM.wait=200 oM.zIndex=100 oM.resizeCheck=1 oM.zIndex=100 oM.onlineRoot="http://bakewellonline.co.uk" oM.offlineRoot="file://localhost/C:/Documents and Settings/norman/Desktop/bakewellonline" oM.rows=1 //Level properties //Syntax for fast creation (advanced users only) //oM.level[1]=new cm_makeLevel(width,height,regClass,overClass,borderX,borderY,borderClass,rows,align,offsetX,offsetY,arrow,arrowWidth,arrowHeight) oM.level[0]=new cm_makeLevel() oM.level[0].width=120 oM.level[0].height=22 oM.level[0].regClass="clT" oM.level[0].overClass="clTover" oM.level[0].borderX=1 oM.level[0].borderY=0 oM.level[0].borderClass="clB2" oM.level[0].rows=0 oM.level[0].align="bottom" oM.level[0].offsetX=0 oM.level[0].offsetY=0 oM.level[0].arrow=0 oM.level[0].arrowWidth=0 oM.level[0].arrowHeight=0 oM.level[1]=new cm_makeLevel() oM.level[1].width=120 oM.level[1].height=null oM.level[1].regClass="clS" oM.level[1].overClass="clSover" oM.level[1].borderX=1 oM.level[1].borderY=1 oM.level[1].borderClass="clB1" oM.level[1].align="bottom" oM.level[1].rows=1 oM.level[1].arrow="menu_arrow.gif" oM.level[1].arrowWidth=10 oM.level[1].arrowHeight=10 oM.level[2]=new cm_makeLevel() oM.level[2].width=120 oM.level[2].height=null oM.level[2].regClass="clS" oM.level[2].overClass="clSover" oM.level[2].borderX=1 oM.level[2].borderY=1 oM.level[2].borderClass="clB1" oM.level[2].align="bottom" oM.level[2].rows=0 oM.level[2].arrow="menu_arrow.gif" oM.level[2].arrowWidth=10 oM.level[2].arrowHeight=10 //oM.level[1]=new cm_makeLevel(width,height,regClass,overClass,borderX,borderY,borderClass,rows,align,offsetX,offsetY,arrow,arrowWidth,arrowHeight) /****************************************** Menu item creation: myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) *************************************/ oM.makeMenu('top0','','Home','/','',115,'','','','','',"bottom") oM.makeMenu('top1','','Community','','',130,0,'','','','',"bottom") oM.makeMenu('1sub10','top1','Forum','http://www.bakewellforum.co.uk','',150,20) //oM.makeMenu('1sub11','top1','Local News & Attractions','/news.php','',150,20) oM.makeMenu('1sub13','top1','General Numbers','/generalnumbers.php','',150,20) oM.makeMenu('1sub18','top1','999','/999.php','',150,20) oM.makeMenu('top2','','Directory','/directory/','',120,0,'','','','',"bottom") //oM.makeMenu('2sub10','top2','Browse By Category','/showpl/pub.html','',180,20) //oM.makeMenu('2sub11','top2','Search','/search/','',180,20) //oM.makeMenu('2sub12','top2','Advertise','/showpl/resturant.html','',180,20) oM.makeMenu('top3','','Of interest','','',120,0,'','','','',"bottom") oM.makeMenu('3sub10','top3','History & Information','/history/','',150,20) oM.makeMenu('3sub11','top3','Events','/events/','',150,20) oM.makeMenu('3sub13','top3','Parking','/documents/parking_in_bakewell/index.php','',150,20) oM.makeMenu('3sub12','top3','Local Attractions','/attractions.php','',150,20) oM.makeMenu('3sub14','top3','Children Welcome','/childrenwelcome.php','',150,20) oM.makeMenu('3sub15','top3','Disabled Access','/disabledaccess.php','',150,20) oM.makeMenu('3sub17','top3','Plan Your Stay','/planyourstay.php','',150,20) //oM.makeMenu('3sub18','top3','999','/999.php','',150,20) //oM.makeMenu('1sub20','top1','Bus Timetables','/bustimetables.php','',150,20) //oM.makeMenu('1sub12','top1','Pictures','/pictures.php','',94,20) oM.makeMenu('top4','','Whats On','/events/','',120,0,'','','','',"bottom") oM.makeMenu('4sub10','top4','Events','/events/','',150,20) oM.makeMenu('4sub11','top4','Add Event','/addevent.php','',150,20) //oM.makeMenu('top8','','Map','/map.php','',60,0,'','','','',"bottom") oM.makeMenu('top9','','Contact','/contact/','',120,0,'','','','',"bottom") oM.construct() //Extra test code to customize the CoolMenus. var xx,yy //oM.m["top0"].b.hideIt() //Hiding the first item. function getCoords(e){ xx=(bw.ns4 || bw.ns6)?e.pageX:event.x||event.clientX yy=(bw.ns4 || bw.ns6)?e.pageY:event.y||event.clientY } //Capturing onmousemove event if(bw.ns4) document.captureEvents(Event.MOUSEMOVE) document.onmousemove=getCoords;