找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
热搜: 活动 交友 discuz
查看: 1793|回复: 0

QQ在线客服代码

[复制链接]
发表于 2014-11-14 15:22:29 | 显示全部楼层 |阅读模式
  1. <div style="z-index: 999; position: absolute; width: 76px; background: #fff; visibility: visible; font-size: 12px; top: 274px; right: 0px" id="backi">
  2. <table border="0" cellspacing="0" cellpadding="0" width="100">
  3.     <tbody>
  4.         <tr>
  5.             <td style="background-image: url({dede:global.css_path/}QQ_3.jpg); width: 106px; height: 40px; cursor: pointer" colspan="3" onClick="document.getElementById('staticmenu').style.display = 'none'">
  6.             <div style="position: absolute; width: 22px; height: 21px; top: 0px; cursor: pointer; right: -25px" title="点击关闭该滚动窗口!"> </div>
  7.             </td>
  8.         </tr>
  9.         <tr>
  10.             <td background="{dede:global.css_path/}QQ_8.gif" width="4"> </td>
  11.             <td width="98" align="center">
  12.             <table cellspacing="0" cellpadding="3" width="100%" bgcolor="#ffffff">
  13.                 <tbody>
  14.                     <tr>
  15.                         <td height="25">
  16.                         <div align="center"><img alt="" src="http://wpa.qq.com/pa?p=1:888888888:4" /></div>
  17.                         </td>
  18.                         <td align="left"><a class="qqonline" target="_blank;" href="tencent://message/?uin={dede:global.QQ/}&Site=厦门马桶医生&Menu=yes">QQ客服</a></td>
  19.                     </tr>
  20.                 </tbody>
  21.             </table>
  22.             </td>
  23.             <td background="{dede:global.css_path/}QQ_7.gif" width="4"> </td>
  24.         </tr>
  25.         <tr>
  26.             <td colspan="3"><img width="106" height="44" alt="" src="{dede:global.css_path/}QQ_12.gif" /></td>
  27.         </tr>
  28.     </tbody>
  29. </table>
  30. <script language="javascript" type="text/javascript">



  31. var w3c = (document.getElementById) ? true : false;



  32. var agt = navigator.userAgent.toLowerCase();



  33. var ie = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1) && (agt.indexOf("omniweb") == -1));



  34. var mymovey = new Number();



  35. function IeTrueBody(){



  36. return (document.compatMode && document.compatMode!="BackCompat") ? document.documentElement : document.body;



  37. }



  38. function GetScrollTop(){



  39. return ie ? IeTrueBody().scrollTop : window.pageYOffset;



  40. }



  41. function heartBeat(){



  42. diffY=GetScrollTop();



  43. mymovey += Math.floor((diffY-document.getElementById('backi').style.top.replace("px","")+50)*0.1);



  44. document.getElementById('backi').style.top = mymovey+"px"; }



  45. window.setInterval("heartBeat()",1);



  46. </script></div>
复制代码


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|站长网 网站备案:鄂ICP备13006300号-4

GMT+8, 2024-5-5 07:08 , Processed in 0.038717 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表