调用top.asp(顶部文件)、end.asp(尾部文件)
Cls_jsPage.js和Cls_vbsPage.asp 放在inc目录
单独不调用top.asp和end.asp不会出错
一旦调用了top.asp就出错了
错误是Cls_jsPage 未定义
怎么解决?
附top.asp代码
代码:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<style type="text/css">
<!--
body{font:84% arial,sans-serif;margin:0}
a:link {
color: #000000;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #000000;
}
a:hover {
text-decoration: underline;
color: #000000;
}
a:active {
text-decoration: none;
color: #000000;
}
-->
</style>
</head>
<body>
<table width="774" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td colspan="7"><img src="Images/logo.jpg" alt="Nation" width="774" height="102" /></td>
</tr>
<tr>
<td height="5" colspan="7"></td>
</tr>
<tr>
<td><a href="Index.asp"><img src="Images/home.jpg" alt="Index" width="101" height="23" border="0" /></a></td>
<td><a href="Offer.asp"><img src="Images/chinasupply.gif" alt="Offer" width="101" height="23" border="0" /></a></td>
<td><a href="Buy.asp"><img src="Images/buyinfo.gif" alt="Buy" width="101" height="23" border="0" /></a></td>
<td><a href="Vip.asp"><img src="Images/vipservice.gif" alt="Vip" width="101" height="23" border="0" /></a></td>
<td><a href="Service.asp"><img src="Images/servicecenter.gif" alt="Service" width="101" height="23" border="0" /></a></td>
<td><a href="AboutUs.asp"><img src="Images/aboutus.gif" alt="About" width="102" height="23" border="0" /></a></td>
<td><img src="Images/ps.gif" alt="Post_Offer" width="170" height="23" /></td>
</tr>
</table>

















平板模式