下面的代碼,我鼠標連續移動的時候,漸變效果不生效,請問應該怎樣修改代碼<html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<script language=JavaScript type="text/javascript">function high(which2){theobject=which2
highlighting=setInterval("highlightit(theobject)",10)}
function low(which2){theobject=which2
lowlighting=setInterval("lowlightit(theobject)",10)}
function lowlightit(cur2){if (cur2.filters.alpha.opacity>55)
cur2.filters.alpha.opacity -=2
else if (window.lowlighting)
clearInterval(lowlighting)
}
function highlightit(cur2){if (cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity +=2
else if (window.highlighting)
clearInterval(highlighting)
}
//-->
</script>
</head><body style="background-color:#ffffff"><p align="center"><a href="www.163.com"><IMG align=middle alt="" border=0 height=88 onmouseout="low(this)" onmouseover="high(this)" src="http://www.fjtjw.com/upfiles/mydown/201002/20100227091917286.jpg" style="FILTER: alpha(opacity=20);" width="170"></a>
</p>
<p align="center"><a href="www.163.com"><IMG align=middle alt="" border=0 height=88 onmouseout="low(this)" onmouseover="high(this)" src="http://www.fjtjw.com/upfiles/mydown/201002/20100227091917286.jpg" style="FILTER: alpha(opacity=20);" width="170"></a>
</p>
<p align="center"><a href="www.163.com"><IMG align=middle alt="" border=0 height=88 onmouseout="low(this)" onmouseover="high(this)" src="http://www.fjtjw.com/upfiles/mydown/201002/20100227091917286.jpg" style="FILTER: alpha(opacity=20);" width="170"></a>
</p>
<p align="center"><a href="www.163.com"><IMG align=middle alt="" border=0 height=88 onmouseout="low(this)" onmouseover="high(this)" src="http://www.fjtjw.com/upfiles/mydown/201002/20100227091917286.jpg" style="FILTER: alpha(opacity=20);" width="170"></a>
</p>
<p align="center"><a href="www.163.com"><IMG align=middle alt="" border=0 height=88 onmouseout="low(this)" onmouseover="high(this)" src="http://www.fjtjw.com/upfiles/mydown/201002/20100227091917286.jpg" style="FILTER: alpha(opacity=20);" width="170"></a>
</p>
</body>
</html></html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<script language=JavaScript type="text/javascript">function high(which2){theobject=which2
highlighting=setInterval("highlightit(theobject)",10)}
function low(which2){theobject=which2
lowlighting=setInterval("lowlightit(theobject)",10)}
function lowlightit(cur2){if (cur2.filters.alpha.opacity>55)
cur2.filters.alpha.opacity -=2
else if (window.lowlighting)
clearInterval(lowlighting)
}
function highlightit(cur2){if (cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity +=2
else if (window.highlighting)
clearInterval(highlighting)
}
//-->
</script>
</head><body style="background-color:#ffffff"><p align="center"><a href="www.163.com"><IMG align=middle alt="" border=0 height=88 onmouseout="low(this)" onmouseover="high(this)" src="http://www.fjtjw.com/upfiles/mydown/201002/20100227091917286.jpg" style="FILTER: alpha(opacity=20);" width="170"></a>
</p>
<p align="center"><a href="www.163.com"><IMG align=middle alt="" border=0 height=88 onmouseout="low(this)" onmouseover="high(this)" src="http://www.fjtjw.com/upfiles/mydown/201002/20100227091917286.jpg" style="FILTER: alpha(opacity=20);" width="170"></a>
</p>
<p align="center"><a href="www.163.com"><IMG align=middle alt="" border=0 height=88 onmouseout="low(this)" onmouseover="high(this)" src="http://www.fjtjw.com/upfiles/mydown/201002/20100227091917286.jpg" style="FILTER: alpha(opacity=20);" width="170"></a>
</p>
<p align="center"><a href="www.163.com"><IMG align=middle alt="" border=0 height=88 onmouseout="low(this)" onmouseover="high(this)" src="http://www.fjtjw.com/upfiles/mydown/201002/20100227091917286.jpg" style="FILTER: alpha(opacity=20);" width="170"></a>
</p>
<p align="center"><a href="www.163.com"><IMG align=middle alt="" border=0 height=88 onmouseout="low(this)" onmouseover="high(this)" src="http://www.fjtjw.com/upfiles/mydown/201002/20100227091917286.jpg" style="FILTER: alpha(opacity=20);" width="170"></a>
</p>
</body>
</html></html>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货