太BT了,
网页是按照html的内容从前往后下载的。
图片和文字相互夹杂,怎么处理先后呀。
我觉得很难实现。

解决方案 »

  1.   

    可以先载入啊<SCRIPT LANGUAGE="JavaScript">
    <!--
    lastClick=0;
    lastButton=document.Button0;
    ButtonA=new Array();
    ButtonB=new Array();
    ButtonC=new Array();
    ButtonA[0]=new Image(); ButtonA[0].src="../../../image/topic-js/js02/btn0a.gif";
    ButtonB[0]=new Image(); ButtonB[0].src="../../../image/topic-js/js02/btn0b.gif";
    ButtonC[0]=new Image(); ButtonC[0].src="../../../image/topic-js/js02/btn0c.gif";
    ButtonA[1]=new Image(); ButtonA[1].src="../../../image/topic-js/js02/btn1a.gif";
    ButtonB[1]=new Image(); ButtonB[1].src="../../../image/topic-js/js02/btn1b.gif";
    ButtonC[1]=new Image(); ButtonC[1].src="../../../image/topic-js/js02/btn1c.gif";
    ButtonA[2]=new Image(); ButtonA[2].src="../../../image/topic-js/js02/btn2a.gif";
    ButtonB[2]=new Image(); ButtonB[2].src="../../../image/topic-js/js02/btn2b.gif";
    ButtonC[2]=new Image(); ButtonC[2].src="../../../image/topic-js/js02/btn2c.gif";function fOver(No, Button, msg) {
      if (lastClick != No) {
        Button.src=ButtonB[No].src;
      }
      window.status=msg;
    }function fOut(No, Button) {
      if (lastClick != No) {
        Button.src=ButtonA[No].src;
      }
      window.status="";
    }function fClick(No, Button) {
      lastButton.src=ButtonA[lastClick].src;
      lastClick=No;
      lastButton=Button;
      Button.src=ButtonC[No].src;
    }
    //-->
    </SCRIPT>
      

  2.   

    多谢您的回复,我现在只有一幅图片,能不能提供完整的html代码,我看看用什么机制能够实现图片没有下载下来时程序不会运行
      

  3.   

    怎么样把这副图片显示出来:
    <html>
    <body>
    <img src="wait.jpg">
    <%
    String xy="1";
    while(true)
    xy="2";
    %>
    </body>
    </html>
      

  4.   

    <html>
    <body>
    <img src="wait.jpg">
    <%
    String xy="1";
    while(true)
    xy="2";
    %>
    </body>
    </html>
    就是把这副图片显示出来