<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>頁面燈光</title>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
</head>
<body id="mybody" style="filter:light(enabled=1);" bgcolor="#ffffff" text="#000000">
<div
id="Layer1" style="height: 32; left: 66; position: absolute; top: 41; width: 52">
<dd>
<div align="right">
<img src="蠟燭圖片路徑" width="29" height="30"> </div>
</dd>
</div>
<p align="center"><b><font size="5">網(wǎng)站制作學(xué)習(xí) </font></b>
</p>
<table border="0" width="100%">
<tr>
<td width="82%"><font face="宋體" color="#FF00FF" style="font-size: 9pt">
</font><span style="font-size: 9pt">
<br><br><br><br><br><br><br><br><br><center>網(wǎng)站制作學(xué)習(xí)
</center><br><br><br><br><br><br><br><br><br><br><br>
</span></td>
</tr>
</table>
<script language="vbscript">
dim red,gre,blu
dim x,y,z
red=255
gre=255
blu=0
z=100
sub window_onload()
call mybody.filters.light.addPoint(0,0,z,Red,Gre,Blu,100)
mybody.style.cursor="hand"
end sub
sub document_onmousemove()
x=window.event.x
y=window.event.y
call mybody.filters.Light.MoveLight(0, x, y, 100, 1)
end sub
</script>
<script language="javascript">
//這是使圖層移動的函數(shù)
function move_layer()
{
Layer1.style.left=event.clientX+document.body.scrollLeft-50;
Layer1.style.top=event.clientY+document.body.scrollTop-20;
}
//這里的意思是,如果鼠標(biāo)移動時(shí)就調(diào)用"move_layer"函數(shù)
document.onmousemove =move_layer;
</script>
</body>
</html>
更多信息請查看IT技術(shù)專欄