Hi im using this script for a page loading message, It works ok but it doesnt always wait for the complete images to load, i think it is only set up for one image and the problem is i have two. To further complicate this the images are variable so i cant just check to see if a certain imagename is loaded.
I dont know if I've explaind this clearly but you can see it in action here
:and just choose any combination and preview.
If possible I would like to load the complete page before the message is removed
Any help would be appreciated even to know its not possible.
This is the baisc scrpit that i have found:
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function loadImages() {
if (document.getElementById) { // DOM3 = IE5, NS6
document.getElementById('hidepage').style.visibility = 'hidden';
}
else {
if (document.layers) { // Netscape 4
document.hidepage.visibility = 'hidden';
}
else { // IE 4
document.all.hidepage.style.visibility = 'hidden';
}
}
}
// End -->
</script>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000" OnLoad="loadImages()">
<div id="hidepage" style="position: absolute; left:0px; top:0px; background-color: #FFFFde; layer-background-color: #FFFFde; height: 100%; width: 100%;; border: 1px none #000000">
<table width=100% height="100%">
<tr>
<td height="277">
<div align="center">
<p><img src=" width="213" height="60"></p>
<p> </p>
<p><font color="006600" size="7">Your selection is loading </font></p>
<p><font color="006600" size="7">Please wait ... </font></p>
</div>
</td></tr></table>
<div align="center"></div>
</div>
I dont know if it makes a diffrence but the preview button actually calls a cgi script to choose which images have been selected.
Thank you
Grant
I dont know if I've explaind this clearly but you can see it in action here
:and just choose any combination and preview.
If possible I would like to load the complete page before the message is removed
Any help would be appreciated even to know its not possible.
This is the baisc scrpit that i have found:
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function loadImages() {
if (document.getElementById) { // DOM3 = IE5, NS6
document.getElementById('hidepage').style.visibility = 'hidden';
}
else {
if (document.layers) { // Netscape 4
document.hidepage.visibility = 'hidden';
}
else { // IE 4
document.all.hidepage.style.visibility = 'hidden';
}
}
}
// End -->
</script>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000" OnLoad="loadImages()">
<div id="hidepage" style="position: absolute; left:0px; top:0px; background-color: #FFFFde; layer-background-color: #FFFFde; height: 100%; width: 100%;; border: 1px none #000000">
<table width=100% height="100%">
<tr>
<td height="277">
<div align="center">
<p><img src=" width="213" height="60"></p>
<p> </p>
<p><font color="006600" size="7">Your selection is loading </font></p>
<p><font color="006600" size="7">Please wait ... </font></p>
</div>
</td></tr></table>
<div align="center"></div>
</div>
I dont know if it makes a diffrence but the preview button actually calls a cgi script to choose which images have been selected.
Thank you
Grant