博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
QQ客服左右提示
阅读量:6243 次
发布时间:2019-06-22

本文共 8077 字,大约阅读时间需要 26 分钟。

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">

<html xmlns="">
<head>
<title>左右悬浮可分组的网站QQ在线客服代码</title>
<meta http-equiv="content-type" content="text/html;charset=gb2312">
<style type="text/css">
.qqwid{width:142px;background-image:url(/jscss/demoimg/201011/qq_bg.gif);color:#000000;}
.qqwid a{text-decoration:none;}
.qqwid a:link{color:#000000;}
.qqwid a:visited{color:#000000;}
.qqwid a:hover{color:#FF0000;}
.qqwid a:active{color:#000000;}
.qqwid .qqnei{margin-left:5px;margin-right:5px;line-height:25px;}
.qqwid .qqnei img{margin-left:3px;margin-right:5px;vertical-align:middle;}
.qqwid td{font-size:12px;height:25px;line-height:25px;}
</style>
</head>
<body>
<div style="height:2000px;"></div>
<!--左漂浮-->
<div id="leftfu" name="leftfu" style="position:absolute;left:1px;top:125px;">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td valign="top">
      <table width="10" border="0" cellspacing="0" cellpadding="0" id="leftmenu">
        <tr>
          <td><a href="#" οnclick="window.open('http://#','','width=800,height=600,top=0,left=100,status=yes')">
          <img src="/jscss/demoimg/201011/qq_Asall.jpg" border="0"></a></td>
        </tr>
        <tr>
          <td><a target="_blank" href=" src="/jscss/demoimg/201011/qq_Online.jpg" border="0" ></a></td>
        </tr>
        <tr>
          <td align="right"><a href="javascript:" οnclick="javascript:divclose('leftmenu');"><img src="/jscss/demoimg/201011/close.jpg" border="0"></a></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</div>
<!--左漂浮-->
<!--右漂浮-->
<div id="rightfu" name="rightfu" style="position:absolute;right:1px;top:125px;">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td valign="top">
    <div class="qqwid" id="showrightmenu_1" style="filter:alpha(opacity=80);z-index:1; display:none;" οnmοuseοver="javascript:showrightmenuover(1);" οnmοuseοut="javascript:showrightmenuout(1);">
      <div><img src="/jscss/demoimg/201011/qq_top.gif"></div>
      <div class="qqnei">
        <table border="0" cellspacing="0" cellpadding="0" style="filter:alpha(opacity=86);">
          <tr>
            <td><img src="" height="17" border="0" align="middle">
            <a href="" target="_blank">在线客服</a></td>
          </tr>
          <tr>
            <td><img src="" height="17" border="0" align="middle">
            <a href="" target="_blank">在线客服</a></td>
          </tr>
          <tr>
            <td><img src="" height="17" border="0" align="middle">
            <a href="" target="_blank">在线客服</a></td>
          </tr>
          <tr>
            <td><img src="" height="17" border="0" align="middle">
            <a href="" target="_blank">在线客服</a></td>
          </tr>
          <tr>
            <td><img src="" height="17" border="0" align="middle">
            <a href="" target="_blank">在线客服</a></td>
          </tr>
          <tr>
            <td><img src="" height="17" border="0" align="middle">
            <a href="" target="_blank">在线客服</a></td>
          </tr>
          <tr>
            <td><img src="" height="17" border="0" align="middle">
            <a href="" target="_blank">在线客服</a></td>
          </tr>
          <tr>
            <td><img src="" height="17" border="0" align="middle">
            <a href="" target="_blank">在线客服</a></td>
          </tr>
          <tr>
            <td><img src="" height="17" border="0" align="middle">
            <a href="" target="_blank">在线客服</a></td>
          </tr>
          <tr>
            <td><img src="" height="17" border="0" align="middle">
            <a href="" target="_blank">在线客服</a></td>
          </tr>
          <tr>
            <td><img src="" height="17" border="0" align="middle">
            <a href="" target="_blank">在线客服</a></td>
          </tr>
          <tr>
            <td><img src="" height="17" border="0" align="middle">
            <a href="" target="_blank">在线客服</a></td>
          </tr>
          <tr>
            <td><img src="" height="17" border="0" align="middle">
            <a href="" target="_blank">在线客服</a></td>
           </tr>
          <tr>
            <td><img src="" height="17" border="0" align="middle">
            <a href="" target="_blank">在线客服</a></td>
          </tr>
          <tr>
            <td><img src="" height="17" border="0" align="middle">
            <a href="" target="_blank">在线客服</a></td>
          </tr>
          <tr>
            <td><img src="" height="17" border="0" align="middle">
            <a href="" target="_blank">在线客服</a></td>
          </tr>
          <tr>
            <td><img src="" height="17" border="0" align="middle">
            <a href="" target="_blank">在线客服</a></td>
          </tr>
        </table>
      </div>
      <div><img src="/jscss/demoimg/201011/qq_bottom.gif" width="142" height="6"></div>
    </div>
    <div class="qqwid" id="showrightmenu_2" style="filter:alpha(opacity=80);z-index:1;margin-top:87px;display:none;"  οnmοuseοver="javascript:showrightmenuover(2);" οnmοuseοut="javascript:showrightmenuout(2);">
      <div><img src="/jscss/demoimg/201011/qq_top.png"></div>
      <div class="qqnei">
        <table border="0" cellspacing="0" cellpadding="0" style="filter:alpha(opacity=86);">
          <tr>
            <td><img src="" height="17" border="0" align="middle">
         <a target="_blank" href="">在线客服</a></td>
          </tr>
          <tr>
            <td><img src="" height="17" border="0" align="middle">
         <a target="_blank" href="">在线客服</a></td>
          </tr>
          <tr>
            <td><img src="" height="17" border="0" align="middle">
         <a target="_blank" href="">在线客服</a></td>
          </tr>
        </table>
      </div>
      <div><img src="/jscss/demoimg/201011/qq_bottom.png" width="142" height="6"></div>
    </div>
    <div class="qqwid" id="showrightmenu_3" style="filter:alpha(opacity=80);z-index:1;margin-top:174px;display:none;" οnmοuseοver="javascript:showrightmenuover(3);" οnmοuseοut="javascript:showrightmenuout(3);">
      <div><img src="/jscss/demoimg/201011/qq_top.png"></div>
      <div class="qqnei">
        <table border="0" cellspacing="0" cellpadding="0" style="filter:alpha(opacity=90);">
          <tr>
            <td><img src="" height="17" border="0" align="middle">
            <a target="_blank" href="">在线客服</a></td>
          </tr>
          <tr>
            <td><img src="" height="17" border="0" align="middle">
            <a target="_blank" href="">在线客服</a></td>
           </tr>
          <tr>
            <td><img src="" height="17" border="0" align="middle">
            <a target="_blank" href="">在线客服</a></td>
           </tr>
          <tr>
            <td><img src="" height="17" border="0" align="middle">
            <a target="_blank" href="">在线客服</a></td>
          </tr>
          <tr>
            <td><img src="" height="17" border="0" align="middle">
            <a target="_blank" href="">在线客服</a></td>
          </tr>
          <tr>
            <td><img src="" height="17" border="0" align="middle">
         <a target="_blank" href="">在线客服</a></td>
          </tr>
        </table>
      </div>
      <div><img src="/jscss/demoimg/201011/qq_bottom.png" width="142" height="6"></div>
      </div>
    </td>
    <td valign="top">
      <table width="10" border="0" cellspacing="0" cellpadding="0" id="rightmenu">
        <tr>
          <td><a href="javascript:"  οnmοuseοver="javascript:showrightmenuover(1);" οnmοuseοut="javascript:showrightmenuout(1);">
          <img src="/jscss/demoimg/201011/qq_Atuo.jpg" border="0"></a></td>
        </tr>
        <tr>
          <td><a href="javascript:" οnmοuseοver="javascript:showrightmenuover(2);" οnmοuseοut="javascript:showrightmenuout(2);">
          <img src="/jscss/demoimg/201011/qq_Adns.jpg" border="0" ></a></td>
        </tr>
        <tr>
          <td><a href="javascript:" οnmοuseοver="javascript:showrightmenuover(3);" οnmοuseοut="javascript:showrightmenuout(3);">
          <img src="/jscss/demoimg/201011/qq_Beian.jpg" border="0"></a></td>
        </tr>
        <tr>
          <td align="left"><a href="javascript:" οnclick="javascript:divclose('rightmenu');">
          <img src="/jscss/demoimg/201011/close.jpg" border="0"></a></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
</div>
<!--右漂浮-->
<script event="fscommand()" for="eccoolad" type="text/javascript"></script>
<script type="text/javascript">
//leftfu.style.visibility='hidden';
//sorollDiv1.style.visibility='hidden';
var lastScrollY=0;
var setup=0.02
function heartBeat(){
 diffY=document.documentElement.scrollTop;
 percent=setup*(diffY-lastScrollY);
 if(percent>0)percent=Math.ceil(percent);
 else percent=Math.floor(percent);
 document.getElementById("leftfu").style.top=parseInt(document.getElementById("leftfu").style.top)+percent+"px";
 document.getElementById("rightfu").style.top=parseInt(document.getElementById("rightfu").style.top)+percent+"px";
 lastScrollY=lastScrollY+percent;
}
window.setInterval("heartBeat()",1);
function divclose(name){
 document.getElementById(name).style.visibility='hidden';
function showqqdivover(i)
{
 document.getElementById("showqq"+i).style.display="block";
}
function showqqdivout(i)
{
 document.getElementById("showqq"+i).style.display="none";
}
function showleftmenuover(id)
{
 document.getElementById("showleftmenu_"+id).style.display="block";
}
function showleftmenuout(id)
{
 document.getElementById("showleftmenu_"+id).style.display="none";
}
function showrightmenuover(id)
{
 document.getElementById("showrightmenu_"+id).style.display="block";
}
function showrightmenuout(id)
{
 document.getElementById("showrightmenu_"+id).style.display="none";
}
</script>
</body>
</html>

转载地址:http://phoia.baihongyu.com/

你可能感兴趣的文章
Oracle11G 卸载步骤
查看>>
Mars说光场(3)— 光场采集
查看>>
中小企业客户营收增长将成微博2016年主推动力
查看>>
第一个掘金文章
查看>>
我的友情链接
查看>>
微信Windows版无法备份聊天记录
查看>>
Github上传代码菜鸟超详细教程
查看>>
资金项目性能优化
查看>>
Java将图片处理成背景透明的圆形图片
查看>>
知道IP地址怎么查看mac地址
查看>>
2016年度总结
查看>>
对于常见未得到支持操作的理解
查看>>
Win7 下Maple驱动问题解决方案
查看>>
hibernate 不输出sql参数的解决
查看>>
Netty的异步事件驱动(ChannelFuture)
查看>>
PostgreSQL数据类型-货币类型
查看>>
eclipse.ini、flashbuilder.ini内存设置和堆栈非堆栈问题
查看>>
线程下变量-原子操作 __sync_fetch_and_add等等
查看>>
Java 远程调试
查看>>
android 一个小例子说明handler和AlertDialog的简单使用
查看>>