<html>
<head>
<title>s</title>
</head>
<script type="text/javascript">
function hello()
{
alert("ds");
}
function ss()
{
ct=window.setTimeout("hello()", 2000);
}
function dd()
{
window.clearTimeout(ct)
}
</script>
<BODY >
<table>
<tr>
<td οnmοuseοver="ss()" οnmοuseοut="dd()">
sdf</td>
<td>sfdsfs</td>
</tr>
<tr>
<td>dfs</td>
<td>ghf</td>
</tr>
</table>
</BODY>
</html>
转载于:https://www.cnblogs.com/j3eee/archive/2009/09/22/1571610.html