图片若隐若现

 

 1、在<body>与</body>区域中加入图片和位置控制代码:
<span style="position: absolute; left: 80; top: 100">
<span style="position: absolute; left: 35; top: 1">

<img id="me1" style="filter: alpha(Opacity=100, FinishOpacity=100, style=0)" src="images05/zyzp025-4.jpg" width="550" height="677">&nbsp;</span></span>


2、在<body>与</body>区域中加入代码:
<script language="vbscript"> 
dim i 
i=100 
dim di 
di=4 
sub window_onload() 
'msgbox "ok" 
me1.filters.alpha.opacity=i 
i=i-di 
if i=0 or i=100 then di=-di 
window.settimeout "window_onload()",100 
end sub 
</script>

  上一页 | 返回首页 | 下一页