[quote][/quote]
<">if(navigator.appName=="Netscape") loader=new Loader();
function Loader() {
this.hide=function() {
lding.style.display='none';
}
var lding = document.getElementById('navBg');
var myWidth = 0, myHeight = 0;
if( typeof( window.innerWidth ) == 'number' ) {
//Non-IE
myWidth = window.innerWidth;
myHeight = window.innerHeight;
} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
//IE 6+ in 'standards compliant mode'
myWidth = document.documentElement.clientWidth;
myHeight = document.documentElement.clientHeight;
} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
//IE 4 compatible
myWidth = document.body.clientWidth;
myHeight = document.body.clientHeight;
}
lding.innerHTML="<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><center><b><font face='Comic Sans MS' color='white' size='20'> "+pageViewerFName+" Thanks For Using Mozilla Firefox <br><br><br><br>Loading... Please Standby</font><b></center>";
lding.style.display='';
lding.style.position = 'fixed';
lding.style.top = '0px';
lding.style.left = '0px';
lding.style.width = myWidth;
lding.style.height = myHeight;
lding.style.backgroundImage ="url(http://i203.photobucket.com/albums/aa220/xavierkym83/overlay.png)";
lding.style.backgroundRepeat='repeat';
lding.style.zIndex=1000;
}
(You can add images if you want biggrin)
And Paste this code inside your attachonloadhandler
Code:
var ld=setTimeout("loader.hide()",5000);[b][/b]
where to put the image url?