| 一、把<body>改为<body id="mybody" style="filter:light(enabled=1);" bgcolor="#ffffff" text="#000000">
二、在<body></body>之间加入: <div id="Layer1" style="height: 32; left: 66; position: absolute; top: 41; width: 52"> <dd> <div align="right"> <img src="http://www.qqbye.com/gif/UploadFiles_gif/200711/20071111023344509.gif" > </div> </dd> </div>
三、在</body>前加入: <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"> //这是使图层移动的函数 function move_layer() { Layer1.style.left=event.clientX+document.body.scrollLeft-60; Layer1.style.top=event.clientY+document.body.scrollTop-20; } //这里的意思是,如果鼠标移动时就调用"move_layer"函数 document.onmousemove =move_layer; </script>
示例: http://www.qqbye.com/demo/mouse/mouse-001.htm

火的素材: http://www.qqbye.com/gif/transparent/200711/gif_10219.html
|