2、图片渐隐特效

2、图片渐隐特效

<!--将以下代码加入HTML<Body></Body>之间-->

 

<SCRIPT language="JavaScript">

<!--

function makevisible(cur,which){

if (which==0)

cur.filters.alpha.opacity=100

else

cur.filters.alpha.opacity=20

}

//-->

</SCRIPT>

<img src="j2.gif"

style="filter:alpha(opacity=20)"

onMouseOver="makevisible(this,0)"

onMouseOut="makevisible(this,1)">

 

Write a comment

Comments: 0