点击回首页
我的浏览记录 | | 帮助?
当前位置:

源码截图

源码目录树

当前路径:皮肤/样式2(洁中洁)/tt.htm     

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head><title>
	小户室-交易交谈
</title><link href="css.css" rel="stylesheet" type="text/css" /></head>
<body>
    <form name="form1" method="post" action="chat.aspx" id="form1">
<div>
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKMTE2OTk2OTYxNg9kFgICAw9kFgICAQ8PFgQeDEVuZ2luX1VzZXJJRAUGaGFoYWhhHhVFbmdpbl9Ub1VzZXJJZENvbnRlbnQFBuWkp+WutmQWAgIFDxYCHglpbm5lcmh0bWwFtwENCiAgICAgICAgICAgIDxwIGNsYXNzPSJvbmxpbmUiPjxhIGhyZWY9IiMiIG9uY2xpY2s9ImRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCdUb1VzZXJJRCcpLmlubmVySFRNTD1kb2N1bWVudC5nZXRFbGVtZW50QnlJZCgnTXlVc2VySUQnKS5pbm5lckhUTUwiIHRpdGxlPSLnrqHnkIYiPuato+WcqOi9veWFpS4uPC9hPjwvcD5kZP2HorImJf6HolPMvKEJE/tS7RPK" />
</div>

<script type="text/javascript">
<!--
var theForm = document.forms['form1'];
if (!theForm) {
    theForm = document.form1;
}
function __doPostBack(eventTarget, eventArgument) {
    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
    }
}
// -->
</script>


<script src="/ZhiXinService/WebResource.axd?d=jHJKJXspkLfMQDxNMCxg3Q2&amp;t=633724459536220724" type="text/javascript"></script>

    <div>
        <span id="PowerTalkBox1" style="background-color:#9D8034;border-color:#9D8034;"><span>
   <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="136" style="height: 49px"><img src="images/PT_logo.gif" alt="PowerTalk" width="136" height="49" /></td>
            <td class="pt-headerbg" style="height: 49px"><img src="images/spacer.gif" alt="space" width="20" height="1" /></td>
            <td width="374" class="pt-libname" style="height: 49px"><h2></h2></td>
          </tr>
      </table></td>
    </tr>
    <tr>
      <td class="pt-fullbg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="11" class="pt-leftborder" style="height: 368px"><img src="images/PT_leftBorder.gif" width="11" height="5" /></td>
          <td valign="top" style="height: 368px; width: 100%;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="28"><img src="images/border_ChatHead_left.gif" width="28" height="26" /></td>
              <td class="pt-chatheader">您正与 <strong></span><span id="ToUserID">大家</span><span></strong> 交谈</td>
              <td style="width: 4px"><img src="images/border_ChatHead_right.gif" width="4" height="26" /></td>
            </tr>
          </table>
            <div class="pt-chatbox2">
              <label>
               <iframe src="ChatList.htm" id="ChatListBox"  width="100%" height="218px" ></iframe>                         
              </label>
            </div>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="pt-iconbox">
              <tr>
                    <td width="6"><img src="images/spacer.gif" width="6" height="1" /></td>
                <td width="40px" align="center"><a href="#" title="设置文本"><img onClick="PowerTalk_showOrHide1(1),PowerTalk_showOrHide(0),PowerTalk_showOrHide2(0)" src="images/Icon_txt.gif" alt="设置文本" width="16" height="16" border="0" /></a></td>
                <td width="6px"><img src="images/IconSpacer.gif" width="6" height="26" /></td>
                <td width="40px" align="center"><a href="#" title="增加表情"><img onClick="PowerTalk_showOrHide(1),PowerTalk_showOrHide1(0),PowerTalk_showOrHide2(0)" src="images/Icon_Face.gif" alt="增加表情" width="16" height="16" border="0" /></a></td>
                <td width="6px"><img src="images/IconSpacer.gif" alt="" width="6" height="26" /></td>
                <td width="40px" align="center"><a href="#" title="保存通话记录"><img onClick="PowerTalk_CmdSave()" src="images/Icon_SaveData.gif" alt="保存通话记录" width="16" height="16" border="0" /></a></td>
                 <td width="6px"><img src="images/IconSpacer.gif" alt="" width="6" height="26" /></td>
                  <td width="40px" align="center"><a href="#" title="清屏"><img  onClick="PowerTalk_Cls();" src="images/cas.gif" alt="清屏" width="16" height="16" /></a></td>
