日期:2014-05-16  浏览次数:20340 次

哎?这个tr的onmouseover事件是怎么写的?????

刷新   |   全文检索   |   搜索   |   提问|   未解决   |   已解决   |   精华区   |   FAQ   |   专题   |   帮助  


的FAQ里的TR,这种渐变,变色的效果是怎么做出来的??

------解决方案--------------------
看到个
<html>
<head>
<meta http-equiv= "Content-Type " content= "text/html; charset=gb2312 ">
<title> 表格渐显 </title>
<style type= "text/css ">
<!--
.page_table {
filter: Alpha(Opacity=100, FinishOpacity=0, Style=1, StartX=0, StartY=0, FinishX=0, FinishY=140);
}
-->
</style>
</head>
<body>
<table id= "tabbb " style= "visibility:hidden;width:285;height:140; " border= "0 " cellspacing= "0 " cellpadding= "0 " bgcolor= "#FF0000 " class= "page_table " >
<tr>
<td>   </td>
</tr>
</table>
</body>
</html>
<script language= "javascript ">
<!--
function gon2(){
var showInterval = 2;
objx = document.getElementById( "tabbb ");
objx.style.clip = "rect( "+T+ "px 285px "+originalT+ "px 0px) ";
if(T> =0)
{
T-= 5;
setTimeout( "gon2() ", showInterval);
}
}
//-->
</script>
<script language= "javascript ">
<!--
var originalT;
var T;
originalT = document.getElementById( "tabbb ").offsetHeight;
T = originalT - 1;
document.getElementById( "tabbb ").style.visibility = 'visible ';
gon2();
//-->
</script>

------解决方案--------------------
filter: Alpha(Opacity=100, FinishOpacity=0, Style=1, StartX=0, StartY=0, FinishX=0, FinishY=140);
虑镜,好像这个w3c不提倡使用
------解决方案--------------------
源码太多,没细看,俺猜应该用的是 背景色延时渐变!