网页右边上下浮动在线QQ客服代码 |
网站在线客服系统 1263202313 作者:刘晴 来源: 文字大小:[大][中][小] |
源代码: <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <title>QQ在线客服代码演示</title> </head> <BODY> <DIV id=divStay style="height:1500px"><br> 感谢懒人/№True☆Lies投稿 代码整理:<a href="http://www.d500.com.cn/" target="_blank">当我吧素材网</a> <p>*尊重他人劳动成果,转载请自觉注明出处! </p> <p>注:此代码仅供学习交流,请勿用于商业用途。</p> </DIV> <SCRIPT language=javascript> function picsize(obj,MaxWidth){ img=new Image(); img.src=obj.src; if (img.width>MaxWidth) { return MaxWidth; } else { return img.width; } } function CloseQQ() { divStayTopleft.style.display="none"; return true; } var online= new Array(); </SCRIPT> <DIV id=divStayTopleft style="POSITION: absolute"> <TABLE cellSpacing=0 cellPadding=0 width=109 border=0> <TBODY> <TR> <TD colSpan=3><A onclick=CloseQQ() href="javascript:;" shape=circle coords=91,16,12><img height=34 src="http://www.d500.com.cn/jscode/2009_5_13/5/images/qq_top.gif" width=109 usemap=#Map border=0></A></TD> </TR> <TR> <TD width=6 background="http://www.d500.com.cn/jscode/2009_5_13/5/images/qq_life.gif"></TD> <TD vAlign=top width=96 background=""> <TABLE cellSpacing=0 cellPadding=0 width=90 align=center border=0> <TBODY> <TR> <TD height=30> <TABLE cellSpacing=0 cellPadding=0 width=90 border=0> <TBODY> <TR> <TD><IMG height=13 src="http://www.d500.com.cn/jscode/2009_5_13/5/images/qq_ico1.gif" width=16><SPAN class=font_12> <SPAN style="FONT-SIZE: 9pt">客户服务</SPAN></SPAN></TD></TR></TBODY></TABLE></TD></TR> <TR> <TD> <TABLE id=table47 cellPadding=2 width="100%" border=0> <TBODY> <TR> <TD vAlign=top width=15 height=23><IMG height=16 src="http://www.d500.com.cn/jscode/2009_5_13/5/images/qq_v01.gif" width=16 border=0></TD> <TD vAlign=bottom> <SCRIPT>document.write("<a target=blank href=tencent://message/?uin=123456789&Site=在线客服&Menu=yes><img border=0 SRC=http://wpa.qq.com/pa?p=1:615050000:10 alt=在线客服></a>");</SCRIPT> </TD></TR></TBODY></TABLE></TD></TR> <TR> <TD></TD></TR> <TR> <TD> <TABLE id=table47 cellPadding=2 width="100%" border=0> <TBODY> <TR> <TD vAlign=top width=15 height=23><IMG height=16 src="http://www.d500.com.cn/jscode/2009_5_13/5/images/qq_n01.gif" width=16 border=0></TD> <TD vAlign=bottom> <SCRIPT>document.write("<a target=blank href=tencent://message/?uin=123456789&Site=在线客服&Menu=yes><img border=0 SRC=http://wpa.qq.com/pa?p=1:615050000:10 alt=在线客服></a>");</SCRIPT> </TD></TR> <TR> <TD vAlign=top height=23><IMG height=16 src="http://www.d500.com.cn/jscode/2009_5_13/5/images/qq_n01.gif" width=16 border=0></TD> <TD vAlign=bottom><SCRIPT>document.write("<a target=blank href=tencent://message/?uin=123456789&Site=在线客服&Menu=yes><img border=0 SRC=http://wpa.qq.com/pa?p=1:615050000:10 alt=在线客服></a>");</SCRIPT></TD> </TR> <TR> <TD vAlign=top height=23><IMG height=16 src="http://www.d500.com.cn/jscode/2009_5_13/5/images/qq_v01.gif" width=16 border=0></TD> <TD vAlign=bottom><SCRIPT>document.write("<a target=blank href=tencent://message/?uin=123456789&Site=在线客服&Menu=yes><img border=0 SRC=http://wpa.qq.com/pa?p=1:615050000:10 alt=在线客服></a>");</SCRIPT></TD> </TR> <TR> <TD vAlign=top height=23><IMG height=16 src="http://www.d500.com.cn/jscode/2009_5_13/5/images/qq_v01.gif" width=16 border=0></TD> <TD vAlign=bottom><SCRIPT>document.write("<a target=blank href=tencent://message/?uin=123456789&Site=在线客服&Menu=yes><img border=0 SRC=http://wpa.qq.com/pa?p=1:43486831:10 alt=在线客服></a>");</SCRIPT> </TD> </TR> <TR> <TD vAlign=top height=23><IMG height=16 src="http://www.d500.com.cn/jscode/2009_5_13/5/images/qq_n01.gif" width=16 border=0></TD> <TD vAlign=bottom><SCRIPT>document.write("<a target=blank href=tencent://message/?uin=123456789&Site=在线客服&Menu=yes><img border=0 SRC=http://wpa.qq.com/pa?p=1:615050000:10 alt=在线客服></a>");</SCRIPT></TD> </TR> </TBODY></TABLE></TD></TR> <TR> <TD></TD></TR></TBODY></TABLE></TD> <TD width=7 align="left" background="http://www.d500.com.cn/jscode/2009_5_13/5/images/qq_right.gif"></TD> </TR> <TR> <TD colSpan=3><IMG height=30 src="http://www.d500.com.cn/jscode/2009_5_13/5/images/qq_bottom1.gif" width=109></TD></TR> <TR> <TD colSpan=3><IMG height=33 src="http://www.d500.com.cn/jscode/2009_5_13/5/images/qq_logo.gif" width=109></TD></TR></TBODY></TABLE> </DIV> <SCRIPT type=text/javascript> function FloatTop() { var startX1 =document.body.offsetWidth-125 ,startY1 = 5; var startX2 =0,startY2 = 95; var ns = (navigator.appName.indexOf("Netscape") != -1); var d = document; function ml(id,startX,startY) { var el=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id]; if(d.layers)el.style=el; el.sP=function(x,y){this.style.left=x;this.style.top=y;}; el.x = startX; el.y = startY; return el; } window.stayTopLeft=function() { var pY = ns ? pageYOffset : document.body.scrollTop; ftlObj.y += (pY + startY1 - ftlObj.y)/8; ftlObj1.y += (pY + startY2 - ftlObj1.y)/8; ftlObj.sP(document.body.scrollLeft+document.body.offsetWidth-125, ftlObj.y); ftlObj1.sP(ftlObj1.x, ftlObj1.y); setTimeout("stayTopLeft()", 30); } // ftlObj = ml("divStay",document.body.scrollLeft+document.body.offsetWidth-125,0); // ftlObj1 = ml("divStayTopLeft",0,30); ftlObj = ml("divStay",(document.body.scrollLeft+document.body.offsetWidth)/2+379,0); ftlObj1 = ml("divStayTopLeft",(document.body.scrollLeft+document.body.offsetWidth)/2+379,30); stayTopLeft(); } FloatTop(); </SCRIPT> <!--End: QQ在线客服 --> </body> </html> |