如何先出现页面正在加载中,然后再出现已经加载完的页面?

解决方案 »

  1.   

    你能不能给出DIV实现的代码看看啊
      

  2.   


    <asp:UpdatePanel ID="upl" runat="server" UpdateMode="Conditional">
                            <ContentTemplate>
                               <asp:UpdateProgress ID="UpdateProgress1" runat="server">
                                    <ProgressTemplate>
                                      <div class="wopen2">
                                        <div align="center" class="login font_04">数据加载中,请等待……</div>
                                        </div>
                                    </ProgressTemplate>
                                </asp:UpdateProgress>
     </asp:UpdatePanel>
      

  3.   

    http://www.cnblogs.com/wf5360308/articles/1332081.html
    <html>
    ……
    <td>
    <div id="LayerShowLoading" style="Z-INDEX: 1; VISIBILITY: hidden; WIDTH: 100%; POSITION: absolute; TOP: 0px; HEIGHT: 100%">
    <table height="450" width="100%">
    <tr>
    <td align="center">
    <OBJECT VIEWASTEXT>
    <embed src="../images/swf/loading.swf" quality="high" type="application/x-shockwave-flash"
    width="200" height="80"> </embed>
    </OBJECT>
    </td>
    </tr>
    </table>
    </div>
    </td>
    ……
    </table>
    </form>
    <script language="javascript">
    <!--
    document.getElementById("LayerShowLoading").style.visibility="hidden";
    //-->
    </script>
    </body>
    </html>页面加载时
    this.imgBtnSearch.Attributes.Add("onclick","MM_showHideLayers('LayerShowLoading','','show');");