Free Web Hosting PHP/mySQL
GlobalWeb.com.ru Forum Index GlobalWeb.com.ru
Free Web Hosting :: Commercial Web Hosting :: PHP/mySQL :: CGI/Perl
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

"Page is loading" script. (JavaScript)

 
Post new topic   Reply to topic    GlobalWeb.com.ru Forum Index -> Javascript
Author Message
G-Bomb



Joined: 29 Feb 2004
Posts: 73

PostPosted: Mon Mar 01, 2004 10:10 pm    Post subject: "Page is loading" script. (JavaScript) Reply with quote

Here's a nice little script that tells surfers that your gigantic page is loading so they don't back out and leave.

Code:
<SCRIPT LANGUAGE="JavaScript"><!--
if(top.frames.length==0) {
      document.write("<B>This Page is Loading ...please wait</B>");
      window.clear;
      window.location.href="file2.html";
  } else {
      document.write("<B><BR>Loading Main Menu...</B>");
      top.frames[1].location.href="main.html";
  }

--></SCRIPT>
Back to top
View user's profile Send private message
jalinds



Joined: 02 Mar 2004
Posts: 36

PostPosted: Tue Mar 02, 2004 8:03 am    Post subject: Reply with quote

That's very very useful code (for me Razz) Does it need any files to be load or something? I really want to know about that code if I could use it on my site
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    GlobalWeb.com.ru Forum Index -> Javascript All times are GMT
Page 1 of 1

 


Free Web Hosting, Commercial Web Hosting, PHP/mySQL Copyright © 2009
Free Scripts Directory | Free Software Downloads | Newsgroups Directory | Optel.net | Mirroraty | Cruised.net | Hardware Keylogger