Thanks a lot for that snippet.
-----Original Message-----
From: Michael Wilson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 06, 2004 12:29 PM
To: CF-Talk
Subject: RE: Show status during long request

Hi,

This is what I use:

<head>

<style type="text/css">
<!--
#LoadingMessage {
position: absolute;
visibility: visible;
height: 100%;
width: 100%;
top: 0px;
left: 0px;
background-color: #FFFFFF;
}
-->
</style>

<script language="_javascript_" type="text/_javascript_">
function showMessage () {
  if (document.layers) {
    document.LoadingMessage.display = 'none';
document.Content.visibility = 'visible';
  }
  else if (document.all) {
    document.all.LoadingMessage.style.display = 'none';
document.all.Content.style.visibility = 'visible';
  }
  else if (document.getElementById) {
    document.getElementById('LoadingMessage').style.display = 'none';
document.getElementById('Content').style.visibility = 'visible';
  }
}
</script>

</head>

<body >
<div id="LoadingMessage">
Loading message
</div>

Content

</body>

Best regards,
Michael Wilson

________________________________

From: Nathan C. Smith [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 06, 2004 10:12 AM
To: CF-Talk
Subject: Show status during long request

Hi,

I have a page that takes a long time to process, I would like to update the
user, or at least hide the form that appears on the page, while the pages
are processing.
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to