打开页面,在浏览器左下角总出现错误错误信息,展开后显示"motionbanner未定义",哪位达人能救命呀,不胜感激!

来源:百度知道 编辑:UC知道 时间:2024/06/17 20:59:09
以下是代码片断,望高手救命(偶被折磨痛苦死了):
<div id="motionbanner" style="width:147px; height:289px; position:absolute; left:0px; top:10px; z-index:1;">
<table width="16%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/logo_01.gif" width="147" height="38"></td>
</tr>
<tr>
<%set myrs=server.CreateObject("adodb.recordset")
myrs.open"select * from advers where admark='7'",conn,1,1
%>
<td align="center" background="images/logo_05.gif"><a href="<%=myrs("adlink")%>" target="_blank"><img src="<%=myrs("adimage")%>" border="0">

如果第一行中的 id="motionbanner" ,对你页面没什么实际作用,直接把它删除就可以了。
<div style="width:147px; height:289px; position:absolute; left:0px; top:10px; z-index:1;">