QQ浮动客服,web2.0
时间:[2008-7-28 22:43:38] 作者:请作者尽快与我们联系。
<STYLE>
.QQFloat { left:890px;top:130px; }
A.qqa:link {COLOR: red; text-decoration: none;font-size:9pt;}
A.qqa:visited {COLOR: red; text-decoration: none;font-size:9pt;}
A.qqa:active {COLOR: red; text-decoration: none;font-size:9pt;}
A.qqa:hover {COLOR: blue; text-decoration: none;font-size:9pt;}
A.qqb:link {COLOR: black; text-decoration: none;font-size:9pt;}
A.qqb:visited {COLOR: black; text-decoration: none;font-size:9pt;}
A.qqb:active {COLOR: black; text-decoration: none;font-size:9pt;}
A.qqb:hover {COLOR: blue; text-decoration: none;font-size:9pt;}
</STYLE>
<div id="QQFloat" style="Z-INDEX:20;LEFT:893px;VISIBILITY:visible;WIDTH:111px;POSITION:absolute;TOP:150px;HEIGHT:300px;">
<script>
var online= new Array();
</script>
<table border="0" width="110" cellspacing="0" cellpadding="0">
<tr><td width="110" align=center><img src=images/kefu_uptop.gif onclick="javascript:QQFloat.style.visibility='hidden'"></td></tr>
<tr><td width="110" height="51" background="images/kefu_up.gif" align=center><font size=2>在线客服<br /><br />
</font></td></tr>
<SCRIPT src="http://webpresence.qq.com/getonline?Type=1&769612518:"></SCRIPT>
<TR>
<TD vAlign=center background=images/kefu_middle.gif>
<SCRIPT>
if (online[0]==0)
document.write(" <img src=images/QQoffline.gif border=0 align=middle><a class='qqb' target=blank href='tencent://message/?uin=769612518&Site=我要买牛羊&Menu=no' title='客服不在线,请留言'> 在线客服</a>");
else
document.write(" <img src=images/QQonline.gif border=0 align=middle><a class='qqa' target=blank href='tencent://message/?uin=769612518&Site=我要买牛羊&Menu=no' title='在线即时交谈'> 在线客服</a>");
</SCRIPT>
</TD></TR>
<tr><td width="110" height="31" background="images/kefu_down.gif" align=center></td></tr>
</table>
</div>
<script type="text/javascript">
//<![CDATA[
var tips; var theTop = 150/*这是默认高度,越大越往下*/; var old = theTop;
function initFloatTips() {
tips = document.getElementById('QQFloat');
moveTips();
};
function moveTips() {
var tt=50;
if (window.innerHeight) {
pos = window.pageYOffset
}
else if (document.documentElement && document.documentElement.scrollTop) {
pos = document.documentElement.scrollTop
}
else if (document.body) {
pos = document.body.scrollTop;
}
pos=pos-tips.offsetTop+theTop;
pos=tips.offsetTop+pos/10;
if (pos < theTop) pos = theTop;
if (pos != old) {
tips.style.top = pos+"px";
tt=10;
//alert(tips.style.top);
}
old = pos;
setTimeout(moveTips,tt);
}
//!]]>
initFloatTips();
</script>
【声明】本站刊载的《QQ浮动客服,web2.0》一文如果有侵害你权益的情况,请联系我们。我们将及时采取措施。
QQ:44637339 Email:just6@163.com Tel:13355163107 Lining studios