var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>
<body onLoad="MM_preloadImages('images/bg_menu_down.gif','images/browser_back.gif','images/browser_forward.gif','images/browser_refresh.gif','images/browser_close.gif')" onselectstart="return false" onkeydown="KeyDown()" oncontextmenu="event.returnValue=false">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr background="images/bg_top.gif">
<td colspan="4" background="images/bg_top.gif"><table width="101%" height="55" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="56%" height="55"><img src="images/_1_r2_c3_r2_c3.gif" width="372" height="54"></td>
<td width="44%" align="center"><table width="444" border="0" align="right" cellpadding="0" cellspacing="0">
<tr align="center">
<td width="135"><a hidefocus href="" target="_parent" onMouseOver="MM_swapImage('home','','images/browser_frontpage.gif',1)" onMouseOut="MM_swapImgRestore()"></a></td>
<td width="79"><a href="javascript:history.back(1)" target="_parent" onMouseOver="MM_swapImage('goback','','images/browser_back.gif',1)" onMouseOut="MM_swapImgRestore()" hidefocus><img src="images/browser_back_.gif" alt="后退" name="goback" width="29" height="55" border="0"></a></td>
<td width="67"><a hidefocus href="javascript:history.forward(1)" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('goforward','','images/browser_forward.gif',1)"><img src="images/browser_forward_.gif" alt="前进" name="goforward" width="29" height="55" border="0"></a></td>
<td width="85"><a hidefocus href="# " target="_parent" onClick="window.dialogArguments.location.reload(); "onMouseOver="MM_swapImage('refresh','','images/browser_refresh.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="images/browser_refresh_.gif" alt="刷新" name="refresh" width="29" height="55" border="0"></a></td>
<td width="78"><a hidefocus href="javascript:window.close()" target="_parent" onMouseOver="MM_swapImage('close','','images/browser_close.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="images/browser_close_.gif" alt="关闭" name="close" width="29" height="55" border="0"></a><a hidefocus href="main.htm" target="_parent" onMouseOver="MM_swapImage('map','','images/browser_map.gif',1)" onMouseOut="MM_swapImgRestore()"></a></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
參考答案:就是交换图片的效果,很多站点都有,
他通过鼠标的mouseover()和mouseout()事件来激发换图的代码,你贴的代码也不全,从那个MM_来看,好像DM自动生成的。