<td align="center">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>                
<td  width="100%"><div id="PowerTools">
       <div id="ADList" style="float:left; width:100%; padding-right:5px; height:25px; overflow:hidden;text-align:left; line-height:18px; " >
<ul style="margin:3px 0 0 0; padding:0px; list-style-type:none; ">


</ul>
</div>
</div></td>
              </tr>
            </table>
               <div class="pt-chatbox2">
              <label>
              <iframe src="blankpage.htm" id="SendMsg"  width="100%" height="118px" ></iframe>

              </label>
            </div></td>
          <td width="6" style="height: 368px"><img src="images/spacer.gif" alt="spacer2" width="6" height="1" /></td>
          <td valign="top" class="pt-controlbg" style="height: 368px; width: 183px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="24" style="height: 26px"><img src="images/border_AppraiseHead_Left.gif" width="24" height="26" /></td>
              <td class="pt-rtbg" style="height: 26px"><strong></span><span id="MyUserId">hahaha</span><span></strong></td>
              <td width="4" style="height: 26px"><img src="images/border_AppraiseHead_right.gif" width="4" height="26" /></td>
            </tr>
          </table>
          <div id="Engin_UserList" class="pt-control"><h3 style="height: 38px">在线人数:<span id="OnlineCount" >-</span></h3></span><span id="RightTop">
            <p class="online"><a href="#" onclick="document.getElementById('ToUserID').innerHTML=document.getElementById('MyUserID').innerHTML" title="管理">正在载入..</a></p></span><span> </div> 
              <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
              <td class="pt-appsend" style="height: 25px"><label><a href='http://www.powertalkbox.cn/' target='_blank'><img id="PowerTalkImg" src="images/AdMiddle.png" /></a>
          </table>
          <img id="PowerTalkImg" src="images/AD_NetInfo.jpg" />
          </td>
          <td class="pt-rightborder" style="height: 368px; width: 11px;"><img src="images/PT_rightBorder.gif" width="11" height="5" /></td>
        </tr>
      </table></td>
    </tr>
    <tr>
      <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="11" style="height: 50px"><img src="images/PT_BottomLeft.gif" width="11" height="50" /></td>
          <td class="pt-bottom" style="height: 50px">
            <p id="KeyInput">
                <input type="radio"  name="hotkey"  id="hotkey1" value="0">按 Enter 键发送
                    <input  name="hotkey" id="hotkey2" type="radio"  value="1" checked>按 Ctrl+Enter 发送</p>
              
            <label><input type="button" name="Submit" id="Submit" value="发 送" onclick="SendInfo()" class="sendon" onmouseover="this.className='sendover';" onmouseout="this.className='sendon';" />
            </label></td>
          <td width="190" class="pt-bombg" style="height: 50px"><img src="images/spacer.gif" width="1" height="1" /></td>
          <td width="11" style="height: 50px"><img src="images/PT_BottomRight.gif" width="11" height="50" /></td>
        </tr>
      </table></td>
    </tr>
  </table>  
  <div id="Layer2" style="z-index: 1; left: 16px; visibility: hidden; width: 205px;
        position: absolute; top: 245px; height: 20px; background-color: #ecf5ff; layer-background-color: #ECF5FF">
        <table border="1" bordercolor="#cee7ff" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td width="20%" height= 20px>
                    <select id="select1"  name="select1" onchange="changeFont(this);">
                        <option selected="selected" value="宋体">字体</option>
                        <option value="宋体">宋体</option>
                        <option value="黑体">黑体</option>
                        <option value="幼圆">幼圆</option>
                        <option value="楷体">楷体</option>
                        <option value="隶书">隶书</option>
                        <option value="仿宋">仿宋</option>
                        <option value="华文彩云">彩云</option>
                        <option value="华文新魏">新魏</option>
                        <option value="华文行楷">行楷</option>
                    </select>
                </td>
                <td width="20%"  height= 20px>
                    <select id="select2"  name="select2" onchange="changeSize(this);">
                        <option selected="selected" value="12">字号</option>
                        <option value="10">10</option>
                        <option value="12">12</option>
                        <option value="14">14</option>
                        <option value="16">16</option>
                        <option value="18">18</option>
                        <option value="20">20</option>
                        <option value="24">24</option>
                        <option value="36">36</option>
                    </select>
                </td>
                <td width="20%"  height= 20px>
                    <select id="select3"  name="select3" onchange="changeColors(this);">
                        <option selected="selected">颜色</option>
                        <option style="background-color: #000000" value="#000000">黑色</option>
                        <option style="background-color: #888888" value="#888888">灰色</option>
                        <option style="background-color: #ff0000" value="#ff0000">红色</option>
                        <option style="background-color: #cc3366" value="#cc3366">暗红</option>
                        <option style="background-color: #ff00ff" value="#ff00ff">紫红</option>
                        <option style="background-color: #ee9966" value="#ee9966">橘黄</option>
                        <option style="background-color: #aa00cc" value="#aa00cc">紫色</option>
                        <option style="background-color: #8800ff" value="#8800ff">蓝紫</option>
                        <option style="background-color: #ffff00" value="#ffff00">黄色</option>
                        <option style="background-color: #ccaa00" value="#ccaa00">土黄</option>
                        <option style="background-color: #ff8800" value="#ff8800">金黄</option>
                        <option style="background-color: #0000ff" value="#0000ff">蓝色</option>
                        <option style="background-color: #6699ee" value="#6699ee">天蓝</option>
                        <option style="background-color: #0088ff" value="#0088ff">海蓝</option>
                        <option style="background-color: #000088" value="#000088">深蓝</option>
                        <option style="background-color: #00ff00" value="#00ff00">绿色</option>
                        <option style="background-color: #888800" value="#888800">黄绿</option>
                        <option style="background-color: #008888" value="#008888">蓝绿</option>
                    </select></td>
                    <td width="20%"  height= 20px>
                    <input name="Submit2" onclick="PowerTalk_showOrHide1(0),PowerTalk_showOrHide2(0),PowerTalk_showOrHide(0)" type="button" value="关闭" />
                </td>
            </tr>
        </table>
    </div>
    <div id="Layer1" style="z-index: 1; left: 14px; visibility: hidden; width: 335px;
        position: absolute; top: 180px; height: 38px; background-color: #ecf5ff">
        <table border="1" bordercolor="#c8e3ff" cellpadding="0" cellspacing="0" width="1%">
            <tr>
                <td style="height: 21px">
                    <img id="img1" onclick="selImg(img1.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img1.gif"
                        title=":)" value="face/img1.gif" /></td>
                <td style="height: 21px">
                    <img id="img2" onclick="selImg(img2.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img2.gif"
                        title=":-O" value="face/img2.gif" /></td>
                <td style="height: 21px">
                    <img id="img3" onclick="selImg(img3.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img3.gif"
                        title=":P" value="face/img3.gif" /></td>
                <td style="height: 21px">
                    <img id="img4" onclick="selImg(img4.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img4.gif"
                        title="(H)" value="face/img4.gif" /></td>
                <td style="height: 21px">
                    <img id="img5" onclick="selImg(img5.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img5.gif"
                        title=":@" value="face/img5.gif" /></td>
                <td style="height: 21px">
                    <img id="img6" onclick="selImg(img6.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img6.gif"
                        title=":S" value="face/img6.gif" /></td>
                <td style="height: 21px">
                    <img id="img7" onclick="selImg(img7.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img7.gif"
                        title=":$" value="face/img7.gif" /></td>
                <td style="height: 21px">
                    <img id="img8" onclick="selImg(img8.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img8.gif"
                        title=":'(" value="face/img8.gif" /></td>
                <td style="height: 21px">
                    <img id="img9" onclick="selImg(img9.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img9.gif"
                        title=":|" value="face/img9.gif" /></td>
                <td style="height: 21px">
                    <img id="img10" onclick="selImg(img10.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img10.gif"
                        title="(A)" value="face/img10.gif" /></td>
                <td style="height: 21px">
                    <img id="img11" onclick="selImg(img11.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img11.gif"
                        title="8o|" value="face/img11.gif" /></td>
                <td style="height: 21px">
                    <img id="img12" onclick="selImg(img12.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img12.gif"
                        title="8-|" value="face/img12.gif" /></td>
                <td style="height: 21px">
                    <img id="img13" onclick="selImg(img13.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img13.gif"
                        title="+o(" value="face/img13.gif" /></td>
                <td style="height: 21px">
                    <img id="img14" onclick="selImg(img14.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img14.gif"
                        title="<:o)" value="face/img14.gif" /></td>
                <td style="height: 21px; width: 22px;">
                    <img id="img15" onclick="selImg(img15.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img15.gif"
                        title="|-)" value="face/img15.gif" /></td>
            </tr>
            <tr>
                <td>
                    <img id="img16" onclick="selImg(img16.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img16.gif"
                        title="*-)" value="face/img16.gif" /></td>
                <td>
                    <img id="img17" onclick="selImg(img17.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img17.gif"
                        title=":-#" value="face/img17.gif" /></td>
                <td>
                    <img id="img18" onclick="selImg(img18.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img18.gif"
                        title=":-*" value="face/img18.gif" /></td>
                <td>
                    <img id="img19" onclick="selImg(img19.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img19.gif"
                        title="^o)" value="face/img19.gif" /></td>
                <td>
                    <img id="img20" onclick="selImg(img20.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img20.gif"
                        title="8-)" value="face/img20.gif" /></td>
                <td>
                    <img id="img21" onclick="selImg(img21.value)" onmouseup="showOrHide(0)" src="face/img21.gif"
                        title="(L)" value="face/img21.gif" /></td>
                <td>
                    <img id="img22" onclick="selImg(img22.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img22.gif"
                        title="(U)" value="face/img22.gif" /></td>
                <td>
                    <img id="img23" onclick="selImg(img23.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img23.gif"
                        title="(M)" value="face/img23.gif" /></td>
                <td>
                    <img id="img24" onclick="selImg(img24.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img24.gif"
                        title="(@)" value="face/img24.gif" /></td>
                <td>
                    <img id="img25" onclick="selImg(img25.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img25.gif"
                        title="(&)" value="face/img25.gif" /></td>
                <td>
                    <img id="img26" onclick="selImg(img26.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img26.gif"
                        title="(sn)" value="face/img26.gif" /></td>
                <td>
                    <img id="img27" onclick="selImg(img27.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img27.gif"
                        title="(bah)" value="face/img27.gif" /></td>
                <td>
                    <img id="img28" onclick="selImg(img28.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img28.gif"
                        title="(S)" value="face/img28.gif" /></td>
                <td>
                    <img id="img29" onclick="selImg(img29.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img29.gif"
                        title="(*)" value="face/img29.gif" /></td>
                <td style="width: 22px">
                    <img id="img30" onclick="selImg(img30.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img30.gif"
                        title="(#)" value="face/img30.gif" /></td>
            </tr>
            <tr>
                <td>
                    <img id="img31" onclick="selImg(img31.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img31.gif"
                        title="(R)" value="face/img31.gif" /></td>
                <td>
                    <img id="img32" onclick="selImg(img32.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img32.gif"
                        title="({)" value="face/img32.gif" /></td>
                <td>
                    <img id="img33" onclick="selImg(img33.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img33.gif"
                        title="(})" value="face/img33.gif" /></td>
                <td>
                    <img id="img34" onclick="selImg(img34.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img34.gif"
                        title="(K)" value="face/img34.gif" /></td>
                <td>
                    <img id="img35" onclick="selImg(img35.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img35.gif"
                        title="(F)" value="face/img35.gif" /></td>
                <td>
                    <img id="img36" onclick="selImg(img36.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img36.gif"
                        title="(W)" value="face/img36.gif" /></td>
                <td>
                    <img id="img37" onclick="selImg(img37.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img37.gif"
                        title="(O)" value="face/img37.gif" /></td>
                <td>
                    <img id="img38" onclick="selImg(img38.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img38.gif"
                        title=";)" value="face/img38.gif" /></td>
                <td>
                    <img id="img39" onclick="selImg(img39.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img39.gif"
                        title=":D" value="face/img39.gif" /></td>
                <td>
                    <img id="img40" onclick="selImg(img40.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img40.gif"
                        title=":(" value="face/img40.gif" /></td>
                <td>
                    <img id="img41" onclick="selImg(img41.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img41.gif"
                        title="小狗" value="face/img41.gif" /></td>
                <td>
                    <img id="img42" onclick="selImg(img42.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img42.gif"
                        title="骷髅" value="face/img42.gif" /></td>
                <td>
                    <img id="img43" onclick="selImg(img43.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img43.gif"
                        title="监视" value="face/img43.gif" /></td>
                <td>
                    <img id="img44" onclick="selImg(img44.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img44.gif"
                        title="太阳" value="face/img44.gif" /></td>
                <td style="width: 22px">
                    <img id="img45" onclick="selImg(img45.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img45.gif"
                        title="信件" value="face/img45.gif" /></td>
            </tr>
            <tr>
                <td>
                    <img id="img46" onclick="selImg(img46.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img46.gif"
                        title="飞眼" value="face/img46.gif" /></td>
                <td>
                    <img id="img47" onclick="selImg(img47.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img47.gif"
                        title="电视" value="face/img47.gif" /></td>
                <td>
                    <img id="img48" onclick="selImg(img48.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img48.gif"
                        title="钟表" value="face/img48.gif" /></td>
                <td>
                    <img id="img49" onclick="selImg(img49.value)" onmouseup="PowerTalk_showOrHide(0)" src="face/img49.gif"
                        title="灯泡" value="face/img49.gif" /></td>
                        <td>
                    </td>
            </tr> 
            					
        </table>
        <input name="closebutton" onclick="PowerTalk_showOrHide1(0),PowerTalk_showOrHide2(0),PowerTalk_showOrHide(0)" type="button" value="关闭" />
    </div>
    
    <span id="Layer3" style="border-right: #000000 1px; border-top: #000000 1px; z-index: 1;
        left: 14px; visibility: hidden; overflow: hidden; border-left: #000000 1px; width: 314px;
        border-bottom: #000000 1px; position: absolute; top: 196px; height: 69px; background-color: #f7fbff;
        layer-background-color: #F7FBFF">
        <div align="left">
            <table border="0" style="width: 99%; height: 27px">
                <tr>
                    <td colspan="3" style="width: 342px; height: 18px">
                        <div align="left">
                            <font color="#ff0000" size="2">限doc、rar、jpg、gif、png、bmp、swf、zip类型。</font></div>
                    </td>
                </tr>
                <tr>
                    <td style="width: 4%; height: 26px">
                        <font size="2">
                            <input id="upfile" type="file"  /> 
                        </font>
                    </td>
                    <td style="width: 10%; height: 26px">
             <input id="SendFile" type="button" value="发送" onclick="SendFileInfo();PowerTalk_showOrHide2(0)" />
                  </td>
                  <td style="width: 13%; height: 26px">
                  <input name="Submit2" onclick="PowerTalk_showOrHide2(0)" type="button" value="关闭" />
                             </td>
                        
                    
                </tr>
            </table>
        </div>
    </span>

 <script type="text/javascript"> 
