Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Nov 2002
    Location
    India
    Posts
    159
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Showing a "page loading" message

    I have many asp pages which take a while to load. I would like to let the users know that the page is loading by showing a page loading message. Since there are too many pages I need to change, I would like the changes to be minimum. Right now I use the following script:
    Code:
    <SCRIPT language="JavaScript">
    var oWndPageLoader = window.open("preview.htm", "processing", "width=200,height=200");
    </SCRIPT>
    
    <BODY onload="oWndPageLoader.close()">
    But now I do not want to display the message in a window. Also, I use frames in the site. Whichever page is requested, I would like to show the message "Page loading..." on the top right corner of the screen as I do not want the message to hide the page content. Any ideas?

    Thanks.

  • #2
    New Coder
    Join Date
    Jun 2002
    Location
    Bonny Scotland! Status: Insane
    Posts
    92
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You could put the loading message in a <div> like
    <div id="loading">Page Loading</div>

    & have a <body onload="loading.style.display='none';">

    or something silly like that...
    «Ðå G壣ꮻ²ºº²


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •