/*** 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=5 oCMenu.fromLeft=20 oCMenu.fromTop=0 oCMenu.rows=1 oCMenu.menuPlacement="left" oCMenu.offlineRoot="file:///C|/Inetpub/wwwroot/dhtmlcentral/projects/coolmenus/examples/" oCMenu.onlineRoot="/coolmenus/" oCMenu.resizeCheck=1 oCMenu.wait=300 oCMenu.fillImg="ecblank.gif" oCMenu.zIndex=0 //Background bar properties oCMenu.useBar=1 oCMenu.barWidth="100%" oCMenu.barHeight="menu" oCMenu.barClass="clBar" oCMenu.barX=0 oCMenu.barY=0 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=100 oCMenu.level[0].height=28 oCMenu.level[0].regClass="clLevel0" oCMenu.level[0].overClass="clLevel0over" oCMenu.level[0].borderX=1 oCMenu.level[0].borderY=1 oCMenu.level[0].borderClass="clLevel0border" oCMenu.level[0].offsetX=0 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="bottom" //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=28 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=-(oCMenu.level[0].width-2)/2+20 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=150 oCMenu.level[2].height=20 oCMenu.level[2].offsetX=0 oCMenu.level[2].offsetY=0 oCMenu.level[2].regClass="clLevel2" oCMenu.level[2].overClass="clLevel2over" oCMenu.level[2].borderClass="clLevel2border" /****************************************** 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('top0','','Business Cases','http://hui01.bh.spt.fi/eutist/eutist03.nsf/BusinessCases?OpenView&Count=10000','') oCMenu.makeMenu('sub00','top0','All','http://hui01.bh.spt.fi/eutist/eutist03.nsf/BusinessCases?OpenView&Count=10000') oCMenu.makeMenu('sub01','top0','Automotive','http://hui01.bh.spt.fi/eutist/eutist03.nsf/78FADDFA628E4C14C2256934003BF3E5/5D51C02F5E6F44C7C2256CEE003E9631?OpenDocument') oCMenu.makeMenu('sub02','top0','Electronics','http://hui01.bh.spt.fi/eutist/eutist03.nsf/78FADDFA628E4C14C2256934003BF3E5/653DBEF03326FFB2C2256CEE003E9632?OpenDocument') oCMenu.makeMenu('sub03','top0','Food','http://hui01.bh.spt.fi/eutist/eutist03.nsf/497FAE48E1360CC6C2256A690035C0FB/DF97CF0376E0DAA4C2256CEE003E9637?OpenDocument') oCMenu.makeMenu('sub04','top0','Glass and Ceramics','http://hui01.bh.spt.fi/eutist/eutist03.nsf/497fae48e1360cc6c2256a690035c0fb/74badd11c72c1702c2256cee003e9638?OpenDocument') oCMenu.makeMenu('sub05','top0','Manufacturing','http://hui01.bh.spt.fi/eutist/eutist03.nsf/497fae48e1360cc6c2256a690035c0fb/b3e5d57c7effc1b4c2256cee003e9636?OpenDocument') oCMenu.makeMenu('sub06','top0','Textile and Clothing','http://hui01.bh.spt.fi/eutist/eutist03.nsf/497fae48e1360cc6c2256a690035c0fb/b0657ab133d2cd34c2256cee003e9633?OpenDocument') oCMenu.makeMenu('sub07','top0','Paper','http://hui01.bh.spt.fi/Eutist/eutist03.nsf/497fae48e1360cc6c2256a690035c0fb/3d30119569a5906dc2256cee003e9634?OpenDocument') oCMenu.makeMenu('sub08','top0','Wood','http://hui01.bh.spt.fi/Eutist/eutist03.nsf/497fae48e1360cc6c2256a690035c0fb/ea53b04f6baeb24cc2256cee003e9630?OpenDocument') oCMenu.makeMenu('sub09','top0','Services','http://hui01.bh.spt.fi/Eutist/eutist03.nsf/497fae48e1360cc6c2256a690035c0fb/aead847817a97b20c2256cee003e9639?OpenDocument') oCMenu.makeMenu('top1','','Integrated Machine Vision','http://hui01.bh.spt.fi/Eutist/eutist03.nsf/78FADDFA628E4C14C2256934003BF3E5/7EC7F91BE0B055A9C2256CEE003E95DC?OpenDocument') oCMenu.makeMenu('sub11','top1','Technology','http://hui01.bh.spt.fi/Eutist/eutist03.nsf/497fae48e1360cc6c2256a690035c0fb/74df98566272064bc2256cee003e95da?OpenDocument') oCMenu.makeMenu('sub12','top1','Benefits','http://hui01.bh.spt.fi/Eutist/eutist03.nsf/497fae48e1360cc6c2256a690035c0fb/669aea5f353fa254c2256cee003e96b0?OpenDocument') oCMenu.makeMenu('sub13','top1','EUTIST-cluster','http://hui01.bh.spt.fi/Eutist/eutist03.nsf/497fae48e1360cc6c2256a690035c0fb/a004fa0fbd9517b8c2256cee003e95db?OpenDocument') oCMenu.makeMenu('sub14','top1','Technology Offers','http://hui01.bh.spt.fi/Eutist/eutist03.nsf/TechOffer?OpenView&Count=10000') oCMenu.makeMenu('sub15','top1','Search Engine','http://hui01.bh.spt.fi/Eutist/eutist03.nsf/haku?OpenForm') oCMenu.makeMenu('top3','','European IMV Newsletter','http://hui01.bh.spt.fi/eutist/eutist03.nsf/VerkkolehtiVOL303?OpenView','_blank') oCMenu.makeMenu('sub31','top3','Automotive and Glass','http://www.eutist-imv.com/automotive_and_glass','_blank') oCMenu.makeMenu('sub32','top3','Wood and Paper','http://www.eutist-imv.com/wood_and_paper','_blank') oCMenu.makeMenu('sub33','top3','Manufacturing','http://www.eutist-imv.com/manufacturing','_blank') oCMenu.makeMenu('sub34','top3','Novel Applications','http://www.eutist-imv.com/novel_applications','_blank') oCMenu.makeMenu('sub35','top3','Success in Vision','http://www.eutist-imv.com/success_in_vision','_blank') oCMenu.makeMenu('top4','','Press Releases','http://hui01.bh.spt.fi/Eutist/eutist03.nsf/PressReleases?OpenView&Count=1000') oCMenu.makeMenu('sub41','top4','Press Releases','http://hui01.bh.spt.fi/Eutist/eutist03.nsf/PressReleases?OpenView&Count=1000') oCMenu.makeMenu('sub42','top4','Press Pictures','http://hui01.bh.spt.fi/Eutist/eutist03.nsf/PressPic?OpenView&Count=10000') oCMenu.makeMenu('top5','','Contacts','http://hui01.bh.spt.fi/Eutist/eutist03.nsf/497fae48e1360cc6c2256a690035c0fb/c87b14b216d75465c2256cee003e95c9?OpenDocument') oCMenu.makeMenu('sub51','top5','Cluster Contacts','http://hui01.bh.spt.fi/Eutist/eutist03.nsf/497fae48e1360cc6c2256a690035c0fb/c87b14b216d75465c2256cee003e95c9?OpenDocument') oCMenu.makeMenu('sub52','top5','Project Contacts','http://hui01.bh.spt.fi/Eutist/calendar.nsf/Opiskelijat?OpenView') oCMenu.makeMenu('sub53','top5','Webmaster','http://hui01.bh.spt.fi/Eutist/eutist03.nsf/497fae48e1360cc6c2256a690035c0fb/c765f600e0a0bf4bc2256cee003e95e3?OpenDocument') oCMenu.makeMenu('top6','','Final Reports','http://hui01.bh.spt.fi/Eutist/eutist03.nsf/FinalRe?OpenView') oCMenu.makeMenu('sub61','top6','Final Reports','http://hui01.bh.spt.fi/Eutist/eutist03.nsf/FinalRe?OpenView') oCMenu.makeMenu('top7','','Links','http://hui01.bh.spt.fi/Eutist/eutist03.nsf/links?OpenView') oCMenu.makeMenu('sub71','top7','Associations Links','http://hui01.bh.spt.fi/Eutist/eutist03.nsf/linksas?OpenView') oCMenu.makeMenu('sub72','top7','Journals Links','http://hui01.bh.spt.fi/Eutist/eutist03.nsf/linksjour?OpenView') oCMenu.makeMenu('sub73','top7','Research Links','http://hui01.bh.spt.fi/Eutist/eutist03.nsf/linksre?OpenView') oCMenu.makeMenu('top8','','Search Engine','http://hui01.bh.spt.fi/Eutist/eutist03.nsf/haku?OpenForm') oCMenu.makeMenu('top9','','Main Page','http://hui01.bh.spt.fi/Eutist/eutist03.nsf/78FADDFA628E4C14C2256934003BF3E5/7EC7F91BE0B055A9C2256CEE003E95DC?OpenDocument') //Leave this line - it constructs the menu oCMenu.construct()