window.setInterval('ReadChatInfo()', 4800);
function ReadChatInfo()
{
GetArea('0&'+document.getElementById('MyUserId').innerHTML)
}

function SendFileInfo()
{

if(window.navigator.userAgent.indexOf("Firefox")>=1)
{

IframeChatListBox.contentDocument.body.innerHTML+='<font color=red>文件发送中...</font><br/>';
GetArea('2$'+document.getElementById('MyUserId').innerHTML+'$'+document.getElementById('ToUserID').innerHTML+'$'+document.getElementById('upfile').value);
}
else
{
IframeChatListBox.document.body.innerHTML+='<font color=red>文件发送中...</font><br/>';
GetArea('2$'+document.getElementById('MyUserId').innerHTML+'$'+document.getElementById('ToUserID').innerHTML+'$'+document.getElementById('upfile').value);
}
}

function SendInfo()
{
 if(window.navigator.userAgent.indexOf("Firefox")>=1)
{
GetArea('1$'+document.getElementById('MyUserId').innerHTML+'$'+document.getElementById('ToUserID').innerHTML+'$'+IframeSendMsg.contentDocument.body.innerHTML);
IframeSendMsg.contentDocument.body.innerHTML='';
}
else
{
GetArea('1$'+document.getElementById('MyUserId').innerHTML+'$'+document.getElementById('ToUserID').innerHTML+'$'+IframeSendMsg.document.body.innerHTML);
IframeSendMsg.document.body.innerHTML='';
}
IframeSendMsg.focus();
}

