鼠标划过图片变亮

<SCRIPT language="JavaScript">

function makevisible(cur,which){
if (which==0)
cur.filters.alpha.opacity=200
else
cur.filters.alpha.opacity=20
}



</SCRIPT>

页面显示的图片是模糊的,但是鼠标放上去图片就清晰了<BR>
<img src="f://c.jpg" style="filter:alpha(opacity=20)" onmouseover="makevisible(this,0)"  onmouseout="makevisible(this,1)">

你可能感兴趣的:(图片)