Hey Great script. I have been looking for one for a while now and i am trying to make it work. I am using this for now.
- <html>
-
<head></head>
-
<SCRIPT LANGUAGE="JavaScript">
-
-
<!-- Begin PRELOADER *******************************************************
-
function clearPreloadPage() { //DOM
-
if (document.getElementById){
-
document.getElementById('prepage').style.visibility='hidden';
-
}else{
-
if (document.layers){ //NS4
-
document.prepage.visibility = 'hidden';
-
}
-
else { //IE4
-
document.all.prepage.style.visibility = 'hidden';
-
}
-
}
-
}
-
// End PRELAODER **********************************************-->
-
</SCRIPT>
-
-
<!-- onLoad in BODY TAGE FOR PRELOADER -->
-
<body topmargin="0" leftmargin="0" onLoad="clearPreloadPage();">
-
-
-
<!-----------------------------BANNER IMAGE ------------------------------>
-
<IMG SRC="/container/images/pics/header.png" BORDER="0">
-
<!-----------------------------BANNER IMAGE ------------------------------>
-
-
<div id="prepage" style="position:absolute; font-family:arial; font-size:30; left:310px;
-
-
top:250px;= background-color:white; layer-background-color:white; height:100%; width:100%;">
-
-
<table>
-
<tr>
-
<td align="center" id="prepage">
-
-
-
<H2><FONT SIZE="" COLOR="RED">Loading Data..........Please Wait!</FONT></H2>
-
<BR>
-
<H2><FONT SIZE="" COLOR="RED">It will just be a Moment.</FONT></H2>
-
-
-
</td>
-
-
</tr>
-
</table>
-
-
</div>
-
-
-
</body>
-
</html>
it works pretty good. I just put the onLoad call into the body tag and aafter the page loads my report that takes a moment to load it tells the user to just hang on and it is loading.
I am tyring to make your script work and i see it opens a second window. But i want it to not look like a window but just a progress bar or a little gif or what ever that blinks like its LOADING page. I am sure you 've seen a few in your time.
Anyway, In regards to your script above Do i have to use a second window or do the fancy progress bars you see out there really a second window that doesn't look like it? And if you need to referance the LOAD picture how do you call it ?