View Full Version : Showing a "page loading" message

02-06-2003, 04:55 PM
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:

<SCRIPT language="JavaScript">
var oWndPageLoader = window.open("preview.htm", "processing", "width=200,height=200");

<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?


02-06-2003, 09:25 PM
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...:confused: