|
<h1>DROP SHADOW
<script type = "text/javascript">
<!--
function run()
{
eX = event.offsetX;
eY = event.offsetY;
xCoordinate = Math.round(
eX-event.srcElement.width / 2, 0 );
yCoordinate = Math.round(
eY-event.srcElement.height / 2, 0 );
dsImg.filters( "dropShadow" ).offx = xCoordinate
/ -3;
dsImg.filters( "dropShadow" ).offy = yCoordinate
/ -3;
dsImg.filters( "light" ).moveLight( 0, eX,
eY, 125, 1 );
}
</script>
NOTE: This only works with Internet Explorer 5.5,
and on.
</p>
<div align="center"><img id = "dsImg"
src = "nos_project_graphic01.gif"
style = "top: 100; left: 100; filter: dropShadow(
offx = 0, offy = 0, color = black )"
onmousemove = "run()" alt = "Circle Image"
width="550" height="406" /></div>
|