function FormatText(command, option){
IframeSendMsg.document.execCommand(command, true, option);
IframeSendMsg.focus();
}

function changeSize(obj){ 
FormatText('fontsize',obj.value);


} 

function changeFont(obj){ 
FormatText('fontname' ,obj.value);


} 

function changeColors(obj){ 
FormatText('ForeColor',obj.value);

}

function selImg(text){
document.frames("SendMsg").focus();

var range =document.frames("SendMsg").document.selection.createRange();

var str1="<img src='"+text+"'/>";
range.pasteHTML(str1); 
}
function PowerTalk_showOrHide(value) {
if(window.navigator.userAgent.indexOf("Firefox")>=1)
{
alert('FireFox不支持本功能!');
}
else
{
    if (value==0) {
        if (document.layers)
           document.layers["Layer1"].visibility='hide';
        else
           document.all["Layer1"].style.visibility='hidden';
   }
   else if (value==1) {
       if (document.layers)
          document.layers["Layer1"].visibility='show';
       else
          document.all["Layer1"].style.visibility='visible';
   }
   }
}
function PowerTalk_showOrHide1(value) {
if(window.navigator.userAgent.indexOf("Firefox")>=1)
{
alert('FireFox不支持本功能!');
}
else
{
    if (value==0) {
        if (document.layers)
           document.layers["Layer2"].visibility='hide';
        else
           document.all["Layer2"].style.visibility='hidden';
   }
   else if (value==1) {
       if (document.layers)
          document.layers["Layer2"].visibility='show';
       else
          document.all["Layer2"].style.visibility='visible';
   }
   }
}

