Please Wait Display

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dennis M. Marks

    #1

    Please Wait Display

    I have multiple functions that dynamically build parts of a page. It
    can take 15-30 seconds for this process to complete. In IE nothing
    appears until the page is complete. In Netscape parts of the page
    appear as built.

    Is there any way to display a "Please Wait" message that displays as
    soon as the first javascript begins and disappears when the javascripts
    have completed? Some scripts are in the header and some in the body. I
    have tried to put a message in a separate <div> but in IE it does not
    appear until the page is completed. It may work in Netscape with a high
    z-index allowing the page to build under it.

    --
    Dennis M. Marks

    Replace domain.invalid with dcsi.net


    -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
    http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
    -----== Over 100,000 Newsgroups - 19 Different Servers! =-----
  • Erwin Moller

    #2
    Re: Please Wait Display

    Dennis M. Marks wrote:
    [color=blue]
    > I have multiple functions that dynamically build parts of a page. It
    > can take 15-30 seconds for this process to complete. In IE nothing
    > appears until the page is complete. In Netscape parts of the page
    > appear as built.
    >
    > Is there any way to display a "Please Wait" message that displays as
    > soon as the first javascript begins and disappears when the javascripts
    > have completed? Some scripts are in the header and some in the body. I
    > have tried to put a message in a separate <div> but in IE it does not
    > appear until the page is completed. It may work in Netscape with a high
    > z-index allowing the page to build under it.
    >[/color]

    Hi,

    Why not start by creating a small pop-up window with 'please wait', and end
    the page with a close command on that pop-up window?

    Regards,
    Erwin Moller

    Comment

    • Richard Formby

      #3
      Re: Please Wait Display


      "Dennis M. Marks" <denmarks@domai n.invalid> wrote in message
      news:0303200419 14430518%denmar ks@domain.inval id...[color=blue]
      > I have multiple functions that dynamically build parts of a page. It
      > can take 15-30 seconds[/color]


      Crikey, that long just for the page to display. Hmmm, I'm long gone :-)

      URL?

      Cheers
      Richard.


      Comment

      • Brian Genisio

        #4
        Re: Please Wait Display

        Dennis M. Marks wrote:[color=blue]
        > I have multiple functions that dynamically build parts of a page. It
        > can take 15-30 seconds for this process to complete. In IE nothing
        > appears until the page is complete. In Netscape parts of the page
        > appear as built.
        >
        > Is there any way to display a "Please Wait" message that displays as
        > soon as the first javascript begins and disappears when the javascripts
        > have completed? Some scripts are in the header and some in the body. I
        > have tried to put a message in a separate <div> but in IE it does not
        > appear until the page is completed. It may work in Netscape with a high
        > z-index allowing the page to build under it.
        >[/color]

        Here is a wacky idea... it might work, but it is a real hack...

        Load a "Please Wait" page, with a hiddn IFRAME, which loads your page.
        In the main page, have an onLoad handler that looks for the existence of
        the "Please Wait" page. If it exists, replace the HTML element's
        outerHTML property with the one of the full page.

        Basically, you load the big page in the background, and replace the
        small page with the big page, when it has loaded.

        I have not tested this... it is only meant for brainstorming.

        Brian

        Comment

        • find clausen

          #5
          Re: Please Wait Display

          On Wed, 03 Mar 2004 19:14:43 -0800, "Dennis M. Marks"
          <denmarks@domai n.invalid> wrote:
          [color=blue]
          > I have multiple functions that dynamically build parts of a page. It[/color]

          Try with a layer, get inspiration here:

          <MPG.1aae7f889a 561f17989cd5@nn tp.lucent.com>


          --

          find clausen

          Comment

          Working...