ZhipSoft.com
              冬去春來
                  鄭重聲明:本Blog純屬個人學(xué)習(xí)、工作需要,記錄相關(guān)資料。請不要發(fā)表任何有人身攻擊的言論,謝謝!!www.ZhipSoft.com
          posts - 94,comments - 149,trackbacks - 0

          =============test.jsp============
          <body onbeforeunload="top.frames['topFrame'].runningopen();" onload="top.frames['topFrame'].runningclose();">
          ==============end================


          =============top.jsp=============
          <script type="text/JavaScript" language="JavaScript" >
          var runningwin=null;
          function runningopen()
          {
           if((runningwin==null)||(runningwin.closed))
           {
          <%--  runningwin=window.open('/trafficmis/IsRunning.jsp',"newwindow","height=120,width=280,toolbar:no,status=no,scrollbars=no,top="+(screen.availHeight-120)/2+",left="+(screen.availWidth-280)/2+",resizable=no,menubar=no,location=no,");--%>
            runningwin=window.showModelessDialog('/trafficmis/IsRunning.jsp',30,"dialogHeight=130px;dialogWidth=320px;status=no;scrollbars=no;center=yes;resizable=no;help=no;");
           }
           else
           {
            runningwin.focus();
           }
          }
          function runningclose()
          {
           if((runningwin!=null)&&(!(runningwin.closed)))
           { 
            runningwin.close();
           }
          }
          function waiting()

           window.showModalDialog('/trafficmis/IsRunning.jsp',3,"dialogHeight=130px;dialogWidth=320px;status=no;scrollbars=no;center=yes;resizable=no;help=no;");
          }
          </script>
          =============end===================


          =========IsRunning.jsp=============
          <%@ page language="java" contentType="text/html; charset=utf-8"  pageEncoding="UTF-8"%>
          <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
          <html>
            <head>
              <base target="_self">   
              <title>請稍候,正在處理...            </title>
              <script language="JavaScript">
           var TimeStart=window.dialogArguments;
           function CloseTimer(){
            if(TimeStart<=0)
             window.close();
            if(TimeStart>=1)
             TimeStart--;
            var timer=setTimeout("CloseTimer()",1000); 
           }
            </script>
          <style type="text/css">
          <!--
          body {
           background-color: #EFF3F7;
          }
          .STYLE1 {
           font-size: 16px;
           color: #3D89A1;
           font-weight: bold;
          }
          -->
            </style>
            </head>
           
            <body onload="CloseTimer()">
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
           <tr height="10"><td></td></tr>
            <tr>
              <td height="30" align="center" valign="middle" class="STYLE1">正在處理...</td>
            </tr>
            <tr>
              <td align="center" valign="middle"><marquee direction="right" style="WIDTH: 195px; HEIGHT: 12px">
          <img src="img/loading.jpg" width="195" height="12">
            </marquee></td>
            </tr>
          </table>
            </body>
          </html>
          =============end===================



                  本Blog純屬個人學(xué)習(xí)、工作需要,記錄相關(guān)資料。請不要發(fā)表任何有人身攻擊的言論,謝謝! www.zhipsoft.cn
          posted on 2007-05-11 13:23 ZhipSoft 閱讀(361) 評論(0)  編輯  收藏 所屬分類: JavaScript
          主站蜘蛛池模板: 马关县| 隆回县| 溆浦县| 巴里| 同心县| 铁岭县| 怀宁县| 蕲春县| 台州市| 赤峰市| 和龙市| 依安县| 晴隆县| 资中县| 漳平市| 华坪县| 沂源县| 河津市| 靖边县| 灌云县| 思茅市| 西青区| 顺昌县| 通江县| 靖边县| 鄂尔多斯市| 惠州市| 石屏县| 民勤县| 三河市| 成安县| 周宁县| 胶州市| 奉新县| 星子县| 辛集市| 和硕县| 丹江口市| 崇仁县| 五原县| 永清县|