Dwayne asked...
The ASP page takes several seconds to load, and I would like to display
a "Loading..." message.

Todd replied:
Here's a solution I've used in the past. While it's not perfect, it is
pretty light weight.
~~~ Code Snippets ~~~
<script LANGUAGE="JavaScript">
function init(){
  if (document.layers) {
  document.LoadWarn.visibility = 'hidden';
  }
  else {
  document.all.LoadWarn.style.visibility = 'hidden';
  }
}
</script>

<body onload="init();">
<div id="LoadWarn" style="position: absolute; left:100px; top:110px;
z-index:2;"> 
<table width="100%" cellpadding="0" cellspacing="0"><tr><td
valign="top"><br><font size=5>Page loading ... Please
wait.</font></td></tr></table> </div> 
...
</body>
~~~ End Snippets ~~~

Tim:
This is very similar to a solution I've been using for six months on an
extranet, except I don't bother with the table - my message is at the
top left of the pane.  Works great.

Tim
________________________ 
Tim Furry
Web Developer 
Foulston Siefkin LLP 




____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED]
       Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: "set 
WDVLTALK pw=yourpassword" in the body of the email.
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to