页面显示的图片是模糊的,但是鼠标放上去图片就清晰
<table cellspacing=0 cellpadding=0 width=710 align=center border=0><tbody>
<tr>
<td valign=center align=middle width=696 bgcolor=#ffffff height=9>
<p>页面显示的图片是模糊的,但是鼠标放上去图片就清晰<br>
<script language=javascript>
<!--
function makevisible(cur,which){
if (which==0)
cur.filters.alpha.opacity=100
else
cur.filters.alpha.opacity=20
}
//-->
</script>
<img onmouseover=makevisible(this,0) style="filter: alpha(opacity=20)" onmouseout=makevisible(this,1) src="http://www.toto369.net/txtx/1.jpg"> </p></td>
<td width=7 background=../image/bgimg_right.gif height=9></td></tr></tbody></table>
<div></div>
<div>加入如下代码到body区域<br><textarea class=yk9 name=source rows=12 cols=100><script language="javascript">
<!--
function makevisible(cur,which){
if (which==0)
cur.filters.alpha.opacity=100
else
cur.filters.alpha.opacity=20
}
//-->
</script>
<img src="1.jpg" style="filter:alpha(opacity=20)" onmouseover="makevisible(this,0)" onmouseout="makevisible(this,1)">
</textarea> <br><input onclick=source.select() type=button value=选取代码 name=b2>
<script language=javascript>
<!--
function closeclk() {
another=close();
}
//-->
</script>
<input onclick=closeclk() type=button value=关闭窗口 name=b22></div>
页:
[1]