function PowerTalk_showOrHide2(value) {
    if (value==0) {
        if (document.layers)
           document.layers["Layer3"].visibility='hide';
        else
           document.all["Layer3"].style.visibility='hidden';
   }
   else if (value==1) {
       if (document.layers)
          document.layers["Layer3"].visibility='show';
       else
          document.all["Layer3"].style.visibility='visible';
   }
}

function PowerTalk_CmdSave()
{
if(window.navigator.userAgent.indexOf("Firefox")>=1)
{
alert('FireFox不支持本功能!');
}
else
{
var OW = window.open('','','');
var DD = new Date();
OW.document.open();
OW.document.write(IframeChatListBox.document.body.innerHTML);
}
OW.document.execCommand ("SaveAs",true,"聊天记录-"+ DD.getYear() + "-" + DD.getMonth() + "-" + DD.getDate() + "-" + DD.getHours() + "-" + DD.getMinutes() +".htm");
OW.close();
}

function PowerTalk_Cls()
{
if(window.navigator.userAgent.indexOf("Firefox")>=1)
{
IframeChatListBox.contentDocument.body.innerHTML='';
}
else
{
IframeChatListBox.document.body.innerHTML='';
}
}

function set()
{
     if(window.navigator.userAgent.indexOf("Firefox")>=1)
    {
    IframeSendMsg.contentDocument.body.innerHTML='123123';
    IframeChatListBox.contentDocument.body.innerHTML='123123';
    }
    else
    {
    IframeSendMsg.document.body.innerHTML='321321';
    IframeChatListBox.document.body.innerHTML='321321';
    }
 }
