It appears to be working, but not placing it where I want. its just down on the very bottom of the screen.
CSS
Code:
.loading {
width: 250px;
height: 150px;
background-color: #c0c0c0;
position: absolute;
left: 50%;
top: 50%;
margin-top: -75px;
margin-left: -125px;
text-align: center;
border-style:solid;
border-width:thin;
border-color:#000000;
display:none;
}
Div code
Code:
<div id="loading"><br><img src="images/loading_bar.gif" alt="Page Loading....." width="220" height="19"><br><br>Loading.....<br><br>Please wait...</div>
Code placed in the existing onload
Code:
document.getElementById("loading").style.display = "block";
Code placed in the existing download complete function
Code:
document.getElementById("loading").style.display = "none";
Also, this is on a CSS layout with an active x control.
The div when its on the very bottom, does not have the border/background color that i specified.
Bookmarks