今天刚做好了网站,打开内容页后,内容如果是文字的话,则显示正常,如果内容页含有图片的话,下面提示错误:
行:398
字符:1
错误:缺少对象
代码:0
整个内容页的代码如下:
<html>
<head><title>{$GetArticleTitle}</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
A{TEXT-DECORATION: none;}
A:hover{COLOR: #CC0000;}
A:link {color: #000000;}
A:visited {color: #000000;}
BODY
{
FONT-SIZE: 9pt;background:#f6f6f6
}
TD
{
FONT-FAMILY:宋体;FONT-SIZE: 9pt;line-height: 150%;
}
Input
{
BACKGROUND-COLOR: #E7F7DB;
BORDER-BOTTOM: #007500 1px solid;
BORDER-LEFT: #007500 1px solid;
BORDER-RIGHT: #007500 1px solid;
BORDER-TOP: #007500 1px solid;
COLOR: #000000;
HEIGHT: 18px;
border-color: #007500 #007500 #007500 #007500; font-size: 9pt
}
Button
{
FONT-SIZE: 9pt;HEIGHT: 20px;
}
Select
{
FONT-SIZE: 9pt;HEIGHT: 20px;
}
.border
{
border: 1px solid #007500;
}
.border2
{
background:#ffffff;BORDER-bottom: #007500 1px solid;
}
.title_txt
{
background:url(Skin/5/topBar_bg_20.gif);
}
.title
{
background:url(Skin/5/title.gif);height: 22;
}
.tdbg
{
background:#ffffff;line-height: 150%;
}
.txt_css
{
background:url(Skin/5/txt_css.gif);height: 36;
}
.title_lefttxt
{
filter: DropShadow(Color=#ffffff, OffX=2, OffY=2, Positive=2)
}
.title_left
{
background:url(Skin/5/title_left1.gif);height: 26;
}
.tdbg_left
{
background:#E7F7DB
line-height: 150%;
}
.title_left2
{
background:#E7F7DB;height:8;
}
.tdbg_left2
{
background:url(Skin/5/tdbg_left2.gif);height: 13;
}
.tdbg_leftall
{
background:#E7F7DB;BORDER-left: #56B02B 1px solid; BORDER-right: #56B02B 1px solid;
}
.title_maintxt
{
color: #000000;filter:Glow(Color=#ffffff, Strength=3)
}
.title_main
{
background:url(Skin/5/title_main.gif);height: 22;
}
.tdbg_main
{
background:url(Skin/5/tdbg_main2.GIF);line-height: 100%;
}
.title_main2
{
background:url(Skin/5/maintop.gif);height: 202;
}
.tdbg_main2
{
background:url(Skin/5/tdbg_main3.GIF);height: 27;
}
.tdbg_mainall
{
background:url(Skin/5/kt01-p1.GIF);
}
.title_righttxt
{
filter: DropShadow(Color=#ffffff, OffX=2, OffY=2, Positive=2)
}
.title_right
{
background:url(Skin/5/title_right1.gif);height: 26;
}
.tdbg_right
{
background:#F2FBEB;
}
.title_right2
{
background:url(Skin/5/title_main.gif);height: 30;
}
.tdbg_right2
{
background:url(Skin/5/title_main.gif);height: 30;
}
.tdbg_rightall
{
background:#E7F7DB;BORDER: #56B02B 1px solid;
}
.topborder
{
background-image: url(Skin/5/topborder.gif);
}
.nav_top
{
background-image: url(Skin/5/nav_top.gif);height: 25;, background-image: url(Skin/5/nav_top.gif);height: 25;, background-image: url(Skin/5/nav_top.gif);height: 25;, background-image: url(Skin/5/nav_top.gif);height: 25;
}
.nav_main
{
line-height: 150%;background:url(Skin/5/nav_main.gif);
line-height: 150%;height: 134;
}
.nav_bottom
{
}
.nav_menu
{
background:url(Skin/5/nav_menu.gif);height: 24;
}
.menu
{
background-color: #56B02B;width:97%;border: 1px;
}
td.MenuBody
{
background-color: #E7F7DB;
}
</style>
<script language="JavaScript" type="text/JavaScript">
function HideMenu()
{
}
</script>
<script type='text/javascript' language='JavaScript1.2' src='stm31.js'></script>
<script language="JavaScript" type="text/JavaScript">
//双击鼠标滚动屏幕的代码
var currentpos,timer;
function initialize()
{
timer=setInterval ("scrollwindow ()",30);
}
function sc()
{
clearInterval(timer);
}
function scrollwindow()
{
currentpos=document.body.scrollTop;
window.scroll(0,++currentpos);
if (currentpos !=document.body.scrollTop)
sc();
}
document.onmousedown=sc
document.ondblclick=initialize
</script>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
</head>
<body leftmargin=0 topmargin=0 onmousemove='HideMenu()' oncontextmenu="return false" ondragstart="return false" onselectstart ="return false" onselect="document.selection.empty()" oncopy="document.selection.empty()" onbeforecopy="return false" onmouseup="document.selection.empty()">
<noscript><iframe src=*></iframe></noscript>
<body>
<div id=menuDiv style='Z-INDEX: 1000; VISIBILITY: hidden; WIDTH: 1px; POSITION: absolute; HEIGHT: 1px; BACKGROUND-COLOR: #9cc5f8'></div>
<!--
<table width="960" height=25 border="0" align="center" cellpadding="0" cellspacing="0" style="border:solid 1px #FF9900" bgcolor=#FFA000>
<tr><td> <script language="JavaScript" type="text/JavaScript">
var day="";
var month="";
var ampm="";
var ampmhour="";
var myweekday="";
var year="";
mydate=new Date();
myweekday=mydate.getDay();
mymonth=mydate.getMonth()+1;
myday= mydate.getDate();
myyear= mydate.getYear();
year=(myyear > 200) ? myyear : 1900 + myyear;
if(myweekday == 0)
weekday=" 星期日 ";
else if(myweekday == 1)
weekday=" 星期一 ";
else if(myweekday == 2)
weekday=" 星期二 ";
else if(myweekday == 3)
weekday=" 星期三 ";
else if(myweekday == 4)
weekday=" 星期四 ";
else if(myweekday == 5)
weekday=" 星期五 ";
else if(myweekday == 6)
weekday=" 星期六 ";
document.write(year+"年"+mymonth+"月"+myday+"日 "+weekday);
</script>
</td>
<td align=right>
<table border="0" cellspacing="0" cellpadding="0" height="100%" align="right" width=220>
<tr valign="middle">
<td align="center"><img src="Images/home.gif" align="absmiddle" width="16" height="16"></td>
<td align="center"><a href="#" onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://ganygmex.lyge.cn')">设为首页</a></td>
<td align="center"><img src="Images/email.gif" align="absmiddle" width="16" height="17"></td>
<td align="center"><a href="mailto:lygfjw@126.com">联系站长</a></td>
<td align="center"><img src="Images/bookmark.gif" align="absmiddle" width="16" height="16"></td>
<td align="center"><a href="javascript:window.external.addFavorite('http://ganygmex.lyge.cn','江苏省赣榆县赣马镇第二中心小学')">加入收藏</a></td>
</tr>
</table>
</td></tr>
</table>
-->
<!--
<table width="960" border="0" align="center" cellpadding="0" cellspacing="0" class="tdbg">
<tr class="nav_top" style="display:none">
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
<td width="600" class="title_maintxt">
</td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" align="center" cellpadding="0" cellspacing="0">
<tr><td height="5"></td></tr><tr>
<td valign="middle">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr valign="middle">
<td width="250">
</td>
<td>
<div align="center">
</div></td>
</tr>
</table></td>
</tr>
<tr><td height="5"></td></tr>
</table></td>
</tr>
<tr><td><table width=100% hieght=50 border=0 cellpadding=0 cellspacing=0 align=center><tr>
<td width=10><img name="top_r4_c1" src="images/top_r4_c1.gif" width="10" height="50" border="0" alt=""></td>
<td background="images/top_r4_c2.gif">
</td>
<td width=10><img name="top_r4_c6" src="images/top_r4_c6.gif" width="10" height="50" border="0" alt=""></td>
</td></tr></table>
</td></tr>
</table>
-->
<table border="0" cellpadding="0" cellspacing="0" width="960" align=center>
<tr>
<td>
<emBED style="WIDTH: 960px; HEIGHT: 183px" src=http://ganygmex.lyge.cn/images/top.swf width=960 height=183 type=application/x-shockwave-flash></td>
</tr>
<tr>
<td><table align="left" border="0" cellpadding="0" cellspacing="0" width="960">
<tr>
<td>
<img id=index_top_4 height=40 alt="" src="http://ganygmex.lyge.cn/images/index_top_4.gif" width=240 border=0 name=index_top_4></td>
<td background="http://ganygmex.lyge.cn/images/index_top_5.gif" width="720" height="40" border="0" id="index_top_5" alt="" />
<table width=100% height=40 border=0 cellpadding=0 cellspacing=0 align=center>
<tr><td align=center><b>
<a style="font-size:14px;color:#206000" href="http://ganygmex.lyge.cn/index.html">网站首页</a></b></td><td align=center><b>
<a title="学校介绍" style="font-size:14px;color:#206000" href="http://ganygmex.lyge.cn/html/list_540.html">学校介绍</a></b></td><td align=center><b>
<a title="新闻资讯" style="font-size:14px;color:#206000" href="http://ganygmex.lyge.cn/html/list_531.html">新闻资讯</a></b></td><td align=center><b>
<a title="德育之窗" style="font-size:14px;color:#206000" href="http://ganygmex.lyge.cn/html/list_573.html">德育之窗</a></b></td><td align=center><b>
<a title="课改科研" style="font-size:14px;color:#206000" href="http://ganygmex.lyge.cn/html/list_574.html">课改科研</a></b></td><td align=center><b>
<a title="学科教学" style="font-size:14px;color:#206000" href="http://ganygmex.lyge.cn/html/list_545.html">学科教学</a></b></td><td align=center><b>
<a title="学生天地" style="font-size:14px;color:#206000" href="http://ganygmex.lyge.cn/html/list_551.html">学生天地</a></b></td><td align=center><b>
<a title="教师园地" style="font-size:14px;color:#206000" href="http://ganygmex.lyge.cn/html/list_550.html">教师园地</a></b></td><td align=center><b>
<a title="家校互联" style="font-size:14px;color:#206000" href="http://ganygmex.lyge.cn/html/list_560.html">家校互联</a></b></td></tr>
</table>
</td>
</tr>
</table></td>
</tr>
<!--
<table width="960" height="100" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="txt_css">
<tr><td height=5></td></tr>
<tr><td align=center><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
width="960" height="100" id="1" align="">
<param name=movie value="swf/5ykjy.swf"><param name=quality value=high>
<embed src="1.swf" quality=high width="960" height="100" name="1" align=""
type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
</embed></object>
</td></tr>
<tr><td height=5></td></tr>
</table>
-->
<!--
<table width="960" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="txt_css">
<tr valign="middle">
<td width=46><div align="right"><img src="Images/arrow3.gif" width="29" height="11" align="absmiddle">
</div></td>
<td width=556>
<td width=158 align=right>
</td>
</tr>
</table>
-->
<table width="960" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="txt_css">
<tr valign="middle">
<td width=46><div align="right">
<img src="http://ganygmex.lyge.cn/Images/arrow3.gif" width="29" height="11" align="middle">
</div></td>
<td width=656>
{LB_位置导航}</td>
<td width=158 align=right>
</td>
</tr>
</table>
<table width="960" border="0" align="center" cellpadding="0" cellspacing="0" class="border2">
<tr>
<td valign="top" class="border">
<table width="100%" height=100% border="0" align="center" cellpadding="2" cellspacing="0">
<tr>
<td class="title"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="82%" valign="middle" class="title_maintxt"> <img src="http://ganygmex.lyge.cn/images/arrow3.gif" align="middle" width="20" height="16">
{$GetArticleTitle}</td>
<td width="18%" class="title_maintxt">
<font color='#009900'></font>
</td>
</tr>
</table> </td>
</tr>
<tr align="center" class="tdbg_rightall">
<td>来源:{$GetArticleOrigin} 作者:{$GetArticleAuthor} 日期:{$GetArticleDate}
访问次数:{$GetArticleHits}</td>
</tr>
<tr>
<td align=left valign="top">
<p align="left">
<span class="newstext">{$GetArticleContent}</span></td>
</tr>
<td align="left" valign="top"> <strong>上一篇:</strong>{$GetPrevArticle}<strong><br>
下一篇:</strong>{$GetNextArticle}</td>
</table>
</td>
<td width=10></td>
<td width=260 valign=top>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="260" valign="top">
<table width="100%" height="100%" border="0" cellpadding="2" cellspacing="0" class="border">
<tr class="title">
<td>
<div align="center">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tdbg_rightall">
<tr>
<td class="title_maintxt"><div align="center"><strong> 最新热点文章</strong></div></td>
</tr>
</table>
</div></td>
</tr>
<td height="180" valign="top" align="left"> {LB_最新热门文章}</td>
</tr>
</table></td></tr>
<tr><td width="260" valign="top">
<table width="100%" height="100%" border="0" cellpadding="2" cellspacing="0" class="border">
<tr class="title">
<td>
<div align="center">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tdbg_rightall">
<tr>
<td class="title_maintxt"><div align="center"><strong> 最新推荐文章</strong></div></td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td height="180" valign="top"> {LB_最新推荐文章}</td>
</tr>
</table></td></tr>
</table>
</td></tr>
<tr><td colspan=3 height=5>
</td></tr></table>
<div style="display:none">
<br>
</td>
</tr>
</table>
<table width="960" border="0" align="center" cellpadding="0" cellspacing="0" class="tdbg">
<tr>
<td height="13" align="center" valign="top"><table width="955" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="13" Class="tdbg_left2"></td>
</tr>
</table></td>
</tr>
</table>
</div>
<table width='760' align='center' border='0' class=''topborder' cellpadding='0' cellspacing='0'><tr height='0' align='center'>
<td class='title_maintxt'></td></tr><tr align='center' height='20' >
<td align=right>
<p align="center">{$GetCopyRight}</td></tr></table>
</body>
</html>
调试好久也没有结果。请高手帮助一下,在线等!谢谢。