var IframeChatListBox;
var IframeSendMsg;
function InitStart()
{
if(window.navigator.userAgent.indexOf("Firefox")>=1)
{
IframeChatListBox=document.getElementById("ChatListBox");
IframeSendMsg = document.getElementById("SendMsg");
IframeSendMsg.contentWindow.document.designMode = "On";
document.getElementById("KeyInput").style.visibility='hidden';
}
else
{
IframeChatListBox=frames.document.frames("ChatListBox");
IframeSendMsg=frames.document.frames("SendMsg");
IframeSendMsg.document.designMode="on";
IframeSendMsg.document.onkeydown=new Function("return HotKeyPress(IframeSendMsg.event);");
}
 new SlideBox('ADList', 5000, 'top');
}

function SlideBox(container, frequency, direction, speed) {
	if (typeof(container) == 'string') {
		container = document.getElementById(container);
	}
	this.container = container;
	this.frequency = frequency;
	this.direction = direction;
	this.speed = speed || 2;
	this.films = [];
	var divs = this.container.getElementsByTagName('div');
	for (var i = 0; i < divs.length; i++) {
		if (divs[i].className == 'slideFilm') {
			divs[i].onmouseover = function(self){return function(){self._mouseover()};}(this);
			divs[i].onmouseout = function(self){return function(){self._mouseout()};}(this);
			this.films[this.films.length] = divs[i];
		}
	}
	this._playTimeoutId = null;
	this._slideTimeoutId = null;
	this._slidable = true;
	var isIE5 = navigator.userAgent.toLowerCase().indexOf("msie 5.0")>0;
	if (!isIE5)
		this._loop();
}

