图像由黑白变彩色
时间:[2008-12-7 3:02:55] 作者:请作者尽快与我们联系。
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>奋斗网络 FenDou163.Cn</title>
<SCRIPT>
function doTrans(filterCode)
{
imgObj.filters[0].apply();
oImg.style.filter = filterCode
imgObj.filters[0].play();
}
</SCRIPT>
</head>
<body>
<p><SPAN id="imgObj" onmouseleave='doTrans("gray")' style="FILTER: progid:DXImageTransform.Microsoft.Fade(Overlap=1.00); WIDTH: 1px" onmouseenter='doTrans("")'><IMG id='oImg' style="FILTER: gray" src="/adminis/WebEditor/UploadFile/20081273254420.gif" _fcksavedurl="/adminis/WebEditor/UploadFile/20081273254420.gif"> </SPAN></p>
<h3>图像由黑白变彩色</h3>
<h3><font color="#0000FF">说明</font>:鼠标经过时,图片由黑白慢慢变成彩色</h3>
<p>使用方法:把head和body区域内代码加入到相应位置即可,注意效果示例图片的相对路径.</p>
</body>
</html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>奋斗网络 FenDou163.Cn</title>
<SCRIPT>
function doTrans(filterCode)
{
imgObj.filters[0].apply();
oImg.style.filter = filterCode
imgObj.filters[0].play();
}
</SCRIPT>
</head>
<body>
<p><SPAN id="imgObj" onmouseleave='doTrans("gray")' style="FILTER: progid:DXImageTransform.Microsoft.Fade(Overlap=1.00); WIDTH: 1px" onmouseenter='doTrans("")'><IMG id='oImg' style="FILTER: gray" src="/adminis/WebEditor/UploadFile/20081273254420.gif" _fcksavedurl="/adminis/WebEditor/UploadFile/20081273254420.gif"> </SPAN></p>
<h3>图像由黑白变彩色</h3>
<h3><font color="#0000FF">说明</font>:鼠标经过时,图片由黑白慢慢变成彩色</h3>
<p>使用方法:把head和body区域内代码加入到相应位置即可,注意效果示例图片的相对路径.</p>
</body>
</html>
【声明】本站刊载的《图像由黑白变彩色》一文如果有侵害你权益的情况,请联系我们。我们将及时采取措施。
QQ:44637339 Email:just6@163.com Tel:13355163107 Lining studios