View Full Version : Waiting page
skywalker
10-22-2002, 09:01 AM
Where can I find scripts to display a waiting page between 2 actions. (I'm using frameset in the site)
and something easier, is it possible to disable the "close" icon in a web page?
glenngv
10-22-2002, 09:28 AM
could you explain more?
skywalker
10-23-2002, 08:42 AM
I develop an application to manage companies. In the left frame, I have the list of all the companies displayed in a tree and when you click in the tree, all information of the selected company is displayed in the principal frame. But the display takes a few seconds (many information to be search in the Oracle database). To inform the user that the system works, I would like to display a waiting/loading page.
glenngv
10-23-2002, 09:36 AM
http://www.dynamicdrive.com/dynamicindex11/dhtmlprogress.htm
Roy Sinclair
10-23-2002, 04:18 PM
I have a page which updates a series of database tables and as each table is updated it writes additional information to the browser using the server side scripting option to flush what's been done already to the browser.
In order to keep the user in suspense, I also use the following:
<head>
...
<style type="text/css">
div.lDiv
{
font-size: 95pt;
background-color: gray;
font-family: Arial, sans-serif;
position:absolute;
left: 0px;
top: 0px;
width: 100%;
height: 100%;
text-align: center;
}
</style>
<script language="javascript">
function fadeInPage()
{
if (document.layers)
{
document.layers['loadingDiv'].visibility = 'hidden';
return true;
}
if (document.getElementById("loadingDiv").filters.alpha.opacity > 0)
{
document.getElementById("loadingDiv").filters.alpha.opacity -= 5;
setTimeout("fadeInPage()",100)
}
else
{
document.getElementById('loadingDiv').style.visibility = "hidden"
}
}
</script>
</head>
<body onload="fadeInPage()">
<div id="loadingDiv" class="lDiv" style="filter:alpha(opacity=50);">
Please Wait
</div>
...
This puts a nice big "Please Wait" over the top of the page content and fades it out after the page finishes loading.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.