hjælp!! mig jeg fatter hat af det her
oki jeg har gang i et projekt på min skole og jeg er ret lost mht til denne menu..Den hedder cool menu.. og er fundet på hot scripts..
Dette er siden som jeg skal have den ind på .
http://alex.nanohak.dk/skiline/skilinecut.html
Her er koden for de ting jeg regner med at det skal ændres i..
Dette er :
Dhtmlcentral.js
oM=new makeCM("oM"); oM.resizeCheck=1; oM.rows=1; oM.onlineRoot=""; oM.pxBetween =0;
oM.fillImg="cm_fill.gif"; oM.fromTop=125; oM.fromLeft=0; oM.wait=300; oM.zIndex=0;
oM.useBar=1; oM.barWidth="0"; oM.barHeight="menu"; oM.barX=0;oM.barY="menu"; oM.barClass="clBar";
oM.barBorderX=0; oM.barBorderY=0;
oM.level[0]=new cm_makeLevel(90,21,"clT","clTover",1,1,"clB",0,"bottom",0,0,0,0,0);
oM.level[1]=new cm_makeLevel(102,22,"clS","clSover",1,1,"clB",0,"right",0,0,"menu_arrow.gif",10,10);
oM.level[2]=new cm_makeLevel(110,22,"clS2","clS2over");
oM.level[3]=new cm_makeLevel(140,22);
oM.makeMenu('m1','','Introduktion','/news/?m=1');
oM.makeMenu('m2','','Ski','/projects/?m=2');
oM.makeMenu('m3','','Snowboard','/script/?m=3');
oM.makeMenu('m4','','Tøj','/tutorials/?m=4');
oM.makeMenu('m5','','Andet','/forums/?m=5');
oM.makeMenu('m6','','Kontakt','/resources/?m=6');
oM.makeMenu('m7','','Inkøbskurven','/dhtmlcentral/?m=7');
//
//menu1 (introduktion)
//
oM.makeMenu('m8','m1','underlink1','/news/?');
oM.makeMenu('m9','m1','underlink2','/news/?archive=1');
oM.makeMenu('m41','m1','underlink3','/news/?archive=1');
//
//menu2 (Ski)
//
oM.makeMenu('m10','m2','underlink1','/news/?');
oM.makeMenu('m11','m2','underlink2','/news/?archive=1');
oM.makeMenu('m12','m2','underlink3','/news/?archive=1');
//
//Menu3 (Snowboard)
//
oM.makeMenu('m13','m3','underlink1','/script/search.asp?new=1');
oM.makeMenu('m14','m3','underlink2','/script/?m=14');
oM.makeMenu('m15','m3','underlink3','/txt/?m=15');
//
//Underlink
//
oM.makeMenu('m16','m15','1','/script/search.asp?category=menu');
oM.makeMenu('m17','m15','2','/script/search.asp?category=text');
oM.makeMenu('m18','m15','3','/script/search.asp?category=animation');
oM.makeMenu('m19','m15','4','/script/search.asp?category=other');
//
// (Tøj)
//
oM.makeMenu('m42','m4','underlink1','/script/search.asp?new=1');
oM.makeMenu('m43','m4','underlink2','/script/?m=14');
oM.makeMenu('m44','m4','underlink3','/txt/?m=15');
//
//menu4 (Andet)
//
oM.makeMenu('m20','m5','Link1','/forums/forum.asp?FORUM_ID=2&CAT_ID=1&Forum_Title=CoolMenus+3');
oM.makeMenu('m21','m5','link2','/forums/forum.asp?FORUM_ID=6&CAT_ID=1&Forum_Title=General+DHTML+issues');
oM.makeMenu('m22','m5','link3','/forums/forum.asp?FORUM_ID=4&CAT_ID=1&Forum_Title=DHTML+Scripts');
//
//Menu5 (Kontakt)
//
oM.makeMenu('m27','m6','Ris og Ros','/resources/default.asp?m=27');
oM.makeMenu('m28','m6','Underting 2','/resources/books.asp?m=28');
oM.makeMenu('m29','m6','underting 3','/resources/software.asp?m=29');
//
//Menu6 (Inkøbskurven)
//
oM.makeMenu('m39','m7','Gå Til Kurven','/txt/?m=39');
oM.makeMenu('m40','m7','Tøm kurven','/txt/?m=40');
// øhhh??!?!
var avail="190+((cmpage.x2-235)/7)";
oM.menuPlacement=new Array(192,avail+"-11",avail+"*2-8",avail+"*3-12",avail+"*4-7",avail+"*5-9",avail+"*6+5")
oM.construct()
her er Css filen.
dhtmlcentral.css
TD,P,B,INPUT,DIV{font-family:arial,helvetica; font-size:10px}
.clCMEvent{position:absolute; z-index:0; width:576 px; height:100%; clip:rect(0,50px,50px,0); left:0; top:0; visibility:hidden}
.clCMAbs{position:absolute; width:10; height:10; left:0; top:0; visibility:hidden}
.clT,.clTover,.clS,.clSover,.clS2,.clS2over{position:absolute; overflow:hidden; width:80 px; height:15; cursor:pointer; cursor:hand}
.clT,.clTover{padding:4px; font-size:10px; font-weight:bold}
.clT{color:white; }
.clTover{color:#FCCE55;}
.clS,.clSover{padding:2px; font-size:10px; font-weight:bold}
.clS2,.clS2over{padding:2px; font-size:10px;}
.clS,.clS2{color:#006699; background-color:#CDDBEB; layer-background-color:#CDDBEB;}
.clSover,.clS2over{color:#FCCE55;}
.clSover,.clS2over,.clTover,.clB,.clBar{layer-background-color:#336699; background-color:#336699;}
.clB{position:absolute; visibility:hidden; z-index:0}
.clBar{position:absolute; width:10; height:10; visibility:hidden; }