逐梦论坛's Archiver

shillan 发表于 2006-11-14 23:01

页面显示的图片是模糊的,但是鼠标放上去图片就清晰

<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>&lt;script language="javascript"&gt;
&lt;!--
function makevisible(cur,which){
if (which==0)
cur.filters.alpha.opacity=100
else
cur.filters.alpha.opacity=20
}

//--&gt;

&lt;/script&gt;

&lt;img src="1.jpg" style="filter:alpha(opacity=20)" onmouseover="makevisible(this,0)" onmouseout="makevisible(this,1)"&gt;
        </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]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.