1. 论坛系统升级为Xenforo,欢迎大家测试!
    Dismiss Notice

为什么不先显示HTML?

Discussion in '前端开发' started by BoBo, Mar 28, 2006.

  1. BoBo

    BoBo New Member

    Joined:
    Sep 29, 2005
    Messages:
    929
    Likes Received:
    0
    下面的代码,如果执行时间长的话,要执行完才显示“正在更新,请勿刷新。”

    怎么样做可以先显示那些“正在更新,请勿刷新。”,然后执行ASP

    Code:
    <%
    ....
    ....
    ....
    ....
    
    response.write "<center><font color=blue size=5>更新完成</font></center>"
    
    %>
    
    <HTML><HEAD>
    <TITLE> 数据更新 </TITLE>
    </HEAD>
    <BODY>
    <p><center><font color=red size=3>正在更新,请勿刷新。</font></center></p>
    <%GoWeather%>
    </BODY></HTML>
     
  2. 风狼

    风狼 New Member

    Joined:
    Oct 1, 2005
    Messages:
    7,452
    Likes Received:
    25
    建立另一个只写有loading~~~的页面。设置时间自动回到asp的执行页面~
     
  3. Tameway

    Tameway New Member

    Joined:
    Sep 6, 2005
    Messages:
    1,286
    Likes Received:
    8
    通常编译器是逐行编译,请把要先显示的放在前面