»
AnglaisFran�aisVietnamien

Imprimer - Drop It effet - JavaScriptBank.com

Version compl�te: jsB@nk » Texte » Animation » Drop It effet
URL: https://www.javascriptbank.com/drop-it-effect.html

Drop It effet © JavaScriptBank.comCet JavaScript fait "l'ombre" de texte à déplacer itseft

Version compl�te: jsB@nk » Texte » Animation » Drop It effet
URL: https://www.javascriptbank.com/drop-it-effect.html



CSS
<style type="text/css"><!--#dropText {width:500px; height:100px; font-size:36px; filter:dropShadow(offX=50,offY=50)}--></style><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


JavaScript
<script language="Javascript" type="text/javascript"><!-- Hide script from older browsersfunction doDrop(xCoord, yCoord) {    if (document.all && xCoord > 1) {xCoord -= 1    yCoord -= 1    document.all.dropText.style.filter="dropShadow(offX=" + xCoord+ ", offY=" + yCoord + ")"    setTimeout("doDrop(" + xCoord + "," + yCoord + ")", 100)    }}// End hiding script --></script><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<body onload="doDrop(50,50)"><div id="dropText"><b>Reload this page to run again</b><br>JavaScriptBank.com</div></body><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->