/*** TEil B am besten direkt vorm zamkniencie des cialo-tags einbauen **/ var homePath = '/jp/icm_jp.nsf' ; // Anonymous; *; [PageRead] - Server: CN=DOMWEB5/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','','Homepage',''+homePath + '/root/homepage','','75','',null,null,'clLevel0','clLevel0over') oCMenu.makeMenu('top2','','製品情報','/jp/icm_jp.nsf/root/homepage','','62','',null,null,'clLevel0','clLevel0over') oCMenu.makeMenu('sub2_1','top2','ヘッドフォン', ''+homePath + '/root/products_headphones','','','') oCMenu.makeMenu('sub2_1_1','sub2_1','オーディオファイル
ヘッドフォン', ''+homePath + '/root/products_headphones_high-end','','','33') oCMenu.makeMenu('sub2_1_2','sub2_1','ワイヤレスヘッドフォン', ''+homePath + '/root/products_headphones_hi-fi-wireless','','','') oCMenu.makeMenu('sub2_1_3','sub2_1','有線ヘッドフォン', ''+homePath + '/root/products_headphones_hi-fi-wired','','','') oCMenu.makeMenu('sub2_1_4','sub2_1','TV ヘッドフォン', ''+homePath + '/root/products_headphones_tv','','','') oCMenu.makeMenu('sub2_1_5','sub2_1','プロフェッショナル
ヘッドフォン DJ用', ''+homePath + '/root/products_headphones_dj','','','33') oCMenu.makeMenu('sub2_1_6','sub2_1','プロフェッショナル
ヘッドフォン
モニタリング用', ''+homePath + '/root/products_headphones_monitoring','','','50') oCMenu.makeMenu('sub2_1_7','sub2_1','クラシックライン', ''+homePath + '/root/products_headphones_classicline','','','') oCMenu.makeMenu('sub2_1_8','sub2_1','トラベルライン', ''+homePath + '/root/products_headphones_travelline','','','') oCMenu.makeMenu('sub2_1_9','sub2_1','Sport Line', 'http://www.style-your-sound.com/','','','') oCMenu.makeMenu('sub2_1_10','sub2_1','Street Line', 'http://www.style-your-sound.com/','','','') oCMenu.makeMenu('sub2_1_11','sub2_1','Style Line', 'http://www.style-your-sound.com','','','') oCMenu.makeMenu('sub2_1_12','sub2_1','ブロードキャスティング
用ヘッドセット', ''+homePath + '/root/products_headphones_broadcasting','','','33') oCMenu.makeMenu('sub2_1_13','sub2_1','イヤーモニタータイプ
ヘッドフォン', ''+homePath + '/root/products_headphones_ear_monitor','','','33') oCMenu.makeMenu('sub2_1_14','sub2_1','ゼンハイザー/アディダス', ''+homePath + '/root/products_headphones_sennheiser_adidas','','','') oCMenu.makeMenu('sub2_2','top2','マイクロフォン', ''+homePath + '/root/products_microphones','','','') oCMenu.makeMenu('sub2_2_1','sub2_2','クラシック
マイクロフォン', ''+homePath + '/root/products_microphones_classic','','','33') oCMenu.makeMenu('sub2_2_2','sub2_2','エボリューション
ワイヤードマイク', ''+homePath + '/root/products_microphones_evolution','','','33') oCMenu.makeMenu('sub2_2_3','sub2_2','報道用マイクロフォン', ''+homePath + '/root/products_microphones_reporter','','','') oCMenu.makeMenu('sub2_2_4','sub2_2','ラベリアマイクロフォン', ''+homePath + '/root/products_microphones_lavalier','','','') oCMenu.makeMenu('sub2_2_5','sub2_2','インストールドサウンド', ''+homePath + '/root/products_microphones_installed-sound','','','') oCMenu.makeMenu('sub2_2_6','sub2_2','光マイクロフォン', ''+homePath + '/root/products_microphones_optical_microphone','','','') oCMenu.makeMenu('sub2_2_7','sub2_2','K6 マイクロフォン', ''+homePath + '/root/products_microphones_k6','','','') oCMenu.makeMenu('sub2_2_8','sub2_2','MKH コンデンサ
マイクロフォン', ''+homePath + '/root/products_microphones_mkh','','','33') oCMenu.makeMenu('sub2_2_9','sub2_2','スペシャルコンデンサ
マイク', ''+homePath + '/root/products_microphones_special_condenser_mics','','','33') oCMenu.makeMenu('sub2_2_10','sub2_2','ヘッドセット
マイクロフォン', ''+homePath + '/root/products_microphones_headmic','','','33') oCMenu.makeMenu('sub2_2_11','sub2_2','アクセサリー', '/jp/icm_jp.nsf/root/products_microphones_accessories_powersupplies','','','') oCMenu.makeMenu('sub2_3','top2','RF ワイヤレスシステム', ''+homePath + '/root/products_wireless-systems','','','') oCMenu.makeMenu('sub2_3_1','sub2_3','evolution Wireless G2', ''+homePath + '/root/products_wireless-systems_evolution','','','') oCMenu.makeMenu('sub2_3_2','sub2_3','3000 シリーズ
ワイヤレス
マイクロフォン', ''+homePath + '/root/products_wireless-systems_3000','','','50') oCMenu.makeMenu('sub2_3_3','sub2_3','3000シリーズ
ワイヤレスモニタリング
システム', ''+homePath + '/root/products_wireless-systems_monitoring','','','50') oCMenu.makeMenu('sub2_3_4','sub2_3','5000 シリーズ
ワイヤレス
マイクロフォン', ''+homePath + '/root/products_wireless-systems_5000','','','50') oCMenu.makeMenu('sub2_4','top2','会議システム', ''+homePath + '/root/products_communication-systems','','','') oCMenu.makeMenu('sub2_4_1','sub2_4','SDC デジタル会議・
通訳システム', ''+homePath + '/root/products_communication-systems_sdc8200','','','33') oCMenu.makeMenu('sub2_4_2','sub2_4','guidePORT', 'http://www.guideport.de/en','','','') oCMenu.makeMenu('sub2_4_3','sub2_4','赤外線ワイヤレス
システム', ''+homePath + '/root/products_communication-systems_infrared','','','33') oCMenu.makeMenu('sub2_4_4','sub2_4','オーディオビーム', '/jp/icm_jp.nsf/root/09859','','','') oCMenu.makeMenu('sub2_5','top2',' 航空機用ヘッドセット', ''+homePath + '/root/products_aviation','','','') oCMenu.makeMenu('sub2_5_1','sub2_5','アクティブノイズ
キャンセリング
ヘッドセット', ''+homePath + '/root/products_aviation_active-noise','','','50') oCMenu.makeMenu('sub2_5_2','sub2_5','パッシブノイズ
キャンセリング
ヘッドセット', ''+homePath + '/root/products_aviation_passive-noise','','','50') oCMenu.makeMenu('sub2_5_3','sub2_5','機内エンター
テインメント', ''+homePath + '/root/products_aviation_inflight','','','33') oCMenu.makeMenu('sub2_5_4','sub2_5','連絡用ヘッドセット', ''+homePath + '/root/products_aviation_tower_headsets','','','') oCMenu.makeMenu('sub2_6','top2','オーディオロジー', ''+homePath + '/root/products_audiology','','','') oCMenu.makeMenu('sub2_6_1','sub2_6','補聴システム', ''+homePath + '/root/products_audiology_impaired','','','') oCMenu.makeMenu('sub2_6_2','sub2_6','アクセサリー', '/jp/icm_jp.nsf/root/products_audiology_accessories_battery-boxesaccupacks','','','') oCMenu.makeMenu('top3','','プレス',''+homePath + '/root/press','','46','',null,null,'clLevel0','clLevel0over') oCMenu.makeMenu('sub3_1','top3','プレスリリース', ''+homePath + '/root/press_releases','','','') oCMenu.makeMenu('sub3_2','top3','プレスアーカイブ', ''+homePath + '/root/press_archive','','','') oCMenu.makeMenu('top4','','採用情報',''+homePath + '/root/employment','','62','',null,null,'clLevel0','clLevel0over') oCMenu.makeMenu('top5','','会社情報',''+homePath + '/root/corporate','','62','',null,null,'clLevel0','clLevel0over') oCMenu.construct();