JavaScript and DHTML Wizardry
|
|
JavaScript and CSS1--Internet Explorer
<SCRIPT>
function doShadow(newDirection) {
if (document.all && newDirection< 360) {
newDirection += 10
document.all.dropText.style.filter=
"shadow(direction=" + newDirection + ")"
setTimeout("doShadow(" + newDirection + ")", 100)
}
}
</SCRIPT>
<STYLE>
#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>