QQ可以通过 连接 http://wpa.qq.com/msgrd?V=1&Uin=13284200&Site='在线咨询'&Menu=yes 实现会话...

1.首先有一个主页面main.jsp,包含以下信息:

 <IMG id="IMG_DESIGN_SETTING" style="cusor:hand" οnclick="javascript:qqhelp()"  border="0" src="./skin/<%=skin%>/blue_skin/images/qqhelp.png"/>
 <IMG id="IMG_DESIGN_SETTING" style="cusor:hand" οnclick="javascript:helpdoc()"  border="0" src="./skin/<%=skin%>/blue_skin/images/lookhelp.png"/>

<script>
function qqhelp(){
  window.showModalDialog("<%=request.getContextPath()%>/core/common/help/qqhelp.html",window,"help:no;font-size:9pt;dialogWidth:210px;dialogHeight:365px;status:no;scroll:true;resizable:no");
 }
function helpdoc(){
 window.showModalDialog("<%=request.getContextPath()%>/core/common/help/doc/helpdoc.html",window,"help:no;font-size:9pt;dialogWidth:1024px;dialogHeight:768px;status:no;scroll:true;resizable:no");
}
</script>

2.子页面qqhelp.html:

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>QQ在线帮助</title>
 <style ></style>
 <script></script>
</head>

<body >
 <script>var online= new Array();</script>
  <table border="0" cellpadding="0" cellspacing="0" style="margin-left: 2px;margin-top: 3px;height: 323px">
  <script src="http://webpresence.qq.com/getonline?Type=1&422407700:13284200:277069500:275597200:30781800:"></script>
   <tr>
    <td align="left"  background="./menumiddle.png">
    <script>
     if (online[0]==0)
     document.write("&nbsp;&nbsp;<img src=./QQoffline.gif border=0 align=center style=margin-left:30px><a class='qqb'  target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=422407700&Site='在线咨询'&Menu=no' title='飞哥不在线,请留言'>承保管理(飞哥)</a>");
     else
     document.write("&nbsp;&nbsp;<img src=./QQonline.png border=0 align=center style=margin-left:30px><a class='qqa' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=422407700&Site='在线咨询'&Menu=no' title='在线即时交谈'>承保管理(飞哥)</a>");
    </script >
   </td>
  </tr>
  <tr>
   <td align="left"  background="./menumiddle.png">
    <script>
     if (online[1]==0)
     document.write("&nbsp;&nbsp;<img src=./QQoffline.gif border=0  align=center style=margin-left:30px><a class='qqb'  target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=13284200&Site='在线咨询'&Menu=no' title='飞哥不在线,请留言'>见费出单(飞哥)</a>");
     else
     document.write("&nbsp;&nbsp;<img src=./QQonline.png border=0 align=center style=margin-left:30px><a class='qqa' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=13284200&Site='在线咨询'&Menu=no' title='在线即时交谈'>见费出单(飞哥)</a>");
    </script >
   </td>
  </tr>
   <td align="left"  background="./menumiddle.png">
    <font style="margin-left:30px;font-size:15px; font-weight: bolder; color:#000">&nbsp;&nbsp;V6QQ群号(30781800)</font>
   </td>
  </tr>
  </table>
</body>
</html>

 

转载于:https://www.cnblogs.com/ztf2008/archive/2009/09/10/1564041.html

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值