SlideBox.prototype = {
	_loop : function() {
		var sb = this;
		this._playTimeoutId = setTimeout(function(){sb._slide()}, this.frequency);
	},

	_slide : function() {
		var sb = this;
		var _slide = function() {
      try{
			if (!sb._slidable) return;
			var c = sb.container;
			if (sb.direction == 'top') {
				if (c.scrollTop < c.offsetHeight-sb.speed) {
					c.scrollTop += sb.speed ;
				} else {
					clearInterval(sb._slideTimeoutId);
					sb._loop();
					var ul = c.getElementsByTagName('ul')[0];
					ul.appendChild(c.getElementsByTagName('li')[0]);
					c.scrollTop = 0;
				}
			} else if (sb.direction == 'left') {
				if (c.scrollLeft < c.offsetWidth-sb.speed) {
					c.scrollLeft += sb.speed ;
				} else {
					clearInterval(sb._slideTimeoutId);
					sb._loop();
					var ul = c.getElementsByTagName('ul')[0];
					ul.appendChild(c.getElementsByTagName('li')[0]);
					c.scrollLeft = 0;
				}
			}
      }catch(e){}
		}
		this._slideTimeoutId = setInterval(_slide, 10);
	},

	_mouseover : function() {
		this._slidable = false;
	},

	_mouseout : function() {
		this._slidable = true;
	}
}





function HotKeyPress(event)
{	
    var hotkey;
    if(document.all.hotkey[0].checked) hotkey=0;
    if(document.all.hotkey[1].checked) hotkey=1;
    if(hotkey)
    {
        if(event.ctrlKey && event.keyCode==13)
        {
    SendInfo();

        }
    }
    else
    {
        if(event.keyCode==13)
        {
    SendInfo();	
        }
    }

}


InitStart();
   function Show(area)
    {
     if(window.navigator.userAgent.indexOf('Firefox')>=1)
    {
    var content = IframeChatListBox.contentDocument.body;
    }
    else
    {
    var content = IframeChatListBox.document.body;
    } 
   var listContrl= document.getElementById('Engin_UserList');//用户列表
   var UserList=(area.split('$'))[0];//取列表的值
        if(UserList=='0')//如果为提取的信息
        {
        UserList=(area.split('$'))[1];
        var MyCount= document.getElementById('OnlineCount');//取现在状态下的人数
        var ServerCount=(UserList.split('|'))[0];//服务区传过来的人数
        if(MyCount.innerHTML!= ServerCount)//如果服务器人数与现在状态的人数不等
        {  
        listContrl.innerHTML='<h3>在线人数:<span id="OnlineCount">0</span></h3>'+(UserList.split('|'))[1];//制作列表
        MyCount.innerHTML=ServerCount;//把服务器人数复制到状态人数控件上
        document.getElementById('OnlineCount').innerHTML=ServerCount;
        }
var msg=area.replace('0$'+UserList+'$','');
content.innerHTML+=msg;
content.scrollTop = content.scrollHeight; 
}
if(UserList=='1')//如果为插入的信息
{
  content.innerHTML+=area.replace(UserList+'$','');
  content.scrollTop = content.scrollHeight;  
} 
if(UserList=='2')//自定义方法
{
window.location.href='../CaiMi/Page.htm';
}
} 
function GetArea(areaID){ 
 areaId=areaID;
    WebForm_DoCallback('PowerTalkBox1',areaId,Show,null,null,false); 
   }</script>
    </span></span>
    </div>
    

<script type="text/javascript">
<!--

WebForm_InitCallback();// -->
</script>
</form>
</body>
</html>
关于我们 | 顾问团队 | 发展历程 | 联系我们 | 源码上传
联系电话(Tel):4008-010-151(免长途) 企业QQ:4000410510
地址:北京市海淀区中关村鼎好大厦A座二层 邮编:100080
Room A-801,Dinghao Building,Zhongguancun,Beijing,China,100080
51Aspx.com 版权所有 CopyRight © 2006-2015. 京ICP备09089570号 | 京公网安备11010702000869号
在线客服
分享该页面
关闭侧边栏