"Please Wait" flash

liunx

Guest
I want to use a small flash that I created which has a little progress bar and tells the visitor to wait a short time while the page is loading.<br />
<br />
How can I have just that flash in the page until the page loads so that it disappears and the page is revealed?<br />
<br />
<br />
<br />
<br />
<br />
Never mind, I got a solution that works just fine below:<br />
<br />
I've tried the following in the <head> section:<br />
<br />
function loadImages() {<br />
if (document.getElementById) { // DOM3 = IE5, NS6<br />
document.getElementById('hidepage').style.visibility = 'hidden';<br />
}<br />
else {<br />
if (document.layers) { // Netscape 4<br />
document.hidepage.visibility = 'hidden';<br />
}<br />
else { // IE 4<br />
document.all.hidepage.style.visibility = 'hidden';<br />
}<br />
}<br />
}<br />
<br />
with the following in the <body><br />
<br />
<BODY OnLoad="loadImages()"><br />
<br />
<div id="hidepage" style="position: absolute; left:5px; top:5px; background-color: #FFFFFF; layer-background-color: #FFFFFF; height: 100%; width: 100%;"><br />
<br />
<table width=100%><br />
<tr><br />
<td><br />
<embed........flash here><br />
</td></tr></table></div> <br />
<br />
<br />
:D<!--content-->
 
Back
Top