标题:大家看看我写的这个QQ客服代码错在哪里啊?-->千里冰封转移
只看楼主
临风
Rank: 1
等 级:新手上路
帖 子:64
专家分:0
注 册:2006-7-5
 问题点数:0 回复次数:1 
大家看看我写的这个QQ客服代码错在哪里啊?-->千里冰封转移

<!--客服QQ代码开始-->
<script language=javascript>
if((screen.width==1024)&&(screen.height==768))
{
var online= new Array();
if (!document.layers)
document.write('<div id="divStayTopLeft" style="position:absolute">');


document.write ("<layer left="22" top="140" id="divStayTopLeft">");

document.write ("<table border="0" width="110" cellspacing="0" cellpadding="0">");
document.write ("<tr><td width="110"><img border=0 src=images/kefu_up.gif></td></tr>");

document.write ("<tr><td valign=middle background=images/kefu_middle.gif>");


document.write("&nbsp;&nbsp;<a class='qqb' target=blank href='zltd/admin.asp'>专栏作者登陆</a>");

document.write ("</td></tr>");

document.write ("<tr><td valign=middle background=images/kefu_middle.gif>");


document.write("&nbsp;&nbsp;<a class='qqb' target=blank href='gsjm.asp'>鸽舍用户登陆</a>");


document.write ("</td></tr>");

document.write ("<tr><td valign=middle background=images/kefu_middle.gif>");


document.write("&nbsp;&nbsp;<a class='qqb' target=blank href='gptd/admin_login.asp'>公棚用户登陆</a>");


document.write ("</td></tr>");
document.write ("<tr><td valign=middle background=images/kefu_middle.gif>");


document.write("&nbsp;&nbsp;<a class='qqb' target=blank href='gongqiu/index.asp'>供求平台登陆</a>");


document.write ("</td></tr>");
document.write ("<tr><td valign=middle background=images/kefu_middle.gif>");


document.write("&nbsp;&nbsp;<a class='qqb' target=blank href='friendlink.asp'>申请友情链接</a>");


document.write ("</td></tr>");
document.write ("<tr><td valign=middle background=images/kefu_middle.gif>");

document.write("&nbsp;&nbsp;<a class='qqb' target=blank href='sq/zxptsq.asp'>申请展销平台</a>");


document.write ("</td></tr>");
document.write ("<tr><td valign=middle background=images/kefu_middle.gif>");

document.write("&nbsp;&nbsp;<a class='qqb' target=blank href='sq/mzygsq.asp'>每周一鸽投放</a>");


document.write ("</td></tr>");
document.write ("<tr><td valign=middle background=images/kefu_middle.gif>");

document.write("&nbsp;&nbsp;<a class='qqb' target=blank href='addmesg.asp'>天落鸟发布</a>");


document.write ("</td></tr>");


document.write ("<tr><td width="110"><img border=0 src=images/kefu_down.gif></td></tr>");
document.write ("</table>");
document.write ("</layer>");

var verticalpos="frombottom"
if (!document.layers)
document.write('</div>')
function JSFX_FloatTopDiv()
{
var startX =3,
startY = 285;
var ns = (navigator.appName.indexOf("Netscape") != -1);
var d = document;
function ml(id)
{
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;
if (verticalpos=="fromtop")
el.y = startY;
else{
el.y = ns ? pageYOffset + innerHeight : document.body.scrollTop + document.body.clientHeight;
el.y -= startY;
}
return el;
}
window.stayTopLeft=function()
{
if (verticalpos=="fromtop"){
var pY = ns ? pageYOffset : document.body.scrollTop;
ftlObj.y += (pY + startY - ftlObj.y)/8;
}
else{
var pY = ns ? pageYOffset + innerHeight : document.body.scrollTop + document.body.clientHeight;
ftlObj.y += (pY - startY - ftlObj.y)/8;
}
ftlObj.sP(ftlObj.x, ftlObj.y);
setTimeout("stayTopLeft()", 10);
}
ftlObj = ml("divStayTopLeft");
stayTopLeft();
}
JSFX_FloatTopDiv();
}
</script>
<!--客服QQ代码结束-->

搜索更多相关主题的帖子: 千里冰封 客服 代码 
2006-07-21 11:54
luke911
Rank: 1
等 级:新手上路
帖 子:66
专家分:0
注 册:2005-10-21
得分:0 
请问这句话是什么意思啊?        var el=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id];
2006-07-21 21:41



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-79518-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.838788 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved