Back to Scripts page
Click in the box below, select all and copy to grab the script
<HTML> <HEAD> <TITLE>Shadow 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 doShadow(newDirection) { if (document.all && newDirection< 360) { newDirection += 10 document.all.dropText.style.filter="shadow(direction=" + newDirection + ")" setTimeout("doShadow(" + newDirection + ")", 100) } } // End hiding script --> </SCRIPT> <STYLE> #dropText {width:500; height:100; font-size:36pt; filter:shadow(direction=90)} </STYLE> </HEAD> <BODY BGCOLOR="WHITE" onLoad="doShadow(90)"> <DIV ID="dropText">Me and my shadow...</DIV> </BODY> </HTML>