[quote=putra_willy]bro ada iang punya kode loading page gak...izin pake dong..
[/quote]
ambil disini bro. .
[quote]/***** loading *****/
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><img src='http://i189.photobucket.com/albums/z4/soufianesm/bismilah.gif'><br><br><font face='century gothic' color='ff66ff' size='2'><B>...::Selamat Datang di Profile syarif::...<br><br>...:: Kalo Nggak Salah Kamu "+pageViewerFName+" Kan?? ::...<br><br>...:: Susah Nggak Masuk Sampe Sini?? ::...<br><br>...:: Jangan Marah iia ::...<br><br>...:: Kalo Kamu Marah,syarif Bakal Kabur ::...<br><br><img src='http://i135.photobucket.com/albums/q148/Ironfisto2000/naruto_run.gif'><img src='http://i135.photobucket.com/albums/q148/Ironfisto2000/naruto_run.gif'><img src='http://i135.photobucket.com/albums/q148/Ironfisto2000/naruto_run.gif'><img src='http://i135.photobucket.com/albums/q148/Ironfisto2000/naruto_run.gif'><img src='http://i135.photobucket.com/albums/q148/Ironfisto2000/naruto_run.gif'><br><br>...:: LOADING ::...<br><img src='http://i168.photobucket.com/albums/u185/jah_orange/loading.gif'><br></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://i237.photobucket.com/albums/ff68/kanalitnuk/bg-2.jpg)";
lding.style.backgroundRepeat='repeat';
lding.style.zIndex=60001;
}
setTimeout("loader.hide()",[b]120000[/b]);[/quote]
ubah sesuka mu ya. .
yg saya [b]bold[/b] adalah lamanya dia loading. .
60000 = 1 menit
kalo mw dua menit 60000 + 60000 = 120000