您现在的位置: 365建站网 > 365学习 > 在网页右侧悬浮QQ客服

在网页右侧悬浮QQ客服

文章来源:365jz.com     点击数:4049    更新时间:2009-09-17 10:15   参与评论

var online=new Array();
if (!document.layers)
document.write('<div id=divStayTopLeft style=position:absolute>');
document.write('<table cellSpacing="0" cellPadding="0" width="110" border="0" id="qqtab">');
document.write('    <tr>');
document.write('      <td width="110" onclick="if(document.all.qqtab.style.display==\'none\'){document.all.qqtab.style.display=\'\'} else {document.all.qqtab.style.display=\'none\'}"><img src="http://www.54kfqq.com/User/images/qq/skin/4/top.gif" border="0"></td>');
document.write('    </tr>');
document.write('    <tr id="qqstab">');
document.write('      <td valign="middle" align="center" background="http://www.54kfqq.com/User/images/qq/skin/4/middle.gif">');
document.write('<table border="0" width="90" cellSpacing="0" cellPadding="0">');
document.write(' <tr>');
document.write('    <td width="90" height="5" border="0" colspan="2"></td>');
document.write(' </tr>');
document.write(' <tr>');
if (online[0]==0)
{
    document.write('    <td width="25" height="29" valign="middle" align="center">');
    document.write('<img src="http://www.54kfqq.com/User/images/qqface/30_f.gif" border="0" hspace="3">');
    document.write('    </td>');
    document.write('    <td width="65" height="29" valign="middle" align="left">');
    document.write('<a href="http://wpa.qq.com/msgrd?V=1&amp;Uin=553804580&amp;Site=飞讯网络&amp;Menu=yes" target="blank"><font style="font-size:12px;TEXT-DECORATION:none;color:#000000;">售后服务</font></a><br>');
    document.write('    </td>');
}
else
{
    document.write('    <td width="25" height="27" valign="middle" align="center">');
    document.write('<img src="http://www.54kfqq.com/User/images/qqface/30_m.gif" border="0" hspace="3">');
    document.write('    </td>');
    document.write('    <td width="65" height="27" valign="middle" align="left">');
    document.write('<a href="http://wpa.qq.com/msgrd?V=1&amp;Uin=553804580&amp;Site=飞讯网络&amp;Menu=yes" target="blank"><font style="font-size:12px;TEXT-DECORATION:none;color:#000000;">售后服务</font></a><br>');
    document.write('    </td>');
}
document.write(' </tr>');
document.write(' <tr>');
if (online[1]==0)
{
    document.write('    <td width="25" height="29" valign="middle" align="center">');
    document.write('<img src="http://www.54kfqq.com/User/images/qqface/1_f.gif" border="0" hspace="3">');
    document.write('    </td>');
    document.write('    <td width="65" height="29" valign="middle" align="left">');
    document.write('<a href="http://wpa.qq.com/msgrd?V=1&amp;Uin=997050169&amp;Site=飞讯网络&amp;Menu=yes" target="blank"><font style="font-size:12px;TEXT-DECORATION:none;color:#000000;">叶子</font></a><br>');
    document.write('    </td>');
}
else
{
    document.write('    <td width="25" height="27" valign="middle" align="center">');
    document.write('<img src="http://www.54kfqq.com/User/images/qqface/1_m.gif" border="0" hspace="3">');
    document.write('    </td>');
    document.write('    <td width="65" height="27" valign="middle" align="left">');
    document.write('<a href="http://wpa.qq.com/msgrd?V=1&amp;Uin=997050169&amp;Site=飞讯网络&amp;Menu=yes" target="blank"><font style="font-size:12px;TEXT-DECORATION:none;color:#000000;">叶子</font></a><br>');
    document.write('    </td>');
}
document.write(' </tr>');
document.write(' <tr>');
if (online[2]==0)
{
    document.write('    <td width="25" height="29" valign="middle" align="center">');
    document.write('<img src="http://www.54kfqq.com/User/images/qqface/1_f.gif" border="0" hspace="3">');
    document.write('    </td>');
    document.write('    <td width="65" height="29" valign="middle" align="left">');
    document.write('<a href="http://wpa.qq.com/msgrd?V=1&amp;Uin=1046302588&amp;Site=飞讯网络&amp;Menu=yes" target="blank"><font style="font-size:12px;TEXT-DECORATION:none;color:#000000;">叶子</font></a><br>');
    document.write('    </td>');
}
else
{
    document.write('    <td width="25" height="27" valign="middle" align="center">');
    document.write('<img src="http://www.54kfqq.com/User/images/qqface/1_m.gif" border="0" hspace="3">');
    document.write('    </td>');
    document.write('    <td width="65" height="27" valign="middle" align="left">');
    document.write('<a href="http://wpa.qq.com/msgrd?V=1&amp;Uin=1046302588&amp;Site=飞讯网络&amp;Menu=yes" target="blank"><font style="font-size:12px;TEXT-DECORATION:none;color:#000000;">叶子</font></a><br>');
    document.write('    </td>');
}
document.write(' </tr>');
document.write('</table>');
document.write('</td>');
document.write('    </tr>');
document.write('    <tr>');
document.write('<td width="110"><a href="mes.HTML" ><img src="images/bottom.gif" border="0"></a></td>');
document.write('    </tr>');
document.write('</table>');
var verticalpos="frombottom"
if (!document.layers)
document.write('</div>')
function scrollqq()
{
var posXqq,posYqq;
if (window.innerHeight)
{
posXqq=window.pageXOffset;
posYqq=window.pageYOffset;
   }
   else if (document.documentElement && document.documentElement.scrollTop)
      {
    posXqq=document.documentElement.scrollLeft;
    posYqq=document.documentElement.scrollTop;
    }
    else if (document.body)
      {
    posXqq=document.body.scrollLeft;
    posYqq=document.body.scrollTop;
      }
     var divStayTopLeft=document.getElementById("divStayTopLeft");
    divStayTopLeft.style.top=(posYqq+400-200)+"px";
divStayTopLeft.style.left=(posXqq+screen.width-131)+"px";
setTimeout("scrollqq()",500);
    }
      scrollqq();

Tag标签: 在网页右侧悬浮QQ客服

如对本文有疑问,请提交到交流论坛,广大热心网友会为你解答!! 点击进入论坛


发表评论 (4049人查看0条评论)
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
用户名: 验证码: 点击我更换图片
最新评论
------分隔线----------------------------