|
Friday Jan 05, 2007 This is a small script I have found from a website, it will display a loading message before your page is loading,
I don't know if you just copy and past it will work, please read the code and understand and then use it.
<SCRIPT TYPE="text/javascript" LANGUAGE="javascript"> function waitPreloadPage() { //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'; } } } </SCRIPT>
<body onLoad="waitPreloadPage();" topmargin="0" leftmargin="0">
<DIV id="prepage" style="position:absolute; font-family:arial; font-size:16; left:0px; top:0px; height:100%; width:100%;"> <TABLE width=100% height="100%" style="border-collapse: collapse" bordercolor="#111111" cellpadding="0" cellspacing="0"> <TR> <TD>LOADING</TD> </TR> </TABLE> </DIV>
Author: Safras Ahamed
|