总说缺少对象,是什么原因?如何改??关于swapimage

girlsjj 2004-08-09 01:21:04
<%
String rootDirectory=(String)request.getContextPath();
%>


<body leftmargin="0" topmargin="0" onLoad="MM_preloadImages('<%=rootDirectory%>/image/intro_on.JPG')">
<table width="15.5%" height="100%" border=2 cellspacing=0 cellpadding=0 background=<%=rootDirectory%>/image/left.gif>

<tr>
<td height="30%"></td>
</tr>
<tr>
<td height="30%" valign=top align=right>

<a href="<%=rootDirectory%>/jsp/producer.jsp" onMouseOver="MM_swapImage('Image15','','<%=rootDirectory%>/image/intro_on.jpg',1)" onMouseOut="MM_swapImgRestore()"> //从<a>到这里
<img src="<%=rootDirectory%>/image/intro.jpg" alt="Summary" name="Image13" width="104" height="39" border="0">
</a>

</td>
</tr>
<tr>
<td height="30%" valign=top></td></tr>
</table>
</body>
...全文
99 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
hanwei39 2004-08-09
  • 打赏
  • 举报
回复
楼上大侠,那么MM_swapImgRestore()这个函数也没定义啊?
woyingjie 2004-08-09
  • 打赏
  • 举报
回复
<body leftmargin="0" topmargin="0" onLoad="MM_preloadImages('<%=rootDirectory%>/image/intro_on.JPG')">

<body>里调用函数MM_preloadImages()
不存在

87,910

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