Indonesia
<!-- http://www.downcodes.com/js --> <!-- bbs http://www.downcodes.com/bbs--> <!-- Kode HTML selengkapnya adalah sebagai berikut -- > 1 .Pertama masukkan kode berikut di antara <head> dan </head><br> <style type="text/css"> #floater { position: absolute; top: 146; : terlihat; z-index: 10; } --> </style> <br> <br> 2. Masukkan kode berikut di mana saja di badan <div ID="floater" style="left: 590px; top: 158px "> <p align="center"> <img src="/img/200406301.jpg" width="127" height="150"><br> <font color="#FF8040">Selamat datang</font > </p> </div><script LANGUAGE="JavaScript"> self.onError=null; currentX = currentY = 0; yang mana = null; lastScrollY = 0; 0; IE = (dokumen.semua) ? 1: 0; <!-- KODE STALKER --> fungsi heartBeat() { if(IE) { diffY = dokumen.body.scrollTop; if(NS) { diffY = self.pageYOffset; diffX = self.pageXOffset; } if(diffY != lastScrollY) { persen = 0,1 * (diffY - lastScrollY); ); else persen = Math.floor(persen); if(IE) document.all.floater.style.pixelTop += persen; if(NS) document.floater.top += persen; lastScrollY = lastScrollY + persen; (diffX != lastScrollX) { persen = .1 * (diffX - lastScrollX); if(persen > 0) persen = Math.ceil(persen); else persen = Math.floor(persen); .floater.style.pixelLeft += persen; if(NS) document.floater.left += persen; lastScrollX = lastScrollX + persen; > fungsi checkFocus(x,y) { penguntitx = dokumen.floater.pageX; penguntit = dokumen.floater.pageY; penguntitx = dokumen.floater.clip.width; penguntit = dokumen.floater.clip.height; penguntitx && x < (penguntitx+lebar penguntit)) && (y > penguntit && y < (penguntit+tinggi penguntit))) mengembalikan nilai benar; jika tidak, kembalikan salah } function grabIt(e) { if(IE) { yang mana = event.srcElement ; while (whichIt.id.indexOf("floater") == -1) { yang mana = yang mana.parentElement; jika (yang mana == null) { kembalikan benar; } } gaya yang mana.pixelLeft = yang mana.offsetLeft; .pixelTop = yangIt.offsetTop; currentX = (event.clientX + document.body.scrollLeft); currentY = (event.clientY + document.body.scrollTop } else { window.captureEvents(Event.MOUSEMOVE); (e.pageX,e.pageY)) { yang mana = dokumen.floater; StalkerTouchedX = e.pageX-document.floater.pageX; StalkerTouchedY = e.pageY-document.floater.pageY; e) { if (whichIt == null) { return false; } if(IE) { newX = (event.clientX + document.body.scrollLeft); (newX - currentX); distanceY = (newY - currentY); currentX = newX; currentY = newY; yang mana.style.pixelLeft += yang mana.style.pixelTop += jarakY; body.scrollTop) yangIt.style.pixelTop = dokumen.body.scrollTop; if(whichIt.style.pixelLeft < document.body.scrollLeft) yangIt.style.pixelLeft = dokumen.body.scrollLeft; document.body.offsetWidth - document.body.scrollLeft - yang.style.pixelWidth - 20) yang.style.pixelLeft = document.body.offsetWidth - yang.style.pixelWidth - 20; body.offsetHeight + document.body.scrollTop - yang.style.pixelHeight - 5) yang.style.pixelTop = dokumen.body.offsetHeight + dokumen.body.scrollTop - yangIt.style.pixelHeight - 5; } else { yangItu.moveTo(e.pageX-StalkerTouchedX,e.pageY-StalkerTouchedY); if(whichIt.left < 0+self.pageXOffset) yang mana.kiri = 0+self.pageXOffset; self.pageYOffset) yangIt.top = 0+self.pageYOffset; if( (yangIt.kiri + yangItu.clip.width) >= (window.innerWidth+self.pageXOffset-17)) yangIt.kiri = ((window.innerWidth +self.pageXOffset)-whichIt.clip.width)-17; if( (whichIt.top + yangIt.clip.height) >= (window.innerHeight+self.pageYOffset-17)) yangIt.top = ((window . innerHeight+self.pageYOffset)-whichIt.clip.height)-17; mengembalikan salah; } mengembalikan salah; } fungsi dropIt() { yang mana = null; if(NS) window.releaseEvents (Event.MOUSEMOVE); <!-- DRAG DROP CODE --> if(NS) { window.captureEvents(Event.MOUSEUP|Event.MOUSEDOWN); window.onmousedown = ambilIt; window.onmousemove = moveIt; ) { dokumen.onmousedown = ambilIt; dokumen.onmousemove = moveIt; dokumen.onmouseup = dropIt; } if(NS || YAITU) tindakan = window.setInterval("heartBeat()",1); <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> > <br><br><br> <p><font color=red>//Harap tunjukkan sumber untuk mencetak ulang: Website Building Academy. </font></p>