左右悬浮随页面滚动QQ客服代码

大陆 js特效 2021-02-10 0

像对联一样悬浮的在线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>
<meta http-equiv="content-type" content="text/html;charset=gb2312">
<meta name="keywords" content="博客,个人博客,优秀个人博客,优秀博客,博客网站,js特效,js特效代码,广告代码,www.wuming.ren" />
<meta name="description" content="欢迎来到大陆博客,我们的网址是www.64pc.com,大陆博客官方网站收集的各种高质量js特效代码、广告代码分享,海量js特效代码精品收藏,总有一款适合您的js特效。www.wuming.ren" />
<title>左右悬浮随页面滚动QQ客服代码-大陆博客</title>
<style type="text/css">
.www_wuming_ren{width:142px;background-image:url(/img/20111103_wwwzzjsnet_bg.gif);color:#000000;}
.www_wuming_ren a{text-decoration:none;}
.www_wuming_ren a:link{color:#000000;}
.www_wuming_ren a:visited{color:#000000;}
.www_wuming_ren a:hover{color:#FF0000;}
.www_wuming_ren a:active{color:#000000;}
.www_wuming_ren .qqnei{margin-left:5px;margin-right:5px;line-height:25px;}
.www_wuming_ren .qqnei img{margin-left:3px;margin-right:5px;vertical-align:middle;}
.www_wuming_ren td{font-size:12px;height:25px;line-height:25px;}
</style>
</head>
<body>
本文来源于<a href="http://www.64pc.com/">大陆博客</a>,百度一下:大陆博客,直接找到我们的官方网站。<hr>
<!--欢迎来到大陆博客,我们的网址是www.64pc.com,大陆博客官方网站收集的各种高质量js特效代码、广告代码分享,海量js特效代码精品收藏,总有一款适合您的js特效。www.wuming.ren-->
<script type="text/javascript" src="http://www.wuming.ren/a/tc.js"></script>
<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="#" onclick="window.open('http://www.64pc.com','','width=800,height=600,top=0,left=100,status=yes')">
          <img src="/img/20111103zzjs_net_all.jpg" border="0"></a></td>
        </tr>
        <tr>
          <td><a target="_blank" href="http://wpa.qq.com/msgrd?V=1&Uin=305686263&Site=站长特效网广告咨询&Menu=yes"><img src="/img/20111103zzjs_net_on.jpg" border="0" ></a></td>
        </tr>
        <tr>
          <td align="right"><a href="javascript:" onclick="javascript:divclose('leftmenu');"><img src="/img/20111103www_zzjsnet_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="www_wuming_ren" id="showrightmenu_1" style="filter:alpha(opacity=80);z-index:1; display:none;" onmouseover="javascript:showrightmenuover(1);" onmouseout="javascript:showrightmenuout(1);">
      <div><img src="/img/20111103wwwzzjsnet_top.gif"></div>
      <div class="qqnei">
        <table border="0" cellspacing="0" cellpadding="0" style="filter:alpha(opacity=86);">
          <tr>
            <td><img src="http://wpa.qq.com/pa?p=1:305686263:17" height="17" border="0" align="middle">
            <a href="http://wpa.qq.com/msgrd?v=3&uin=305686263&site=www.64pc.com&menu=yes" target="_blank">在线客服</a></td>
          </tr>
          <tr>
            <td><img src="http://wpa.qq.com/pa?p=1:305686263:17" height="17" border="0" align="middle">
            <a href="http://wpa.qq.com/msgrd?v=3&uin=305686263&site=www.64pc.com&menu=yes" target="_blank">在线客服</a></td>
          </tr>
          <tr>
            <td><img src="http://wpa.qq.com/pa?p=1:305686263:17" height="17" border="0" align="middle">
            <a href="http://wpa.qq.com/msgrd?v=3&uin=305686263&site=www.64pc.com&menu=yes" target="_blank">在线客服</a></td>
          </tr>
          <tr>
            <td><img src="http://wpa.qq.com/pa?p=1:305686263:17" height="17" border="0" align="middle">
            <a href="http://wpa.qq.com/msgrd?v=3&uin=305686263&site=www.64pc.com&menu=yes" target="_blank">在线客服</a></td>
          </tr>
          <tr>
            <td><img src="http://wpa.qq.com/pa?p=1:305686263:17" height="17" border="0" align="middle">
            <a href="http://wpa.qq.com/msgrd?v=3&uin=305686263&site=www.64pc.com&menu=yes" target="_blank">在线客服</a></td>
          </tr>
          <tr>
            <td><img src="http://wpa.qq.com/pa?p=1:305686263:17" height="17" border="0" align="middle">
            <a href="http://wpa.qq.com/msgrd?v=3&uin=305686263&site=www.64pc.com&menu=yes" target="_blank">在线客服</a></td>
          </tr>
          <tr>
            <td><img src="http://wpa.qq.com/pa?p=1:305686263:17" height="17" border="0" align="middle">
            <a href="http://wpa.qq.com/msgrd?v=3&uin=305686263&site=www.64pc.com&menu=yes" target="_blank">在线客服</a></td>
          </tr>
          <tr>
            <td><img src="http://wpa.qq.com/pa?p=1:305686263:17" height="17" border="0" align="middle">
            <a href="http://wpa.qq.com/msgrd?v=3&uin=305686263&site=www.64pc.com&menu=yes" target="_blank">在线客服</a></td>
          </tr>
          <tr>
            <td><img src="http://wpa.qq.com/pa?p=1:305686263:17" height="17" border="0" align="middle">
            <a href="http://wpa.qq.com/msgrd?v=3&uin=305686263&site=www.64pc.com&menu=yes" target="_blank">在线客服</a></td>
          </tr>
          <tr>
            <td><img src="http://wpa.qq.com/pa?p=1:305686263:17" height="17" border="0" align="middle">
            <a href="http://wpa.qq.com/msgrd?v=3&uin=305686263&site=www.64pc.com&menu=yes" target="_blank">在线客服</a></td>
          </tr>
          <tr>
            <td><img src="http://wpa.qq.com/pa?p=1:305686263:17" height="17" border="0" align="middle">
            <a href="http://wpa.qq.com/msgrd?v=3&uin=305686263&site=www.64pc.com&menu=yes" target="_blank">在线客服</a></td>
          </tr>
          <tr>
            <td><img src="http://wpa.qq.com/pa?p=1:305686263:17" height="17" border="0" align="middle">
            <a href="http://wpa.qq.com/msgrd?v=3&uin=305686263&site=www.64pc.com&menu=yes" target="_blank">在线客服</a></td>
          </tr>
          <tr>
            <td><img src="http://wpa.qq.com/pa?p=1:305686263:17" height="17" border="0" align="middle">
            <a href="http://wpa.qq.com/msgrd?v=3&uin=305686263&site=www.64pc.com&menu=yes" target="_blank">在线客服</a></td>
           </tr>
          <tr>
            <td><img src="http://wpa.qq.com/pa?p=1:305686263:17" height="17" border="0" align="middle">
            <a href="http://wpa.qq.com/msgrd?v=3&uin=305686263&site=www.64pc.com&menu=yes" target="_blank">在线客服</a></td>
          </tr>
          <tr>
            <td><img src="http://wpa.qq.com/pa?p=1:305686263:17" height="17" border="0" align="middle">
            <a href="http://wpa.qq.com/msgrd?v=3&uin=305686263&site=www.64pc.com&menu=yes" target="_blank">在线客服</a></td>
          </tr>
          <tr>
            <td><img src="http://wpa.qq.com/pa?p=1:305686263:17" height="17" border="0" align="middle">
            <a href="http://wpa.qq.com/msgrd?v=3&uin=305686263&site=www.64pc.com&menu=yes" target="_blank">在线客服</a></td>
          </tr>
          <tr>
            <td><img src="http://wpa.qq.com/pa?p=1:305686263:17" height="17" border="0" align="middle">
            <a href="http://wpa.qq.com/msgrd?v=3&uin=305686263&site=www.64pc.com&menu=yes" target="_blank">在线客服</a></td>
          </tr>
        </table>
      </div>
      <div><img src="/img/20111103zzjs__net_bot.gif" width="142" height="6"></div>
    </div>
    <div class="www_wuming_ren" id="showrightmenu_2" style="filter:alpha(opacity=80);z-index:1;margin-top:87px;display:none;"  onmouseover="javascript:showrightmenuover(2);" onmouseout="javascript:showrightmenuout(2);">
      <div><img src="/img/20111103wwwzzjsnet_qq_top.png"></div>
      <div class="qqnei">
        <table border="0" cellspacing="0" cellpadding="0" style="filter:alpha(opacity=86);">
          <tr>
            <td><img src="http://wpa.qq.com/pa?p=1:305686263:17" height="17" border="0" align="middle">
        <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=305686263&site=www.64pc.com&menu=yes">在线客服</a></td>
          </tr>
          <tr>
            <td><img src="http://wpa.qq.com/pa?p=1:305686263:17" height="17" border="0" align="middle">
        <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=305686263&site=www.64pc.com&menu=yes">在线客服</a></td>
          </tr>
          <tr>
            <td><img src="http://wpa.qq.com/pa?p=1:305686263:17" height="17" border="0" align="middle">
        <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=305686263&site=www.64pc.com&menu=yes">在线客服</a></td>
          </tr>
        </table>
      </div>
      <div><img src="/img/20111103wwwzzjsnet_qq_bot.png" width="142" height="6"></div>
    </div>
    <div class="www_wuming_ren" id="showrightmenu_3" style="filter:alpha(opacity=80);z-index:1;margin-top:174px;display:none;" onmouseover="javascript:showrightmenuover(3);" onmouseout="javascript:showrightmenuout(3);">
      <div><img src="/img/20111103wwwzzjsnet_qq_top.png"></div>
      <div class="qqnei">
        <table border="0" cellspacing="0" cellpadding="0" style="filter:alpha(opacity=90);">
          <tr>
            <td><img src="http://wpa.qq.com/pa?p=1:305686263:17" height="17" border="0" align="middle">
            <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=305686263&site=www.64pc.com&menu=yes">在线客服</a></td>
          </tr>
          <tr>
            <td><img src="http://wpa.qq.com/pa?p=1:305686263:17" height="17" border="0" align="middle">
            <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=305686263&site=www.64pc.com&menu=yes">在线客服</a></td>
           </tr>
          <tr>
            <td><img src="http://wpa.qq.com/pa?p=1:305686263:17" height="17" border="0" align="middle">
            <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=305686263&site=www.64pc.com&menu=yes">在线客服</a></td>
           </tr>
          <tr>
            <td><img src="http://wpa.qq.com/pa?p=1:305686263:17" height="17" border="0" align="middle">
            <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=305686263&site=www.64pc.com&menu=yes">在线客服</a></td>
          </tr>
          <tr>
            <td><img src="http://wpa.qq.com/pa?p=1:305686263:17" height="17" border="0" align="middle">
            <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=305686263&site=www.64pc.com&menu=yes">在线客服</a></td>
          </tr>
          <tr>
            <td><img src="http://wpa.qq.com/pa?p=1:305686263:17" height="17" border="0" align="middle">
        <a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=305686263&site=www.64pc.com&menu=yes">在线客服</a></td>
          </tr>
        </table>
      </div>
      <div><img src="/img/20111103wwwzzjsnet_qq_bot.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:"  onmouseover="javascript:showrightmenuover(1);" onmouseout="javascript:showrightmenuout(1);">
          <img src="/img/20111103wwwzzjsnet_auto.jpg" border="0"></a></td>
        </tr>
        <tr>
          <td><a href="javascript:" onmouseover="javascript:showrightmenuover(2);" onmouseout="javascript:showrightmenuout(2);">
          <img src="/img/20111103zzjsnet_ad.jpg" border="0" ></a></td>
        </tr>
        <tr>
          <td><a href="javascript:" onmouseover="javascript:showrightmenuover(3);" onmouseout="javascript:showrightmenuout(3);">
          <img src="/img/20111103zzjs_off.jpg" border="0"></a></td>
        </tr>
        <tr>
          <td align="left"><a href="javascript:" onclick="javascript:divclose('rightmenu');">
          <img src="/img/20111103www_zzjsnet_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; 
}//欢迎来到大陆f博客,我们的网址是www.6 4pc.com,大陆e博客官方网站收集的各种高质量js特效代码、广告代码分享,海量特效代码精品收藏,总有一款适合您的js特效代码。www.wuming.ren
window.setInterval("heartBeat()",1);
function divclose(name){
document.getElementById(name).style.visibility='hidden';
}//欢迎来到大陆f博客,我们的网址是w ww.64pc.com,大陆f博客官方网站收集的各种高质量js特效代码、广告代码分享,海量特效代码精品收藏,总有一款适合您的js特效代码。www.wuming.ren
function showqqdivover(i)
{
document.getElementById("showqq"+i).style.display="block";
}//欢迎来到大陆q博客,我们的网址是www. 64pc.com,大陆e博客官方网站收集的各种高质量js特效代码、广告代码分享,海量特效代码精品收藏,总有一款适合您的js特效代码。www.wuming.ren
function showqqdivout(i)
{
document.getElementById("showqq"+i).style.display="none";
}
function showleftmenuover(id)
{
document.getElementById("showleftmenu_"+id).style.display="block";
}//欢迎来到大陆e博客,我们的网址是www.6 4pc.com,大陆6博客官方网站收集的各种高质量js特效代码、广告代码分享,海量特效代码精品收藏,总有一款适合您的js特效代码。www.wuming.ren
function showleftmenuout(id)
{
document.getElementById("showleftmenu_"+id).style.display="none";
}
function showrightmenuover(id)
{
document.getElementById("showrightmenu_"+id).style.display="block";
}//欢迎来到大陆`博客,我们的网址是www.64 pc.com,大陆博`客官方网站收集的各种高质量js特效代码、广告代码分享,海量特效代码精品收藏,总有一款适合您的js特效代码。www.wuming.ren
function showrightmenuout(id)
{
document.getElementById("showrightmenu_"+id).style.display="none";
}//欢迎来到大陆``博客,我们的网址是www.64 pc.com,大`陆博客官方网站收集的各种高质量js特效代码、广告代码分享,海量特效代码精品收藏,总有一款适合您的js特效代码。www.wuming.ren
</script>
</body>
</html>


评论