谁有qq漂浮客服代码?
发布网友
发布时间:2022-05-07 21:27
我来回答
共2个回答
热心网友
时间:2022-04-25 12:18
<SCRIPT>
var online = new Array();
</script>
<script type="text/javascript" src="http://wpa.qq.com/getonline?Type=1&583291792:"></script>
<script >
var img1;
var img2;
if (online[0]=="1")
{
img1="QQonline.gif";
}
else
{
img1="QQoffline.gif";
}
</script>
<script>
if (!document.layers)
document.write('<div id="divStayTopLeft" style="position:absolute">')
</SCRIPT>
<TABLE cellSpacing="0" cellPadding="0" width="110" border="0" ID="Table1">
<TBODY>
<TR>
<TD width="110"><IMG src="images/kefu_a_1_01.gif" border="0"><br><IMG src="images/kefu_a_1_02.gif" border="0"></TD>
</TR>
<TR>
<TD vAlign="middle" background="images/kefu_a_1_03.gif">
<SCRIPT>
document.write(" <img src=Images/" + img1 + " border=0 align=middle><a class='qqa' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=583291792&Site=在线咨询&Menu=no' title='在线即时交谈'>583291792</a>");
//document.write("<br>");
//document.write(" <img src=Images/" + img2 + " border=0 align=middle><a class='qqa' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=397373338&Site=在线咨询&Menu=no' title='在线即时交谈'>397373338</a>");
</SCRIPT>
</TD>
</TR>
<TR>
<TD width="110"><IMG src="images/kefu_a_1_04.gif" border="0"></TD>
</TR>
</TBODY></TABLE>
<SCRIPT type="text/javascript">
var verticalpos="frombottom"
if (!document.layers)
document.write('</div>')
function JSFX_FloatTopDiv()
{
//默认情况显示在屏幕左侧,若要显示在右侧,修改下面的3
var startX =1,
startY = 250;
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在线状态的代码,583291792是要查询的QQ号.
<script type="text/javascript" src="http://wpa.qq.com/getonline?Type=1&583291792:"></script>
热心网友
时间:2022-04-25 13:36
呵 好像没有吧