/*** TEil B am besten direkt vorm zamkniencie des cialo-tags einbauen **/ var homePath = '/comm/icm_de.nsf' ; // Anonymous; *; [PageRead] - Server: CN=DOMWEB6/O=EXT-SENN ; //Extra code to find position: function findPos(){ if(bw.ns4){ //Netscape 4 x = document.layers.layerMenu.pageX y = document.layers.layerMenu.pageY }else{ //other browsers x=0; y=0; var el,temp el = bw.ie4?document.all["divMenu"]:document.getElementById("divMenu"); if(el.offsetParent){ temp = el while(temp.offsetParent){ //Looping parent elements to get the offset of them as well temp=temp.offsetParent; x+=temp.offsetLeft; y+=temp.offsetTop; } } x+=el.offsetLeft; y+=el.offsetTop } //Returning the x and y as an array return [x,y] } pos = findPos(); //Menu object creation oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname oCMenu.frames = 0 //Menu properties oCMenu.pxBetween=0 //Optimierung fuer permanente plazierung innerhalb eines Tisches A oCMenu.fromLeft=pos[0] oCMenu.fromTop=pos[1] oCMenu.onresize="pos = findPos(); oCMenu.fromLeft=pos[0]; oCMenu.fromTop=pos[1]" //Optimierung fuer permanente plazierung innerhalb eines Tisches E oCMenu.rows=1 oCMenu.menuPlacement=0 //oCMenu.offlineRoot="file:///C|/Inetpub/wwwroot/dhtmlcentral/projects/coolmenus/examples/" oCMenu.onlineRoot= "" ; // dbPath ;// "http://www.sennheiserusa.com/newsite/includes/" oCMenu.resizeCheck=1 oCMenu.wait=250 oCMenu.fillImg=dbPath + "/space.gif" ; //"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="" //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=43 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= -1 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" // oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.GradientWipe(duration=0.01,wipeStyle=10)" //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=150; oCMenu.level[1].height=22; 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 + 20 ; oCMenu.level[1].offsetY=10 oCMenu.level[1].borderClass="clLevel1border" // oCMenu.level[1].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.01)" //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=22 oCMenu.level[2].offsetX=-(oCMenu.level[0].width-2)/2+20 + 20; // 0 oCMenu.level[2].offsetY=10; // 0 oCMenu.level[2].regClass="clLevel1" oCMenu.level[2].overClass="clLevel1over" oCMenu.level[2].borderClass="clLevel1border" /****************************************** Menu item creation: // myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, regImage, overImage, regClass, overClass , align, rows, nolink, onclick, myCoolMenu.makeMenu(name, parent_name, text, link, target, width, height, null, null, regClass, overClass , align, rows, nolink, onclick, onmouseover, onmouseout) *************************************/ oCMenu.makeMenu('top1','','Home',''+homePath + '/root/home','','47','',null,null,'clLevel0','clLevel0over') oCMenu.makeMenu('top2','','Über uns',''+homePath + '/root/about','','65','',null,null,'clLevel0','clLevel0over') oCMenu.makeMenu('sub2_1','top2','Preisgekrönte Produkte', ''+homePath + '/root/about_award_products','','','') oCMenu.makeMenu('sub2_1_1','sub2_1','Preisgekröntes Design', ''+homePath + '/root/about_award_products_awards','','','') oCMenu.makeMenu('sub2_2','top2','Unternehmens-
philosophie', ''+homePath + '/root/about_philosophy','','','33') oCMenu.makeMenu('sub2_2_1','sub2_2','Clan-Erfolge', ''+homePath + '/root/about_philosophy_success','','','') oCMenu.makeMenu('sub2_3','top2','Erfahren Sie mehr', ''+homePath + '/root/about_meet_parents','','','') oCMenu.makeMenu('sub2_3_1','sub2_3','Sennheiser electronic', ''+homePath + '/root/about_meet_parents_sennheiser','','','') oCMenu.makeMenu('sub2_3_2','sub2_3','William Demant', ''+homePath + '/root/about_meet_parents_demant','','','') oCMenu.makeMenu('top3','','Produkte',''+homePath + '/root/products','','65','',null,null,'clLevel0','clLevel0over') oCMenu.makeMenu('sub3_1','top3','PC ', ''+homePath + '/root/products_pc_headsets','','','') oCMenu.makeMenu('sub3_2','top3','Mobile
Kommunikationslösungen', ''+homePath + '/root/products_mobile','','','33') oCMenu.makeMenu('sub3_3','top3','Callcenter', ''+homePath + '/root/products_call_centre','','','') oCMenu.makeMenu('sub3_4','top3','Office-Serie', ''+homePath + '/root/products_office','','','') oCMenu.makeMenu('sub3_5','top3','Garantie', ''+homePath + '/root/products_warranty','','','') oCMenu.makeMenu('sub3_6','top3','ActiveGard', ''+homePath + '/root/products_activegard','','','') oCMenu.makeMenu('top4','','Händlersuche',''+homePath + '/root/haendlersuche','','91','',null,null,'clLevel0','clLevel0over') oCMenu.makeMenu('sub4_1','top4','Private Nutzung', ''+homePath + '/root/haendlersuche_privat','','','') oCMenu.makeMenu('sub4_2','top4','Call Center', ''+homePath + '/root/haendlersuche_callcenter','','','') oCMenu.makeMenu('sub4_3','top4','Wiederverkauf', ''+homePath + '/root/haendlersuche_wiederverkauf','','','') oCMenu.makeMenu('top5','','Support',''+homePath + '/root/support','','59','',null,null,'clLevel0','clLevel0over') oCMenu.makeMenu('sub5_1','top5','FAQs', ''+homePath + '/root/support_faqs','','','') oCMenu.makeMenu('sub5_1_1','sub5_1','PC USB-Headsets', ''+homePath + '/root/support_faqs_pcusb','','','') oCMenu.makeMenu('sub5_1_2','sub5_1','Windows-Systeme', ''+homePath + '/root/support_faqs_win_systems','','','') oCMenu.makeMenu('sub5_1_3','sub5_1','Mac-Systeme', ''+homePath + '/root/support_faqs_mac_systems','','','') oCMenu.makeMenu('sub5_1_4','sub5_1',' DW 800', ''+homePath + '/root/support_faqs_dw800','','','') oCMenu.makeMenu('sub5_1_5','sub5_1','DW 800 Intercom', ''+homePath + '/root/support_faqs_dw800_int','','','') oCMenu.makeMenu('sub5_1_6','sub5_1','Zubehör für
schnurlose Produkte', ''+homePath + '/root/support_faqs_wireless_access','','','33') oCMenu.makeMenu('sub5_1_7','sub5_1','BW 900', ''+homePath + '/root/support_faqs_bw900','','','') oCMenu.makeMenu('sub5_1_8','sub5_1','VMX 100', ''+homePath + '/root/support_faqs_vmx100','','','') oCMenu.makeMenu('sub5_1_9','sub5_1','FLX 70', ''+homePath + '/root/support_faqs_flx70','','','') oCMenu.makeMenu('sub5_1_10','sub5_1','UI 760', ''+homePath + '/root/support_faqs_ui760','','','') oCMenu.makeMenu('sub5_2','top5','Headset-Auswahl', ''+homePath + '/root/support_hs','','','') oCMenu.makeMenu('sub5_3','top5','Kontakt', ''+homePath + '/root/support_contact','','','') oCMenu.makeMenu('sub5_4','top5','SafetyZone ', ''+homePath + '/root/support_safety_zone','','','') oCMenu.makeMenu('top6','','Downloads',''+homePath + '/root/download','','70','',null,null,'clLevel0','clLevel0over') oCMenu.makeMenu('sub6_1','top6','Produkt Bilder', ''+homePath + '/root/download_product-images','','','') oCMenu.makeMenu('sub6_1_1','sub6_1','PC', ''+homePath + '/root/download_product-images_pc','','','') oCMenu.makeMenu('sub6_1_2','sub6_1','Mobile
Kommunikations-
lösungen', ''+homePath + '/root/download_product-images_mobile','','','50') oCMenu.makeMenu('sub6_1_3','sub6_1','Call Center', ''+homePath + '/root/download_product-images_call_centre','','','') oCMenu.makeMenu('sub6_1_4','sub6_1','Office-Serie', ''+homePath + '/root/download_product-images_office','','','') oCMenu.makeMenu('sub6_4','top6','Broschüren', ''+homePath + '/root/download_brochures-ads','','','') oCMenu.makeMenu('sub6_4_1','sub6_4','PC ', ''+homePath + '/root/download_brochures-ads_pc_headsets','','','') oCMenu.makeMenu('sub6_4_2','sub6_4','Mobile', ''+homePath + '/root/download_brochures-ads_mobile_headsets','','','') oCMenu.makeMenu('sub6_4_3','sub6_4','Call Center', ''+homePath + '/root/download_brochures-ads_call_centre_headsets','','','') oCMenu.makeMenu('sub6_4_4','sub6_4','Office', ''+homePath + '/root/download_brochures-ads_office_headsets','','','') oCMenu.makeMenu('sub6_4_5','sub6_4','Bluetooth Headsets', ''+homePath + '/root/download_brochures-ads_bluetooth','','','') oCMenu.makeMenu('sub6_10','top6','Screensaver', ''+homePath + '/root/download_screensaver','','','') oCMenu.makeMenu('top7','','Presse',''+homePath + '/root/press','','52','',null,null,'clLevel0','clLevel0over') oCMenu.makeMenu('sub7_1','top7','Pressemitteilungen', ''+homePath + '/root/press_releases','','','') oCMenu.makeMenu('sub7_2','top7','Pressearchiv 2007', ''+homePath + '/root/press_releases_20080924145235','','','') oCMenu.makeMenu('sub7_3','top7','Pressearchiv 2006', ''+homePath + '/root/press_archive2006','','','') oCMenu.makeMenu('sub7_4','top7','Pressearchiv 2005', ''+homePath + '/root/press_archive2005','','','') oCMenu.makeMenu('sub7_5','top7','Bilddatenbank', ''+homePath + '/root/press_bilddatenbank','','','') oCMenu.makeMenu('top8','','Veranstaltungen',''+homePath + '/root/events','','107','',null,null,'clLevel0','clLevel0over') oCMenu.construct();