Troy
You need to trigger the visibility attribute to 'hidden' or 'visible;..
see
http://javascript.internet.com/page-details/preload-page.html

Hth,
Martin Gainty


----- Original Message -----
From: "Campano, Troy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 04, 2003 7:10 AM
Subject: JSP Loading Screen


Is there any way to make a JSP loading screen for pages that take a long
time to load?

For example, I have a JSP page that returns many rows from a database
via JDBC.
While it's fetching the rows it takes a while for the page to load.
During that time I'd like to have the page display a message saying
"Please wait while the page loads".

I tried to do something with JavaScript that displays a message Body
onLoad and then it goes away when  the page finishes loading, but it
didn't work.

Any ideas on a way I could do this with JSP?
Maybe something with the buffer?

Thank you!

~ Troy Campano ~

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com

Reply via email to