Indonesia
<!-- http://www.downcodes.com --> <!-- bbs http://www.downcodes.com/bbs--> <!--Untuk menyelesaikan efek ini, diperlukan dua langkah langkah pertama : Tambahkan kode berikut pada area <body> --> <style> body,td,a {font-size:9pt;color:black} .none{border:black 1px solid;background:D9D9D9;padding- atas: 2} .over {border:black 1px solid;background:707888;color:white;padding-top:2} </style> <div style="position:absolute; kiri: 100; atas: 20; lebar: 1; tinggi: 1;kursor: tangan" ID=pesawat onmousedown="bawah=true;divleft=event.clientX-parseInt(plane.style.left);divtop=event.clientY-parseInt(plane.style.top)" onmouseup= "bawah=false"> <div align=center style="position:absolute; kiri:220px; atas:3px; lebar:100px; tinggi:19px; z-index:1;color:white;background:707888; kursor: move"onmouseover='stopTimerline();menuItemIn()' onmouseout='runTimerline()' class="none">Menu yang dapat diseret</div> <div align=center id="item11" style="position: absolute ; kiri:120px; atas:25px; lebar:99px; tinggi:19px; z-index:2; filter:alpha(opacity=0)" onmouseover="ini.className='over'; this.className='none';runTimerline()" class="none" >Item menu satu</div> <div align=center id="item12" style="position:absolute; lebar:99px; tinggi:19px; z-index:3;filter:alpha(opacity=0)" class=none onmouseover="this.className='over';stopTimerline()" onmouseout="this.className=' tidak ada ';runTimerline()">Item menu dua</div> <div align=center id="item13" style="position:absolute; atas:69px lebar:99px; :4; filter:alpha(opacity=0)" class=none onmouseover="this.className='over';stopTimerline()" onmouseout="this.className='none';runTimerline()">Item menu tiga < /div> <div align=center id="item14" style="position:absolute; kiri:320px; atas:91px; lebar:99px; tinggi:19px; z-index:5;filter:alpha(opacity=0 ) " class=none onmouseover="this.className='over';stopTimerline()" onmouseout="this.className='none';runTimerline()">Item menu empat</div> <div align=center id= " item15" style="posisi:absolute; kiri:120px; atas:113px; lebar:99px; tinggi:19px:6; filter:alpha(opacity=0)" class=none onmouseover="this.className = 'over';stopTimerline()" onmouseout="this.className='none';runTimerline()">Item menu lima</div> </div><script> //Menu animasi var currTimerlinePoint=0 var totalTimerlineFrames= 2 var timerlineTimer var leftLine = 50 var timerIn var timerOut var timerlineArray = new Array() timerlineArray[0]='' timerlineArray[1]='menuItemOut()' function runTimerline() { window.timerlineTimer = setTimeout('menuItemOut() ' ,500) } fungsi stopTimerline() { clearTimeout(window.timerlineTimer) } fungsi menuItemIn() { if( leftLine != 150) { item11.style.pixelLeft += 20; item11.filters.alpha.opacity += 20 item12 . style.pixelLeft -= 20; item12.filters.alpha.opacity += 20 item14.style.pixelLeft += 20; item14.filter .opacity += 20 item15.style.pixelLeft += 20; item15.filters.alpha.opacity += 20 leftLine += 20 } else { clearTimeout(window.timerIn) return false } timerIn=window.setTimeout('menuItemIn( ) ',1) } fungsi menuItemOut() { clearTimeout(window.timerIn) if (leftLine != 50) { item11.style.pixelLeft -= 20; item11.filters.alpha.opacity -= 20 item12.style.pixelLeft + = 20; item12.filters.alpha.opacity -= 20 item13.style.pixelLeft -= 20; item13.filters.alpha.opacity -= 20 item14.style.pixelLeft += 20; item15.style.pixelLeft -= 20; item15.filters.alpha.opacity -= 20 LeftLine -= 20 } else { clearTimeout(window.timerOut) mengembalikan false; } timerOut=window.setTimeout("menuItemOut()",1 ) } self.moveTo(0,0) self.resizeTo(screen.availWidth,screen.availHeight) //Pindahkan lapisan var ke atas=false,down=false,divleft,divtop;function move(){if(down){plane . style.left=event.clientX-divleft;plane.style.top=event.clientY-divtop}} </script> <!--Langkah 2: Tambahkan "onmousemove="move()"" ke <body >Contoh di tag: --> <tubuh onmousemove="bergerak()">