当前位置:编程学习 > JAVA >>

在线QQ客服代码

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>右侧悬浮的QQ在线客服</title>
<meta http-equiv="content-type" content="text/html;charset=gb2312">
<style type="text/css">
.qqbox a:link {
    color: #000;
    text-decoration: none;
}
.qqbox a:visited {
    color: #000;
    text-decoration: none;
}
.qqbox a:hover {
    color: #f80000;
    text-decoration: underline;
}
.qqbox a:active {
    color: #f80000;
    text-decoration: underline;
}
 
.qqbox{
    width:132px;
    height:auto;
    overflow:hidden;
    position:absolute;
    right:0;
    top:100px;
    color:#000000;
    font-size:12px;
    letter-spacing:0px;
}
.qqlv{
    width:25px;
    height:256px;
    overflow:hidden;
    position:relative;
    float:right;
    z-index:50px;
}
.qqkf{
    width:120px;
    height:auto;
    overflow:hidden;
    right:0;
    top:0;
    z-index:99px;
    border:6px solid #138907;
    background:#fff;
}
.qqkfbt{
    width:118px;
    height:20px;
    overflow:hidden;
    background:#138907;
    line-height:20px;
    font-weight:bold;
    color:#fff;
    position:relative;
    border:1px solid #9CD052;
    cursor:pointer;
    text-align:center;
}
.qqkfhm{
    width:112px;
    height:22px;
    overflow:hidden;
    line-height:22px;
    padding-right:8px;
    position:relative;
    margin:3px 0;
}
.bgdh{
    width:102px;
    padding-left:10px;
}
</style>
</head>
<body>
<div class="qqbox" id="divQQbox">
  <div class="qqlv" id="meumid" onmouseover="show()"><img src=/2012/0223/20120223092750787.gif"></div>
  <div class="qqkf" style="display:none;" id="contentid" onmouseout="hideMsgBox(event)">
    <div class="qqkfbt" onmouseout="showandhide('qq-','qqkfbt','qqkfbt','K',5,1);" id="qq-1" onfocus="this.blur();">客服中心</div>
    <div id="K1">
      <div class="qqkfhm bgdh"> <a href="tencent://message/?uin=12345678"><img src="http://wpa.qq.com/pa?p=1:12345678:4" border="0">在线客服</a><br/></div>
      <div class="qqkfhm bgdh"> <a href="tencent://message/?uin=12345678"><img src="http://wpa.qq.com/pa?p=1:12345678:4" border="0">在线客服</a></div>
      <div class="qqkfhm bgdh">手机:13922222222</div>
    </div>
    <div class="qqkfbt" onClick="showandhide('qq-','qqkfbt','qqkfbt','K',5,2);" id="qq-2" onfocus="this.blur();">财务充值</div>
    <div id="K2" style="display:none">
      <div class="qqkfhm bgdh"> <a href="tencent://message/?uin=12345678"><img src="http://wpa.qq.com/pa?p=1:12345678:4" border="0">在线客服</a><br/></div>
      <div class="qqkfhm bgdh"> <a href="tencent://message/?uin=12345678"><img src="http://wpa.qq.com/pa?p=1:12345678:4" border="0">在线客服</a></div>
      <div class="qqkfhm bgdh">手机:13955432222</div>
    </div>
    <div class="qqkfbt"  onClick="showandhide('qq-','qqkfbt','qqkfbt','K',5,3);" id="qq-3" onfocus="this.blur();">机房值班</div>
    <div id="K3" style="display:none">
      <div class="qqkfhm bgdh"> <a href="tencent://message/?uin=12345678"><img src="http://wpa.qq.com/pa?p=1:12345678:4" border="0">在线客服</a><br/></div>
      <div class="qqkfhm bgdh"> <a href="tencent://message/?uin=12345678"><img src="http://wpa.qq.com/pa?p=1:12345678:4" border="0">在线客服</a></div>
      <div class="qqkfhm bgdh">手机:13222235523</div>
    </div>
    <div class="qqkfbt"  onClick="showandhide('qq-','qqkfbt','qqkfbt','K',5,4);" id="qq-4" onfocus="this.blur();">渠道咨询</div>
    <div id="K4" style="display:none">
      <div class="qqkfhm bgdh"> <a href="tencent://message/?uin=12345678"><img src="http://wpa.qq.com/pa?p=1:12345678:4" border="0">在线客服</a><br/></div>
      <div class="qqkfhm bgdh"> <a href="tencent://message/?uin=12345678"><img src="http://wpa.qq.com/pa?p=1:12345678:4" border="0">在线客服</a></div>
      <div class="qqkfhm bgdh">手机:13222225523</div>
    </div>
    <div class="qqkfbt" onClick="showandhide('qq-','qqkfbt','qqkfbt','K',5,5);" id="qq-5" onfocus="this.blur();">投诉建议</div>
    <div id="K5" style="display:none">
      <div class="qqkfhm bgdh"> <a href="tencent://message/?uin=12345678"><img src="http://wpa.qq.com/pa?p=1:12345678:4" border="0">在线客服</a><br/></div>
      <div class="qqkfhm bgdh"> <a href="tencent://message/?uin=12345678"><img src="http://wpa.qq.com/pa?p=1:12345678:4" border="0">在线客服</a>

补充:web前端 , JavaScript ,
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,