//Menu properties //more details on properties: http://www.dhtmlcentral.com/projects/coolmenus/properties.asp?m=47 var oM=new makeCM("oM") oM.pxBetween=10 //(px, "%") oM.fromTop=250 //(px, "%") oM.fromLeft=20 //(px, "%") oM.menuPlacement=0 //"center","bottom","right","bottomcenter", 0=uses values above, new Array(px,"%")=individual placement) oM.centerOffSet=0 //use with menuPlacement="center" (px) oM.wait=500 //time drop is visible when mouse is not over (value=milliseconds 1000=1 sec) oM.fillImg="images/spacer.gif" //name of transparent gif - needed for NS + OP oM.zIndex=100 oM.resizeCheck=1 //reloads page when resized in NS + OP (0=no, 1=yes) oM.onlineRoot="/" // from the root directory ("/common/scripts/") oM.offlineRoot="file:///Q|/msei.mandogroup.com/docs/" //("file:///C|/Inetpub/wwwroot/") oM.rows=0 //(1=rows, 0=colums) //Background bar properties //more details on properties: http://www.dhtmlcentral.com/projects/coolmenus/properties.asp?m=49 oM.useBar=0 //(1=yes, 0=no) oM.barWidth="100%" //"menu"=same as menu (px, "%", "menu") oM.barHeight="menu" //(px, "%", "menu") oM.barX=0 //(px, "%", "menu") oM.barY="menu" //(px, "%", "menu") oM.barClass="clBar" //name of CSS oM.barBorderX=0 //(px) oM.barBorderY=2 //(px) oM.barBorderClass="clB3" //name of CSS //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) //menu properties //more details on properties: http://www.dhtmlcentral.com/projects/coolmenus/properties.asp?m=48 oM.level[0]=new cm_makeLevel() oM.level[0].width=175 //(px, "%") oM.level[0].height=13 //(px, "%") oM.level[0].regClass="regMenu" //normal class oM.level[0].overClass="overMenu" //hover class oM.level[0].borderX=0 //(px, 0=none) oM.level[0].borderY=0 //(px, 0=none) oM.level[0].borderClass="" oM.level[0].rows=0 //(0=beneth, 1=beside) oM.level[0].align="bottom" //alignment of drops ("bottom","top","left","right","righttop","lefttop","bottomleft","topleft") oM.level[0].offsetX=65 //x placement of drop (px) oM.level[0].offsetY=-2 //y placement of drop (px) oM.level[0].arrow=0 //use image to show more drops ("path from root of image", 0=none) oM.level[0].arrowWidth=0 //(px) oM.level[0].arrowHeight=0 //(px) //drop 1 properties oM.level[1]=new cm_makeLevel() oM.level[1].width=155 oM.level[1].height=19 oM.level[1].regClass="regDrop" oM.level[1].overClass="overDrop" oM.level[1].borderX=1 oM.level[1].borderY=1 oM.level[1].borderClass="borderDrop" //oM.level[0].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.3)" /****************************************** Menu item creation: more details on properties: http://www.dhtmlcentral.com/projects/coolmenus/properties.asp?m=50 ***Set properties for items that are different from properties set above*** set nolink=1 if drop is a description and not a link. myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) *************************************/ oM.makeMenu('top1','','home','index.asp','',155,'','images/navigation/02-home.gif','images/navigation/02-home-f2.gif') oM.makeMenu('top2','','what is social enterprise','whatis.asp','',155,'','images/navigation/03-what.gif','images/navigation/03-what-f2.gif') oM.makeMenu('top3','','About MSEI','','',155,'','images/navigation/04-about.gif','images/navigation/04-about-f2.gif') oM.makeMenu('3sub0','top3','Background','about/index.asp') oM.makeMenu('3sub1','top3','Partners','about/partners.asp') oM.makeMenu('3sub2','top3','FAQ','about/faq.asp') oM.makeMenu('3sub3','top3','Help','about/help.asp') oM.makeMenu('3sub4','top3','Contact','about/contact.asp') oM.makeMenu('top4','','Services','','',155,'','images/navigation/05-services.gif','images/navigation/05-services-f2.gif') oM.makeMenu('4sub0','top4','Introduction','services/index.asp') oM.makeMenu('4sub1','top4','Finance','services/finance.asp') oM.makeMenu('4sub2','top4','Business Support','services/business.asp') oM.makeMenu('4sub3','top4','Workforce Development','services/workforce.asp') oM.makeMenu('4sub1_4','4sub3','Workforce Development','services/training-workforce.asp') oM.makeMenu('4sub1_1','4sub3','Social Accounting','services/training-social.asp') oM.makeMenu('4sub1_3','4sub3','Board Member Development','services/training-board.asp') oM.makeMenu('4sub1_2','4sub3','Other','services/training-other.asp') oM.makeMenu('4sub4','top4','Enablers','services/legal.asp') oM.makeMenu('4sub5','top4','Eligibility','services/eligibility.asp') oM.makeMenu('top5','','News & Updates','','',155,'','images/navigation/06-news.gif','images/navigation/06-news-f2.gif') oM.makeMenu('5sub0','top5','MSEI News','news/shwNews-index.asp') oM.makeMenu('5sub1','top5','Calendar','calendar/calendar.asp') oM.makeMenu('5sub2','top5','Sector Champion','news/sectorchampion.asp') oM.makeMenu('top6','','Other Activity','','',168,'','images/navigation/07-other.gif','images/navigation/07-other-f2.gif') oM.makeMenu('6sub0','top6','Other Social Enterprise Activity','social/index.asp','',170) oM.makeMenu('6sub1','top6','Halton','social/halton.asp','',170) oM.makeMenu('6sub2','top6','Knowsley','social/knowsley.asp','',170) oM.makeMenu('6sub3','top6','Liverpool','social/liverpool.asp','',170) oM.makeMenu('6sub4','top6','Sefton','social/sefton.asp','',170) oM.makeMenu('6sub5','top6','St Helens','social/sthelens.asp','',170) oM.makeMenu('6sub6','top6','Wirral','social/wirral.asp','',170) oM.makeMenu('6sub7','top6','SEN','social/SEN.asp','',170) oM.makeMenu('6sub8','top6','DTA','social/DTA.asp','',170) oM.makeMenu('6sub9','top6','Higher Education','social/pathways.asp','',170) oM.makeMenu('top7','','Links','','',155,'','images/navigation/08-links.gif','images/navigation/08-links-f2.gif') oM.makeMenu('7sub0','top7','Websites','links.asp') oM.makeMenu('7sub1','top7','Downloads','downloads.asp') oM.makeMenu('top8','','Comments','comments/comments.asp','',155,'','images/navigation/09-comments.gif','images/navigation/09-comments-f2.gif') oM.makeMenu('top9','','Register','registrations/register.asp','',155,'','images/navigation/10-reg.gif','images/navigation/10-reg-f2.gif') oM.construct() /* if(bw.ie55 || bw.ie6){ oM.ev.css.filter="alpha(opacity=0);" oM.ev.css.backgroundColor='red' } */ //Extra test code to customize the CoolMenus - moving the items to totally different positions: /* oM.m["top0"].b.moveIt(100,100) oM.m["top1"].b.moveIt(50,50) oM.m["top2"].b.moveIt(cmpage.x2-150,cmpage.y2-100) oM.m["top3"].b.moveIt(500,200) */