浮动QQ在线客服代码,加入ASP网页中时,总出现:java script error Description:缺少。。还出现易做图空白区域
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>QQ在线客服</title>
<SCRIPT language=javascript>
function CloseQQ()
{
divStayTopleft.style.display="none";
return true;
}
function FloatTop()
{
var startX1 =document.body.offsetWidth-125 ,startY1 = 5;
var startX2 =0,startY2 = 95;
var ns = (navigator.appName.indexOf("Netscape") != -1);
var d = document;
function ml(id,startX,startY)
{
var el=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id];
if(d.layers)el.style=el;
el.sP=function(x,y){this.style.left=x;this.style.top=y;};
el.x = startX;
el.y = startY;
return el;
}
window.stayTopLeft=function()
{
var pY = ns ? pageYOffset : document.body.scrollTop;
ftlObj.y += (pY + startY1 - ftlObj.y)/8;
ftlObj1.y += (pY + startY2 - ftlObj1.y)/8;
ftlObj.sP(document.body.scrollLeft+document.body.offsetWidth-125, ftlObj.y);
ftlObj1.sP(ftlObj1.x, ftlObj1.y);
setTimeout("stayTopLeft()", 30);
}
ftlObj = ml("divStay",(document.body.scrollLeft+document.body.offsetWidth)/2+505,0);
ftlObj1 = ml("divStayTopLeft",(document.body.scrollLeft+document.body.offsetWidth)/2+509,30);
stayTopLeft();
}
</SCRIPT>
</head>
<body>
<DIV id=divStay style="POSITION:absolute"></DIV>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=top width="7%"></TD></TR></TBODY></TABLE></DIV>
<SCRIPT language=javascript>
function picsize(obj,MaxWidth){
img=new Image();
img.src=obj.src;
if (img.width>MaxWidth)
{
return MaxWidth;
}
else
{
return img.width;
}
}
function CloseQQ()
{
divStayTopleft.style.display="none";
return true;
}
var online= new Array();
</SCRIPT>
<div id="divStayTopleft" style="POSITION: absolute; left: 267px; top: 34px;">
<table cellspacing="0" cellpadding="0" width="109" border="0">
<tr>
<td colspan="3">
<a onClick="CloseQQ()" href="javascript:;" shape="circle" coords="91,16,12">
<img height="34" src="QQ3.png" width="109" usemap="#Map" border="0"></a></td>
</tr>
<tr>
<td width="6"><img height="250" src="QQ2.png" width="6"></td>
<td valign="top" width="96" background="sto/qq_bg.gif">
<table cellspacing="0" cellpadding="0" width="96" align="center" border="0">
<tr>
<td height="30">
<table cellspacing="0" cellpadding="0" width="90" border="0">
<tr>
<td align="center"><span class="font_12">
<span style="font-size: 12px">在线客服中心</span></span></td>
</tr>
</table>
中间省略。。。。。。。。。
FloatTop();
</script>
<!--End -->
<table><tr><td height="800"></td></tr></table>
<script type="text/javascript">FloatTop();</script>
</body>
</html>
在主页的BODY之间插入,调入网页时用的语句是:<!-#include file="qq.asp"->
请问是哪里出了问题,请高手帮助解决一下,万分感谢。
,总出现:java script error Description:缺少。。还出现易做图空白区域