1.<script language="JavaScript" type="text/javascript" src="/qqkf.txt"></script>把这个加载在你所要出现客服的页面中
2.把以下的文本保存到qqkf.txt文件中,把这个文件放在站点的根目录下。
function open_qq(md5){
var tempSrc='http://sighttp.qq.com/wpa.js?rantime='+Math.random()+'&sigkey='+md5;
var oldscript=document.getElementById('testJs');
var newscript=document.createElement('script');
newscript.setAttribute('type','text/javascript');
newscript.setAttribute('id', 'testJs');newscript.setAttribute('src',tempSrc);
if(oldscript == null)
{document.body.appendChild(newscript);}
else
{oldscript.parentNode.replaceChild(newscript, oldscript);}
return false;
}
var online=new Array();
if (!document.layers)
document.write('<div id="divStayTopLeft" style="position:absolute; z-index:999">');
document.write('<table cellSpacing="0" cellPadding="0" width="110" border="0" id="qqtab">');
document.write('<tr>');
document.write('<td width="135" ><img src="http://www.fvidc.com/acp/userfile/yalun888/images/top.gif" border="0" width="116" height="32"><img src="http://www.fvidc.com/acp/userfile/yalun888/images/top2.gif" border="0" onclick="if(document.all.qqtab.style.display==\'none\'){document.all.qqtab.style.display=\'\'} else {document.all.qqtab.style.display=\'none\'}"></td>');
document.write('</tr>');
document.write('<tr id="qqstab">');
document.write('<td valign="middle" align="center" background="http://www.fvidc.com/acp/userfile/yalun888/images/middle.gif%22%3E');
document.write('<table border="0" width="121" cellSpacing="0" cellPadding="0">');
document.write('<tr>');
document.write('<td height="20" border="0" colspan="2" style="background-color:#FFB2B2;letter-spacing:2px; color:#C40004; text-align:left">【在线客服】</td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td height="5" border="0" colspan="3"></td>');
document.write('</tr>');
document.write("<tr><td width='115' height='30' valign='top' style='align:center; padding-bottom:5px; font-size:12px; a.text-decoration:none'><a onmouseover='showqqdivover(1)' onmouseout='showqqdivout(1)' href='http://sighttp.qq.com/authd?IDKEY=4ae24cf3862ee526fb6bb78df48556d80fefe78c3c609d0d'; target='_blank'; onclick=open_qq('4ae24cf3862ee526fb6bb78df48556d80fefe78c3c609d0d')><div style='float:left; padding-top:5px; padding-left:6px;'>客服1</div> <img alt='BdyogaQQ客服' src='http://wpa.qq.com/pa?p=1:815092933:1' border='0' /></a><div id='showqq1' style='position:absolute; right:113px; float:left; display:none;' onmouseover='showqqdivover(1)' onmouseout='showqqdivout(1)'><table width='160' height='45' border='0' cellpadding='0' cellspacing='1' bgcolor='#CCCCCC'><tr><td bgcolor='#FFFFCC'><div align='center' style='color:#CC0000;font-weight:bold; padding:3px 0;'>客服1号为您服务</div></td></tr><tr><td bgcolor='#F7F7F7'><div align='center' style='color:#000000;font-weight:bold; padding:3px 0;'>QQ:815092933</div></td></tr><tr><td bgcolor='#FFFFCC'><div align='center' style='color:#CC0000;font-weight:bold; padding:3px 0;'>E-mail:vivian.wang@bdyoga.com</div></td></tr></table></div></td></tr>");
document.write("<tr><td width='115' height='30' valign='top' style='align:center; padding-bottom:5px; font-size:12px; a.text-decoration:none'><a onmouseover='showqqdivover(2)' onmouseout='showqqdivout(2)' href='http://sighttp.qq.com/authd?IDKEY=edb0336cb4076404c0ac3a199683a8fda8fe39d9fd9cce3a'; target='_blank'; onclick=open_qq('edb0336cb4076404c0ac3a199683a8fda8fe39d9fd9cce3a')><div style='float:left; padding-top:5px; padding-left:6px;'>客服2</div> <img alt='BdyogaQQ客服' src='http://wpa.qq.com/pa?p=1:175714706:1' border='0' /></a><div id='showqq2' style='position:absolute; right:113px; float:left; display:none;' onmouseover='showqqdivover(2)' onmouseout='showqqdivout(2)'><table width='160' height='45' border='0' cellpadding='0' cellspacing='1' bgcolor='#CCCCCC'><tr><td bgcolor='#FFFFCC'><div align='center' style='color:#CC0000;font-weight:bold; padding:3px 0;'>客服2号为您服务</div></td></tr><tr><td bgcolor='#F7F7F7'><div align='center' style='color:#000000;font-weight:bold; padding:3px 0;'>QQ:175714706</div></td></tr><tr><td bgcolor='#FFFFCC'><div align='center' style='color:#CC0000;font-weight:bold; padding:3px 0;'>E-mail:conan.huang@keydge.com</div></td></tr></table></div></td></tr>");
document.write('<tr>');
document.write('<td height="20" border="0" colspan="2" style="background-color:#FFB2B2; letter-spacing:2px; color:#C40004; text-align:left">【技术客服】</td>');
document.write('</tr>');
document.write('<tr>');
document.write('<tr>');
document.write('<td height="5" border="0" colspan="3"></td>');
document.write('</tr>');
document.write("<tr><td width='116' height='25' valign='top' style='align:center; padding-bottom:5px; font-size:12px; a.text-decoration:none'><a onmouseover='showqqdivover(5)' onmouseout='showqqdivout(5)' href='http://sighttp.qq.com/authd?IDKEY=c1b9677bddc022b9959db4f36323a9ac24b5a7690aced83d'; target='_blank'; onclick=open_qq('c1b9677bddc022b9959db4f36323a9ac24b5a7690aced83d')><div style='float:left; padding-top:5px; padding-left:3px;'>管理员</div> <img alt='网罗天下管理员' src='http://wpa.qq.com/pa?p=1:12356228:1' border='0' /></a><div id='showqq5' style='position:absolute; right:116px; float:left; display:none;' onmouseover='showqqdivover(5)' onmouseout='showqqdivout(5)'><table width='160' height='45' border='0' cellpadding='0' cellspacing='1' bgcolor='#CCCCCC'><tr><td bgcolor='#FFFFCC'><div align='center' style='color:#CC0000;font-weight:bold; padding:3px 0;'>Bdyoga技术客服</div></td></tr><tr><td bgcolor='#F7F7F7'><div align='center' style='color:#000000;font-weight:bold; padding:3px 0;'>QQ:12356228</div></td></tr><tr><td bgcolor='#FFFFCC'><div align='center' style='color:#CC0000;font-weight:bold; padding:3px 0;'>E-mail:Scott.Pei@suryani.cn</div></td></tr></table></div></td></tr>");document.write('</tr>');
document.write('</table>');
document.write('</td>');
document.write('</tr>');
document.write('<tr>');
document.write('<td width="135"><a href="http://www.bdyoga.com/" target="_blank"><img src="http://www.fvidc.com/acp/userfile/yalun888/images/bottom.gif" border="0" width="135"></a></td>');
document.write('</tr>');
document.write('</table>');
var verticalpos="frombottom"
if (!document.layers)
document.write('</div>')
function scrollqq()
{
var posXqq,posYqq;
if (window.innerHeight)
{
posXqq=window.pageXOffset;
posYqq=window.pageYOffset;
}
else if (document.documentElement && document.documentElement.scrollTop)
{
posXqq=document.documentElement.scrollLeft;
posYqq=document.documentElement.scrollTop;
}
else if (document.body)
{
posXqq=document.body.scrollLeft;
posYqq=document.body.scrollTop;
}
var divStayTopLeft=document.getElementById("divStayTopLeft");
divStayTopLeft.style.top=(posYqq+150)+"px";
divStayTopLeft.style.right="2px";
setTimeout("scrollqq()",100);
}
function showqqdivover(i)
{
document.getElementById("showqq"+i).style.display="";
}
function showqqdivout(i)
{
document.getElementById("showqq"+i).style.display="none";
}
scrollqq();
3.http://wp.qq.com/到这个地方获取IDEK码覆盖第2部中的IDEK