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

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

 <IMG id="IMG_DESIGN_SETTING" style="cusor:hand" onclick="javascript:qqhelp()"  border="0" src="./skin/<%=skin%>/blue_skin/images/qqhelp.png"/>
 <IMG id="IMG_DESIGN_SETTING" style="cusor:hand" onclick="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>


posted @ 2009-09-10 14:50 断点 阅读(675) | 评论 (0)

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