Deutsch
<!-- http://www.downcodes.com/js --> <!-- bbs http://www.downcodes.com/bbs--> <!-- Der vollständige HTML-Code lautet wie folgt -- > 1. Fügen Sie zunächst den folgenden Code zwischen <head> und </head><br> ein: #floater { position: absolute; width: 176; : sichtbar; z-index: 10; } --> </style> <br> <br> 2. Fügen Sie den folgenden Code an einer beliebigen Stelle im Textkörper ein: <div ID="floater" style="left: 590px; top: 158px "> <p align="center"> <img src="/img/200406301.jpg" width="127" height="150"><br> <font color="#FF8040">Willkommen</font > </p> </div><script LANGUAGE="JavaScript"> self.onError=null; whichIt = null; lastScrollY = 0; 0; IE = (document.all) ? 0; <!-- STALKER CODE --> function heartBeat() { if(IE) { diffX = document.body.scrollLeft; if(NS) { diffY = self.pageYOffset; diffX = self.pageXOffset; } if(diffY != lastScrollY) { Percent = .1 * (diffY - lastScrollY); ); if(IE) document.floater.top += Percent; (diffX != lastScrollX) { Prozent = .1 * (diffX - lastScrollX); .floater.style.pixelLeft += Prozent; if(NS) document.floater.left += Prozent; lastScrollX = lastScrollX + Prozent; > function checkFocus(x,y) { stalkerx = document.floater.pageY; stalkerwidth = document.floater.clip.height; if( stalkerx && x < (stalkerx+stalkerwidth)) && (y > stalkery && y < (stalkerheight))) return true; else return false } function grabIt(e) { whichIt = event.srcElement ; while (whichIt.id.indexOf("floater") == -1) { whichIt = whichIt.parentElement; if (whichIt == null) { return true; whichIt.offsetLeft; .pixelTop = whichIt.offsetTop; currentX = (event.clientX + document.body.scrollLeft); currentY = (event.clientY + document.body.scrollTop); if( checkFocus). (e.pageX,e.pageY)) { whichIt = document.floater; e.pageX-document.floater.pageX; } return true; e) { if (whichIt == null) { return false; } if(IE) { newX = (event.clientX + document.body.scrollLeft); (newX - currentX); currentX = newX; currentY = newY; whichIt.style.pixelTop += distanceY; body.scrollTop) whichIt.style.pixelTop = document.body.scrollTop; if(whichIt.style.pixelLeft < document.body.scrollLeft) whichIt.style.pixelLeft = document.body.scrollLeft; if(whichIt.style.pixelLeft > document.body.offsetWidth - document.body.scrollLeft - WhichIt.style.pixelWidth - 20) whichIt.style.pixelLeft = document.body.offsetWidth - WhichIt.style.pixelWidth - 20; if(whichIt.style.pixelTop > document . body.offsetHeight + document.body.scrollTop - whichIt.style.pixelHeight - 5) whichIt.style.pixelTop = document.body.offsetHeight + document.body.scrollTop - whichIt.style.pixelHeight - 5; event.returnValue = false ; } else { whichIt.moveTo(e.pageX-StalkerTouchedX,e.pageY-StalkerTouchedY); if(whichIt.left < 0+self.pageXOffset) whichIt.left = 0+self.pageXOffset; if(whichIt.top < 0 + self.pageYOffset) whichIt.top = 0+self.pageYOffset; if( (whichIt.left + whichIt.clip.width) >= (window.innerWidth+self.pageXOffset-17)) whichIt.left = ((window. innerWidth +self.pageXOffset)-whichIt.clip.width)-17; if( (whichIt.top + whichIt.clip.height) >= (window.innerHeight+self.pageYOffset-17)) whichIt.top = ((window . innerHeight+self.pageYOffset)-whichIt.clip.height)-17; return false; <!-- DRAG DROP CODE --> if(NS) { window.captureEvents(Event.MOUSEUP|Event.MOUSEDOWN); window.onmousedown = grabIt; window.onmouseup = dropIt; ) { document.onmousedown = grabIt; document.onmouseup = dropIt; } if(NS || IE) action = window.setInterval("heartBeat()",1); <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> > <br><br><br> <p><font color=red>//Bitte geben Sie die Quelle für den Nachdruck an: Website Building Academy. </font></p>