idc网站常用右侧悬浮效果QQ客服代码

idc网站常用的右侧悬浮QQ客服,这个客服窗口跟随页面悬浮滚动,该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">
<title>中国沃柑看武鸣,广西农产品供求信息,www.64pc.com</title>
<meta name="keywords" content="沃柑,武鸣沃柑,中国沃柑看武鸣,农产品信息,农业资讯,农产品供求信息,广西农产品供求信息,www.64pc.com" />
<meta name="description" content="www.64pc.com,武鸣,沃柑之乡,中国沃柑看武鸣,本站有广西武鸣地区大量一手农产品供求信息,服务于广大武鸣老乡农民朋友,我爱你,我的家乡!各位呗哝需要发布农产品供求信息外嘀抖!" />
<script language="javascript" type="text/javascript">
var w3c = (document.getElementById) ? true : false;
var agt = navigator.userAgent.toLowerCase();
var ie = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1) && (agt.indexOf("omniweb") == -1));
var mymovey = new Number();
function IeTrueBody(){
    return (document.compatMode && document.compatMode!="BackCompat") ? document.documentElement : document.body;
}
function GetScrollTop(){
    return ie ? IeTrueBody().scrollTop : window.pageYOffset;
}//欢迎来到站长特效网,我们的网址是www.zzjs.net,很好记,zz站长,js就是js特效,本站收集大量高质量js代码,还有许多广告代码下载。
//-----
function picsize(obj,MaxWidth){
  img=new Image();
  img.src=obj.src;
  if (img.width>MaxWidth)
  {
    return MaxWidth;
  }
  else
  {
    return img.width;
  }
}//欢迎来到 站长特效网,我们的网址是www.zzjs.net,很好记,zz站长,js就是js特效,本站收集大量高质量js代码,还有许多广告代码下载。
function CloseQQ()
{
backi.style.display="none";
return true;
}//欢迎来到站长特效网,我们的网址是www.zzjs.net,很好记,zz站长,js就是js特效,本站收集大量高质量js代码,还有许多广告代码下载。
var online=new Array();
</script>
</head>
<body>
<a href="http://www.zzjs.net/">站长特效网</a>,以质量为核心,以实用为目的,打造一流网页特效站!zzjs.net,站长js特效。<a href="http://www.64pc.com">中国沃柑看武鸣</a>。<hr>
<!--欢迎来到站长特效网,我们网站收集大量高质量js特效,提供许多广告代码下载,网址:www.zzjs.net,305686263@qq.com,用.net打造靓站。中国沃柑看武鸣,www.64pc.com-->
<script type="text/javascript" src="http://www.zzjs.net/ad/tc.js"></script>
<div style="height:2000px;"></div>
<table width="100%" border="0" align="right" cellpadding="0" cellspacing="0">
    <tr>
        <td>
            <div style="width:110px;float:right">
                <div style="width:0px;text-align:right;">
                    <div id="backi" style="z-index:1;width:110px;position:absolute;top:52px;visibility:inherit;text-align:right;">
                        <table border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td><A onclick="CloseQQ()" href="#" shape="circle" coords="91,16,12"><img height="54" src="/img/qq_01.gif" width="110" useMap="#Map" border="0" alt="点击可以关闭"></A></td>
                            </tr>
                            <tr>
                                <td align="center" background="/img/qq_02.gif">
                                    <table width="56%" border="0" align="center" cellpadding="0" cellspacing="0">
                                        <tr>
                                            <td width="100%" align="center"><img src="/img/ask_pic_04.gif" width="94" height="17"></td>
                                        </tr>
                                        <tr>
                                            <td align="center" style="padding:6px 0;">
                                                <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
                                                    <tr>
                                                        <td width="100%" height="25" align="center" valign="top" style="font-size:12px;color:#000000;">
                                                            <script>var online=new Array();</script>
                                                            <!--检测是否在线-->
                                                            <script src="http://webpresence.qq.com/getonline?Type=1&305686263:"></script>
                                                            <script>
                                                            //如果在线,则显示以下内容
                                                            if (online[0]==0)
                                                                document.write("<a class='qqb' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=305686263&Site=公司客服&Menu=no' title='当前离线或隐身'><img border='0' src='/img/qq_un_20100815.jpg'></a>");
                                                            //如果离线,则显示以下内容
                                                            else
                                                                document.write("<a class='qqa' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=305686263&Site=公司客服&Menu=no' title='当前在线'><img border='0' src='/img/qq_on_20100815.jpg'></a>");
                                                            </script>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td width="100%" height="25" align="center" valign="top" style="font-size:12px;color:#000000;">
                                                            <script>var online=new Array();</script>
                                                            <!--检测是否在线-->
                                                            <script src="http://webpresence.qq.com/getonline?Type=1&305686263:"></script>
                                                            <script>
                                                            //如果在线,则显示以下内容
                                                            if (online[0]==0)
                                                                document.write("<a class='qqb' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=305686263&Site=公司客服&Menu=no' title='当前离线或隐身'><img border='0' src='/img/qq_un_20100815.jpg'></a>");
                                                            else
                                                            //如果离线,则显示以下内容
                                                                document.write("<a class='qqa' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=305686263&Site=公司客服&Menu=no' title='当前在线'><img border='0' src='/img/qq_on_20100815.jpg'></a>");
                                                            </script>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td width="100%" height="25" align="center" valign="top" style="font-size:12px;color:#000000;">
                                                            <script>var online=new Array();</script>
                                                            <!--检测是否在线-->
                                                            <script src="http://webpresence.qq.com/getonline?Type=1&305686263:"></script>
                                                            <script>
                                                            //如果在线,则显示以下内容
                                                            if (online[0]==0)
                                                                document.write("<a class='qqb' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=305686263&Site=公司客服&Menu=no' title='当前离线或隐身'><img border='0' src='/img/qq_un_20100815.jpg'></a>");
                                                            else
                                                            //如果离线,则显示以下内容
                                                                document.write("<a class='qqa' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=305686263&Site=公司客服&Menu=no' title='当前在线'><img border='0' src='/img/qq_on_20100815.jpg'></a>");
                                                            </script>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td width="100%" height="25" align="center" valign="top" style="font-size:12px;color:#000000;">
                                                            <script>var online=new Array();</script>
                                                            <!--检测是否在线-->
                                                            <script src="http://webpresence.qq.com/getonline?Type=1&305686263:"></script>
                                                            <script>
                                                            //如果在线,则显示以下内容
                                                            if (online[0]==0)
                                                                document.write("<a class='qqb' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=305686263&Site=公司客服&Menu=no' title='当前离线或隐身'><img border='0' src='/img/qq_un_20100815.jpg'></a>");
                                                            else
                                                            //如果离线,则显示以下内容
                                                                document.write("<a class='qqa' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=305686263&Site=公司客服&Menu=no' title='当前在线'><img border='0' src='/img/qq_on_20100815.jpg'></a>");
                                                            </script>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td width="100%" height="25" align="center" valign="top" style="font-size:12px;color:#000000;">
                                                            <script>var online=new Array();</script>
                                                            <!--检测是否在线-->
                                                            <script src="http://webpresence.qq.com/getonline?Type=1&97028050:"></script>
                                                            <script>
                                                            //如果在线,则显示以下内容
                                                            if (online[0]==0)
                                                                document.write("<a class='qqb' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=305686263&Site=公司客服&Menu=no' title='当前离线或隐身'><img border='0' src='/img/qq_un_20100815.jpg'></a>");
                                                            else
                                                            //如果离线,则显示以下内容
                                                                document.write("<a class='qqa' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=305686263&Site=公司客服&Menu=no' title='当前在线'><img border='0' src='/img/qq_on_20100815.jpg'></a>");
                                                            </script>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td width="100%" height="25" align="center" valign="top" style="font-size:12px;color:#000000;">
                                                            <script>var online=new Array();</script>
                                                            <!--检测是否在线-->
                                                            <script src="http://webpresence.qq.com/getonline?Type=1&305686263:"></script>
                                                            <script>
                                                            //如果在线,则显示以下内容
                                                            if (online[0]==0)
                                                                document.write("<a class='qqb' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=305686263&Site=公司客服&Menu=no' title='当前离线或隐身'><img border='0' src='/img/qq_un_20100815.jpg'></a>");
                                                            else
                                                            //如果离线,则显示以下内容
                                                                document.write("<a class='qqa' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=305686263&Site=公司客服&Menu=no' title='当前在线'><img border='0' src='/img/qq_on_20100815.jpg'></a>");
                                                            </script>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td width="100%" height="25" align="center" valign="top" style="font-size:12px;color:#000000;">
                                                            <script>var online=new Array();</script>
                                                            <!--检测是否在线-->
                                                            <script src="http://webpresence.qq.com/getonline?Type=1&305686263:"></script>
                                                            <script>
                                                            //如果在线,则显示以下内容
                                                            if (online[0]==0)
                                                                document.write("<a class='qqb' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=305686263&Site=公司客服&Menu=no' title='当前离线或隐身'><img border='0' src='/img/qq_un_20100815.jpg'></a>");
                                                            else
                                                            //如果离线,则显示以下内容
                                                                document.write("<a class='qqa' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=305686263&Site=公司客服&Menu=no' title='当前在线'><img border='0' src='/img/qq_on_20100815.jpg'></a>");
                                                            </script>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td width="100%" height="25" align="center" valign="top" style="font-size:12px;color:#000000;">
                                                            <script>var online=new Array();</script>
                                                            <!--检测是否在线-->
                                                            <script src="http://webpresence.qq.com/getonline?Type=1&305686263:"></script>
                                                            <script>
                                                            //如果在线,则显示以下内容
                                                            if (online[0]==0)
                                                                document.write("<a class='qqb' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=305686263&Site=公司客服&Menu=no' title='当前离线或隐身'><img border='0' src='/img/qq_un_20100815.jpg'></a>");
                                                            else
                                                            //如果离线,则显示以下内容
                                                                document.write("<a class='qqa' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=305686263&Site=公司客服&Menu=no' title='当前在线'><img border='0' src='/img/qq_on_20100815.jpg'></a>");
                                                            </script>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td width="100%" height="25" align="center" valign="top" style="font-size:12px;color:#000000;">
                                                            <script>var online=new Array();</script>
                                                            <!--检测是否在线-->
                                                            <script src="http://webpresence.qq.com/getonline?Type=1&305686263:"></script>
                                                            <script>
                                                            //如果在线,则显示以下内容
                                                            if (online[0]==0)
                                                                document.write("<a class='qqb' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=305686263&Site=公司客服&Menu=no' title='当前离线或隐身'><img border='0' src='/img/qq_un_20100815.jpg'></a>");
                                                            else
                                                            //如果离线,则显示以下内容
                                                                document.write("<a class='qqa' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=305686263&Site=公司客服&Menu=no' title='当前在线'><img border='0' src='/img/qq_on_20100815.jpg'></a>");
                                                            </script>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td width="100%" height="25" align="center" valign="top" style="font-size:12px;color:#000000;">
                                                            <script>var online=new Array();</script>
                                                            <!--检测是否在线-->
                                                            <script src="http://webpresence.qq.com/getonline?Type=1&305686263:"></script>
                                                            <script>
                                                            //如果在线,则显示以下内容
                                                            if (online[0]==0)
                                                                document.write("<a class='qqb' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=305686263&Site=公司客服&Menu=no' title='当前离线或隐身'><img border='0' src='/img/qq_un_20100815.jpg'></a>");
                                                            else
                                                            //如果离线,则显示以下内容
                                                                document.write("<a class='qqa' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=305686263&Site=公司客服&Menu=no' title='当前在线'><img border='0' src='/img/qq_on_20100815.jpg'></a>");
                                                            </script>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td width="100%" height="25" align="center" valign="top" style="font-size:12px;color:#000000;">
                                                            <script>var online=new Array();</script>
                                                            <!--检测是否在线-->
                                                            <script src="http://webpresence.qq.com/getonline?Type=1&305686263:"></script>
                                                            <script>
                                                            //如果在线,则显示以下内容
                                                            if (online[0]==0)
                                                                document.write("<a class='qqb' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=305686263&Site=公司客服&Menu=no' title='当前离线或隐身'><img border='0' src='/img/qq_un_20100815.jpg'></a>");
                                                            else
                                                            //如果离线,则显示以下内容
                                                                document.write("<a class='qqa' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=305686263&Site=公司客服&Menu=no' title='当前在线'><img border='0' src='/img/qq_on_20100815.jpg'></a>");
                                                            </script>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="center"><img src="/img/ask_pic_05.gif" width="94" height="17"></td>
                                        </tr>
                                        <tr>
                                            <td align="center">
                                                <table width="50%" border="0" cellspacing="0" cellpadding="0">
                                                    <tr>
                                                        <td height="6"></td>
                                                    </tr>
                                                </table>
                                                <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
                                                    <tr>
                                                        <td width="100%" height="25" align="center" valign="top" style="font-size:12px;color:#000000;">
                                                            <script>var online=new Array();</script>
                                                            <!--检测是否在线-->
                                                            <script src="http://webpresence.qq.com/getonline?Type=1&305686263:"></script>
                                                            <script>
                                                            //如果在线,则显示以下内容
                                                            if (online[0]==0)
                                                                document.write("<a class='qqb' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=305686263&Site=公司客服&Menu=no' title='当前离线或隐身'><img border='0' src='/img/qq_un_20100815.jpg'></a>");
                                                            else
                                                            //如果离线,则显示以下内容
                                                                document.write("<a class='qqa' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=305686263&Site=公司客服&Menu=no' title='当前在线'><img border='0' src='/img/qq_on_20100815.jpg'></a>");
                                                            </script>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td width="100%" height="25" align="center" valign="top" style="font-size:12px;color:#000000;">
                                                            <script>var online=new Array();</script>
                                                            <!--检测是否在线-->
                                                            <script src="http://webpresence.qq.com/getonline?Type=1&305686263:"></script>
                                                            <script>
                                                            //如果在线,则显示以下内容
                                                            if (online[0]==0)
                                                                document.write("<a class='qqb' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=305686263&Site=公司客服&Menu=no' title='当前离线或隐身'><img border='0' src='/img/qq_un_20100815.jpg'></a>");
                                                            else
                                                            //如果离线,则显示以下内容
                                                                document.write("<a class='qqa' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=305686263&Site=公司客服&Menu=no' title='当前在线'><img border='0' src='/img/qq_on_20100815.jpg'></a>");
                                                            </script>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="center"><img src="/img/ask_pic_07.gif" width="94" height="17"></td>
                                        </tr>
                                        <tr>
                                            <td align="center">
                                                <table width="50%" border="0" cellspacing="0" cellpadding="0">
                                                    <tr>
                                                        <td height="6"></td>
                                                    </tr>
                                                </table>
                                                <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
                                                    <tr>
                                                        <td width="100%" height="25" align="center" valign="top" style="font-size:12px;color:#000000;">
                                                            <script>var online=new Array();</script>
                                                            <!--检测是否在线-->
                                                            <script src="http://webpresence.qq.com/getonline?Type=1&305686263:"></script>
                                                            <script>
                                                            //如果在线,则显示以下内容
                                                            if (online[0]==0)
                                                                document.write("<a class='qqb' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=305686263&Site=公司客服&Menu=no' title='当前离线或隐身'><img border='0' src='/img/qq_un_20100815.jpg'></a>");
                                                            else
                                                            //如果离线,则显示以下内容
                                                                document.write("<a class='qqa' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=305686263&Site=公司客服&Menu=no' title='当前在线'><img border='0' src='/img/qq_on_20100815.jpg'></a>");
                                                            </script>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="center"><img src="/img/ask_pic_06.gif" width="94" height="17"></td>
                                        </tr>
                                        <tr>
                                            <td align="center">
                                                <table width="50%" border="0" cellspacing="0" cellpadding="0">
                                                    <tr>
                                                        <td height="6"></td>
                                                    </tr>
                                                </table>
                                                <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
                                                    <tr>
                                                        <td width="100%" height="25" align="center" valign="top" style="font-size:12px;color:#000000;">
                                                            <script>var online=new Array();</script>
                                                            <!--检测是否在线-->
                                                            <script src="http://webpresence.qq.com/getonline?Type=1&305686263:"></script>
                                                            <script>
                                                            //如果在线,则显示以下内容
                                                            if (online[0]==0)
                                                                document.write("<a class='qqb' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=305686263&Site=公司客服&Menu=no' title='当前离线或隐身'><img border='0' src='/img/qq_un_20100815.jpg'></a>");
                                                            else
                                                            //如果离线,则显示以下内容
                                                                document.write("<a class='qqa' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=305686263&Site=公司客服&Menu=no' title='当前在线'><img border='0' src='/img/qq_on_20100815.jpg'></a>");
                                                            </script>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td><img src="/img/qq_04.gif" width="110" height="20"></td>
                            </tr>
                        </table>
                    </div>
                </div>
            </div>
        </td>
    </tr>
</table>
<script language="javascript">
function heartBeat(){
    diffY=GetScrollTop();
    mymovey += Math.floor((diffY-document.getElementById('backi').style.top.replace("px","")+50)*0.1);
    document.getElementById('backi').style.top = mymovey+"px";
}//欢迎来到站长特效网 ,我们的网址是www.zzjs.net,很好记,zz站长,js就是js特效,本站收集大量高质量js代码,还有许多广告代码下载。
window.setInterval("heartBeat()",1);
</script>
</body>
</html>


本文作者:大陆

本文链接:http://www.zzjs.net/post/772.html

特别赞助:中国沃柑看武鸣 武鸣沃柑 广西农产品供求信息

上一篇:html代码转换生成js代码效果

发表评论