使用javascript在html頁面中實現進程執行中,請等待的功能<center>
使用javascript在html頁面中實現進程執行中,請等待的功能
<div style="height:60;width:280;display:none;background-color:#ffffdd;border-style:outset;border-width:2;position:relative;top:-20;z-index:999;cursor:wait" id="showmes" valign="middle">
使用javascript在html頁面中實現進程執行中,請等待的功能    
<table border=0 height=100% width=100%>
使用javascript在html頁面中實現進程執行中,請等待的功能        
<tr>
使用javascript在html頁面中實現進程執行中,請等待的功能            
<td align='middle' width=35%>
使用javascript在html頁面中實現進程執行中,請等待的功能                
<img src='../Images/cursor_1.gif' border='0' WIDTH='32' HEIGHT='32'>
使用javascript在html頁面中實現進程執行中,請等待的功能            
</td>
使用javascript在html頁面中實現進程執行中,請等待的功能            
<td valign='middle'>
使用javascript在html頁面中實現進程執行中,請等待的功能                正在查詢中使用javascript在html頁面中實現進程執行中,請等待的功能使用javascript在html頁面中實現進程執行中,請等待的功能
使用javascript在html頁面中實現進程執行中,請等待的功能            
</td>
使用javascript在html頁面中實現進程執行中,請等待的功能        
</tr>
使用javascript在html頁面中實現進程執行中,請等待的功能    
</table>
使用javascript在html頁面中實現進程執行中,請等待的功能
</div>
使用javascript在html頁面中實現進程執行中,請等待的功能
</center> 

上敘代碼的作用是在打開其他頁面前用來顯示進程正在執行,請用戶等待的畫面.具體的使用如下

使用javascript在html頁面中實現進程執行中,請等待的功能showmes.style.display="";
使用javascript在html頁面中實現進程執行中,請等待的功能
var today=new Date();
使用javascript在html頁面中實現進程執行中,請等待的功能window.showModalDialog(
"aststoreInOutrpt.asp?now="+today,null,"status=0;dialogHeight="+window.screen.availHeight+"px;dialogwidth=1500 px;dialogtop=0;dialogleft=0;help=0");
使用javascript在html頁面中實現進程執行中,請等待的功能showmes.style.display
="none";
這樣在打開aststoreinoutrpt.asp頁面時,將會先出現請等待的畫面,然後當下一個頁面在服務端生成後傳到客戶端,客戶端才顯示下一個頁面.這樣增加可介面的友好性.
等待的畫面如下
使用javascript在html頁面中實現進程執行中,請等待的功能

相关文章:

  • 2022-12-23
  • 2021-08-14
  • 2022-12-23
  • 2021-07-09
  • 2021-06-02
  • 2021-12-08
  • 2022-02-11
  • 2021-10-11
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-15
  • 2022-12-23
  • 2021-08-03
  • 2021-06-18
  • 2021-12-05
相关资源
相似解决方案