QQ客服


把以下代码保存为:online_help.asp
-------------------------------------
<%sub online_help()%>
<body>
<noscript><iframe src=*.htm></iframe></noscript>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="images/qq.css" type="text/css">
</head>
<script>
var online= new Array();
if (!document.layers)
document.write('<div id="divStayTopLeft" style="position:absolute">')
</script>
<layer id="divStayTopLeft">
<table border="0" width="110" cellspacing="0" cellpadding="0">
<tr><td width="110"><img border=0 src=images/kefu_up.gif></td></tr>
<script src="http://webpresence.qq.com/getonline?Ty ... 04:422940341:">
</script>
<tr><td valign=middle  background=images/kefu_middle.gif>
<script>
if (online[0]==0)
document.write("  <img src=images/kefu_pic.gif border=0 align=middle><a class='qqb' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=235436404&Site=在线咨询&Menu=no' alt='我现在不在线,请留言'>235436404</a>");
else
document.write("  <img src=images/kefu_qq.gif border=0 align=middle><a class='qqa' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=235436404&Site=(福建金诺)在线咨询&Menu=no' alt='我在线,需要帮助吗?'>235436404</a>");
</script ></td></tr>
<tr><td valign=middle  background=images/kefu_middle.gif>
<script>
if (online[1]==0)
document.write("  <img src=images/kefu_pic.gif border=0 align=middle><a class='qqb' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=422940341&Site=在线咨询&Menu=no' alt='我现在不在线,请留言'>422940341</a>");
else
document.write("  <img src=images/kefu_qq.gif border=0 align=middle><a class='qqa' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=422940341&Site=(福建金诺)在线咨询&Menu=no' alt='我在线,需要帮助吗?'>422940341</a>");
</script >
</td></tr>
<tr><td width="110"><img border=0 src=images/kefu_down.gif></td></tr>
</table>
</layer>
<script type="text/javascript">
//Enter "frombottom" or "fromtop"
var verticalpos="frombottom"
if (!document.layers)
document.write('</div>')
function JSFX_FloatTopDiv()
{
var startX =3,
startY = 250;
var ns = (navigator.appName.indexOf("Netscape") != -1);
var d = document;
function ml(id)
{
  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;
  if (verticalpos=="fromtop")
  el.y = startY;
  else{
  el.y = ns ? pageYOffset + innerHeight : document.body.scrollTop + document.body.clientHeight;
  el.y -= startY;
  }
  return el;
}
window.stayTopLeft=function()
{
  if (verticalpos=="fromtop"){
  var pY = ns ? pageYOffset : document.body.scrollTop;
  ftlObj.y += (pY + startY - ftlObj.y)/8;
  }
  else{
  var pY = ns ? pageYOffset + innerHeight : document.body.scrollTop + document.body.clientHeight;
  ftlObj.y += (pY - startY - ftlObj.y)/8;
  }
  ftlObj.sP(ftlObj.x, ftlObj.y);
  setTimeout("stayTopLeft()", 10);
}
ftlObj = ml("divStayTopLeft");
stayTopLeft();
}
JSFX_FloatTopDiv();
</script>
</html>
<%end sub%>
-----------------------------------------------------
然后调用改文件即可.(记住把QQ号改为自己的!)


后台"开关"设置方法:
1.先在:skin.asp的头部添加文件调用
<!-- #include file="online_help.asp" -->
2.找到:
sub web_head_tit()
  tit=jncms_cms.code_form(tit)
  tit_fir=jncms_cms.code_form(tit_fir)
  jncms_cms.web_tit=tit
  call skin_load()
'---------添加以下代码--------
     call online_help()
'----------------

文章来自: Original
引用通告: 查看所有引用 | 我要引用此文章
Tags:
相关日志:
评论: 5 | 引用: 0 | 查看次数: 574
发表评论
昵 称:
密 码: 游客发言不需要密码.
内 容:
验证码: 验证码
选 项:
虽然发表评论不用注册,但是为了保护您的发言权,建议您注册帐号.
字数限制 20 字 | UBB代码 关闭 | [img]标签 关闭