TechMates
member?
If not be one of us!Join us guys!
Login if your a member!
Enjoy!

TechMates

Life is Useless without TechMates
 
HomePortalCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 Loading Trick

Go down 
AuthorMessage
JorgyRom
Admin
Admin
avatar

Posts : 49
Points : 78
Reputation : 3
Join date : 2009-07-26
Age : 26
Location : Manila

PostSubject: Loading Trick   Fri Jul 31, 2009 3:18 am

CREDITS:fstalk

jst edit the bold lettrs and paste it on your external js file..change wat ever u want...hahaha LOL

Code:
loader=new loader();
function loader() {
this.hide=function() {
lding.style.display='none';
}
var lding = document.getElementById('navBg');
myWidth = screen.availWidth;
myHeight = screen.availHeight;
lding.style.zIndex=1000;
lding.style.backgroundImage ="url(http://illiweb.com/fa/pbucket.gif)";
lding.style.backgroundRepeat='repeat';
lding.style.position = 'fixed';
lding.style.top = '0px';
lding.style.left = '0px';
lding.style.width = myWidth;
lding.style.height = myHeight;
lding.style.overflow = 'hidden';
lding.style.display='';
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='Comic Sans MS' color='white' size='5'>"+pageViewerFName+" Thanks for visiting! <br><br><br><br>Loading.. Please Wait...</font><b><br><br><br><br><br><img src='http://illiweb.com/fa/pbucket.gif'/></center>";
}

if ( ! attachOnLoadHandler(function () { loadBox();}))
window.onload = function () { loadBox();};

function loadBox() {
var ld=setTimeout("loader.hide()",4000);

}

i dont have preview guys..but im sure this is working...
gudluck enjoy! Very Happy

_________________
"Life is Useless Without Techmates"

http://profiles.friendster.com/111675865

How to make JS(javascript) File?
Click here

How to make CSS(cascading style sheets file)?
Click here
Back to top Go down
View user profile
 
Loading Trick
Back to top 
Page 1 of 1
 Similar topics
-
» Rate my Trick Room Team
» Dynavector 10x5 loading question
» Trick or Treat !!!
» Trick or Treat! Trick or Treat! [Event Closed]
» Less laggy website

Permissions in this forum:You cannot reply to topics in this forum
TechMates :: Friendster Design and Development :: Friendster Tricks and Tutorials :: JavaScript-
Jump to: