Back to Scripts page
Click in the text area below, select all and copy to grab the script
Script listing:
<HTML> <HEAD> <TITLE>Shadow it!</TITLE> <SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT"> <!-- Hide script from older browsers 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 TYPE="TEXT/CSS"> #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>