qq.js
以下脚本是正确的,不放入qq.js直接粘贴到qq.htm中是可以的,但是用 <script src= "qq.js "> </script> 引用后就不显示了,怎么回事啊?
把以下代码加入到你网页中,然后在把qq文件夹传到同目录下即可。
<!-- ********QQ在线咨询代码开始******** -->
<link rel= "stylesheet " href= "images/qq.css " type= "text/css ">
<script>
var online= new Array();
if (!document.layers)
document.write( ' <div id= "divStayTopLeft " style= "position:absolute "> ')
</script>
<layer name= "divStayTopLeft " left= "880 " top= "1055 " id= "divStayTopLeft ">
<table border= "0 " width= "110 " cellspacing= "0 " cellpadding= "0 ">
<tr>
<td width= "110 "> <img src=QQ/kefu_up.gif width= "110 " height= "70 " border=0> </td>
</tr>
<script src= "http://webpresence.qq.com/getonline?Type=1&190335846:383685700:000000: "> </script>
<tr>
<td valign=middle background=QQ/kefu_middle.gif>
<script>
if (online[0]==0)
document.write( " <img src=QQ/QQoffline.gif border=0 align=middle> <a class= 'qqb ' target=blank href= 'http://wpa.qq.com/msgrd?V=1&Uin=0000000&Site=在线咨询&Menu=no ' title= '不在线,请留言 '> 客户服务 </a> ");
else
document.write( " <img src=QQ/QQonline.gif border=0 align=middle> <a class= 'qqa ' target=blank href= 'http://wpa.qq.com/msgrd?V=1&Uin=0000000&Site=在线咨询&Menu=no ' title= '在线即时交谈 '> 客户服务 </a> ");
</script >
</td>
</tr>
<tr>
<td valign=middle background=QQ/kefu_middle.gif>
<script>
if (online[1]==0)
document.write( " <img src=QQ/QQoffline.gif border=0 align=middle> <a class= 'qqb ' target=blank href= 'http://wpa.qq.com/msgrd?V=1&Uin=000000&Site=在线咨询&Menu=no ' title= '不在线,请留言 '> 站务咨询 </a> ");
else
document.write( " <img src=QQ/QQonline.gif border=0 align=middle> <a class= 'qqa ' target=blank href= 'http://wpa.qq.com/msgrd?V=1&Uin=000000&Site=在线咨询&Menu=no ' title= '在线即时交谈 '> 站务咨询 </a> ");
</script >
</td>
</tr>
<tr>
<td valign=middle background=QQ/kefu_middle.gif>
<script>
if (online[2]==0)
document.write( " <img src=QQ/QQoffline.gif border=0 align=middle> <a class= 'qqb ' target=blank href= 'http://wpa.qq.com/msgrd?V=1&Uin=000000&Site=在线咨询&Menu=no ' title= '不在线,请留言 '> 本站站长 </a> ");