2005/06/10 | QQ在线咨询代码
类别(我的工作) | 评论(2) | 阅读(3562) | 发表于 02:57

<link href="http://imis.qq.com/css/im.css" rel="stylesheet" type="text/css">


<script>
var online= new Array();
if (!document.layers)
document.write('<div id="divStayTopLeft" style="position:absolute">')
</script>
<layer id="divStayTopLeft">

<table border="0" width="110" cellspacing="0" cellpadding="0">
<tr><td width="110"><img border=0 src=http://imis.qq.com/images/wpa/images/kefu_up.gif></td></tr>
<script src="http://webpresence.qq.com/getonline?Type=1&54637284:122098900:123067774:"></script>
<tr><td valign=middle background=http://imis.qq.com/images/wpa/images/kefu_middle.gif>
<script>
if (online[0]==0)
document.write("&nbsp;&nbsp;<img src=http://imis.qq.com/images/wpa/images/QQoffline.gif border=0 align=absmiddle>&nbsp;<a class='qqb' target='_blank' href='http://wpa.qq.com/msgrd?V=1&Uin=54637284&Site=在线咨询&Menu=no' title='客服不在线,请留言'>北方区</a>&nbsp;业务");
else
document.write("&nbsp;&nbsp;<img src=http://imis.qq.com/images/wpa/images/QQonline.gif border=0 align=absmiddle>&nbsp;<a class='qqa' target='_blank' href='http://wpa.qq.com/msgrd?V=1&Uin=54637284&Site=在线咨询&Menu=no' title='在线即时交谈'>北方区</a>&nbsp;业务");
</script >
</td></tr><tr><td valign=middle background=http://imis.qq.com/images/wpa/images/kefu_middle.gif>
<script>
if (online[1]==0)
document.write("&nbsp;&nbsp;<img src=http://imis.qq.com/images/wpa/images/QQoffline.gif border=0 align=absmiddle>&nbsp;<a class='qqb' href='http://wpa.qq.com/msgrd?V=1&Uin=122098900&Site=在线咨询&Menu=no'>华东区</a> 业务");
else
document.write("&nbsp;&nbsp;<img src=http://imis.qq.com/images/wpa/images/QQonline.gif border=0 align=absmiddle>&nbsp;<a class='qqa' href='http://wpa.qq.com/msgrd?V=1&Uin=122098900&Site=在线咨询&Menu=no'>华东区</a> 业务");
</script ></td></tr><tr><td valign=middle background=http://imis.qq.com/images/wpa/images/kefu_middle.gif>
<script>
if (online[1]==0)
document.write("&nbsp;&nbsp;<img src=http://imis.qq.com/images/wpa/images/QQoffline.gif border=0 align=absmiddle>&nbsp;<a class='qqb' href='http://wpa.qq.com/msgrd?V=1&Uin=123067774&Site=在线咨询&Menu=no'>南方区</a> 业务");
else
document.write("&nbsp;&nbsp;<img src=http://imis.qq.com/images/wpa/images/QQonline.gif border=0 align=absmiddle>&nbsp;<a class='qqa' href='http://wpa.qq.com/msgrd?V=1&Uin=123067774&Site=在线咨询&Menu=no'>南方区</a> 业务");
</script >
</td></tr><tr><td width="110"><img border=0 src=http://imis.qq.com/images/wpa/images/kefu_down.gif></td></tr>
</table></layer>
<p>
<script type="text/javascript">
var verticalpos="frombottom"
if (!document.layers)
document.write('</div>')
function JSFX_FloatTopDiv()
{
    var startX =3,
    startY = 350;
    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>
0

评论Comments