常用QQ客服悬浮特效代码js版本

2个月前 (02-29 19:45)阅读68回复0
大陆
大陆
  • 管理员
  • 发消息
  • 注册排名1
  • 经验值4114
  • 级别管理员
  • 主题822
  • 回复2
楼主

网站常用QQ在线客服悬浮滚动代码,这个已经写成js,改下QQ号码直接调用js文件即可,很方便的就能挂上在线客服。

<!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>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta name="keywords" content="武鸣人网站,武鸣信息网,武鸣本地网,武鸣信息资源平台,减肥,健身,励志,励志语录,js特效,网页特效,www.wuming.ren">
<meta name="description" content="欢迎来到武鸣人信息资源平台,各种信息免费发布,资源共享合作共赢,分享互联网流行的励志语录经典短句,减肥健身健康小常识及打卡记录,收集各种js特效代码。">
<title>常用QQ客服悬浮特效代码js版本_武鸣人</title>
</head>
<body style="height:2000px;">
<a href="https://www.wuming.ren">武鸣人</a>,各种信息资源免费发布,分享励志语录经典短句,减肥健身常识,各种js特效代码。网站很好记住,wuming.ren(武鸣拼音.ren域名后缀)<hr>
<!--欢迎来到武鸣人信息资源平台,各种信息免费发布,资源共享合作共赢,分享互联网流行的励志语录经典短句,减肥健身健康小常识及打卡记录,收集各种js特效代码。-->
<script type="text/javascript" src="https://www.wuming.ren/ad/tc.js"></script>
<script type="text/javascript" src="https://www.wuming.ren/ad/a.js"></script>
把里面的js代码保存到js文件,改下QQ号码,直接调用即可。
<script type="text/javascript">
window.onload = window.onresize = window.onscroll = function ()
{//武鸣人网站https://www.wuming.ren 网站很好记住,wuming.ren(武鸣拼音.ren域名后缀)
 var oBox = document.getElementById("qqbox_wuming");
 var oLine = document.getElementById("online_www_wuming_ren");
 var oMenu = document.getElementById("menu_wuming_ren");
 var iScrollTop = document.documentElement.scrollTop || document.body.scrollTop;
 setTimeout(function ()
 {//武鸣人网站https://www.wuming.ren 网站很好记住,wuming.ren(武鸣拼音.ren域名后缀)
  clearInterval(oBox.timer);
  var iTop = parseInt((document.documentElement.clientHeight - oBox.offsetHeight)/2) + iScrollTop;
  oBox.timer = setInterval(function ()
  {
   var iSpeed = (iTop - oBox.offsetTop) / 8;
   iSpeed = iSpeed > 0 ? Math.ceil(iSpeed) : Math.floor(iSpeed);
   oBox.offsetTop == iTop ? clearInterval(oBox.timer) : (oBox.style.top = oBox.offsetTop + iSpeed + "px");
  }, 30)
 }, 100)
 oBox.onmouseover = function ()
 {//武鸣人网站https://www.wuming.ren 网站很好记住,wuming.ren(武鸣拼音.ren域名后缀)
  this.style.width = 131 + "px";
  oLine.style.display = "block";
  oMenu.style.display = "none";
 };
 oBox.onmouseout = function ()
 {
  this.style.width = '';
  oLine.style.display = "none";
  oMenu.style.display = "block";
 };
};//武鸣人网站https://www.wuming.ren 网站很好记住,wuming.ren(武鸣拼音.ren域名后缀)
document.write("<style>img{border:0;}ul,li{padding:0;margin:0;}.box_www_wuming_ren {z-index:99;right:0;width:128px;height:195px;position:absolute;}.box_www_wuming_ren .press{right:0;width:36px;cursor:pointer;position:absolute;height:128px;}.box_www_wuming_ren .wuming_ren_list{left:0;width:131px;position:absolute;height:195px;background:url(/img/20240229_www_wuming_ren_1.gif) no-repeat left center;}.box_www_wuming_ren .wuming_ren_list ul{padding:37px 0 0 21px;}.box_www_wuming_ren .wuming_ren_list li{height:26px;margin-bottom:3px;_margin-bottom:3px; list-style-type:none;}</style><div class=\"box_www_wuming_ren\" id=\"qqbox_wuming\"><div class=\"wuming_ren_list\" id=\"online_www_wuming_ren\" style=\"display:none;\"><ul><li><a href=\"http://wpa.qq.com/msgrd?V=1&Uin=305686263&Site=武鸣人网&Menu=yes\"><img src=\"/img/20240229_www_wuming_ren_2.gif\" alt=\"武鸣人一号客服\"></a></li><li><a href=\"http://wpa.qq.com/msgrd?V=1&Uin=305686263&Site=武鸣人网&Menu=yes\"><img src=\"/img/20240229_www_wuming_ren_2.gif\" alt=\"武鸣人二号客服\"></a></li><li><a href=\"http://wpa.qq.com/msgrd?V=1&Uin=305686263&Site=武鸣人网&Menu=yes\"><img src=\"/img/20240229_www_wuming_ren_2.gif\" alt=\"武鸣人三号客服\"></a></li><li><a href=\"http://wpa.qq.com/msgrd?V=1&Uin=305686263&Site=武鸣人网&Menu=yes\"><img src=\"/img/20240229_www_wuming_ren_2.gif\" alt=\"武鸣人四号客服\"></a></li><li><a href=\"http://wpa.qq.com/msgrd?V=1&Uin=305686263&Site=武鸣人网&Menu=yes\"><img src=\"/img/20240229_www_wuming_ren_2.gif\" alt=\"武鸣人五号客服\"></a></li></ul></div><div id=\"menu_wuming_ren\"><img src=\"/img/20240229_www_wuming_ren_3.gif\" class=\"press\" alt=\"在线客服\"></div></div>");
</script>
</body>
</html>


0
0
收藏0
回帖

常用QQ客服悬浮特效代码js版本 期待您的回复!

取消
载入表情清单……
载入颜色清单……
插入网络图片

取消确定

图片上传中
编辑器信息
提示信息