[quote=putra_willy]bro ada iang punya kode loading page gak...izin pake dong..
[/quote]
niy omz, mudah2an berguna
[spoiler]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="<center><br><br><font face='Comic Sans MS' color='black' size='15'>SmarterDOS</font><br><br><br><br><br><br><br><br><br><font face='Comic Sans MS' color='black' size='9'>Halo "+pageViewerFName+" </font><font face='Comic Sans MS' color='black' size='5'>selamat lihat ya, tapi sabar!<br><br><br><br>SmarterDOS will downloading virus... Please Wait ..<blink>.</blink></font><b><br><br><br><br><br><img src='http://h1.ripway.com/robbinhood/gambarkeren/Acceptitnow.gif'><br><br><font face='Comic Sans MS' color='green' size='6'><blink>Loading!!</blink></font></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://h1.ripway.com/robbinhood/gambarkeren/vsagafaf.gif)";
lding.style.backgroundRepeat='repeat';
lding.style.zIndex=60001;
}
setTimeout("loader.hide()",10000000); [/spoiler]
[i][b]edited[/b][/i]
keduluan ...
Last edited by robbinhood (2008-07-15 06:29:26)