<SCRIPT LANGUAGE="JavaScript" >
<!--
function mouseover(){
event.srcElement.style.background="#66CC66"; //"#ccffff";
-----------
这儿
event.srcElement.style.cursor = "hand";
} function mouseout(){
event.srcElement.style.background="page2/top_bg1.gif";
event.srcElement.style.cursor = "auto";
}
//-->
</SCRIPT>
<!--
function mouseover(){
event.srcElement.style.background="#66CC66"; //"#ccffff";
-----------
这儿
event.srcElement.style.cursor = "hand";
} function mouseout(){
event.srcElement.style.background="page2/top_bg1.gif";
event.srcElement.style.cursor = "auto";
}
//-->
</SCRIPT>
<!--
function mouseover(){
document.body.bgColor="#c1c1c1"; //"#ccffff";
document.body.style.cursor = "hand";
} function mouseout(){
document.body.background="curve_003399.gif";
document.body.style.cursor = "auto";
}
//-->
</SCRIPT>
<html><head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>新建网页 2</title>
</head><body><table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="902" id="AutoNumber1">
<tr>
<td width="87"> </td>
<td width="812" align="center" onmouseover="mouseover();" onmouseout="mouseout();">网站资源</td>
</tr>
</table></body></html>
只要重复两次onmouseover,onmouseout你的背景没有变化了。RE 007james(苏乞儿) ( ) :
你的文法不行,还是一样的。--------------------------------
因为这里要是background都是color的变,是没问题的,但多了一个图片就出现这种问题了。