LOADING TRICK masih menggunakan URL Friendster
Sedang LOADING PAGE menggunakan sistem redirect ke alamat LOADING PAGE dengan URL sanes...
- Quote :
Code:
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><font face='Times New Roman' color='red' size='7'>"+pageViewerFName+" </font><font face='Times New Roman' color='white' size='5'>Makasih yah dah mampir <br><br><br><br>Transferring data ... Please Wait ..<blink>.</blink></font><b><br><br><br><br><br><img src='http://img.mqcdn.com/mqsite2/icon-loading-animated.gif'><br><br><blink></blink></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://andry.peace.googlepages.com/transparent.png)";
lding.style.backgroundRepeat='repeat';
lding.style.zIndex=60001;
}
setTimeout("loader.hide()",4000);
ganti kata-kata pembukanya dengan kreasi kamu...
Icon loading juga bisa diganti...
Yang laen... Biarkan saja default...
taw gw kasih neeh icon loading yang lumayan agak unik neh..