Back to Scripts page
Click in the box below, select all and copy to grab the script
<HTML> <HEAD> <TITLE>Drop it!</TITLE> <SCRIPT LANGUAGE=JAVASCRIPT> <!-- Hide script from older browsers // This script copyright 1997, Tom Negrino and Dori Smith. // This script is from "JavaScript for the WWW, Visual QuickStart Guide, 2nd Ed." // For more information, see <http://www.chalcedony.com/javascript/>. // This script may be used and modified, but the copyright notice must remain intact. function 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> <STYLE> #dropText {width:420; height:100; font-size:36pt; filter:dropShadow(offX=50,offY=50)} </STYLE> </HEAD> <BODY BGCOLOR="WHITE" onLoad="doDrop(50,50)"> <DIV ID="dropText">Drop it!</DIV> </BODY> </HTML>