Thunder Lizard JavaScript Conference |
<SCRIPT LANGUAGE=JAVASCRIPT> function doShadow(newDirection) { if (document.all && newDirection< 360) { newDirection += 10 document.all.dropText.style.filter="shadow(direction=" + newDirection + ")" setTimeout("doShadow(" + newDirection + ")", 100) } } </SCRIPT> <STYLE type="text/css"> #dropText {width:500; height:100; font-size:36pt; filter:shadow(direction=90)} </STYLE>
<BODY BGCOLOR="WHITE" onLoad="doShadow(90)"> : <DIV ID="dropText">Me and my shadow...</DIV>