Digital Point Forums
Moneygram

Go Back   Digital Point Forums > Design & Development > Programming > JavaScript
Google Analytics
Log In to view
your analytics

Reply
 
Thread Tools
  #1  
Old Jul 12th 2005, 12:33 am
ramis55 ramis55 is offline
Peon
 
Join Date: Jul 2005
Posts: 2
ramis55 is on a distinguished road
Question How detect are page is transferred 100% or not?

Hello,
I want make the seconds actions with JavaScript:
1. On opening the web page showing the text: “downloading page…”
2. When page 100 % is transferred remove text: “downloading page…” and open the web page.

In this case my question is. How I can detect are web page in progress transferring or is completed transferring?
Or maybe impossible detect the web page transferring?
Reply With Quote
  #2  
Old Jul 12th 2005, 6:25 am
J.D. J.D. is offline
of the Nightfall
 
Join Date: Nov 2004
Posts: 1,198
J.D. has a spectacular aura aboutJ.D. has a spectacular aura about
Try pushing "loading..." right at the beginning of the server-side script (i.e. no buffering on the web server) and then hide "loading..." in the onload handler (e.g. give it an ID and set its display to none).

In general, though, it is better not to use such tricks - if your visitor disables JS, they will end up with "loading..." at the top of the page.

You can also use URL refresh, if there's a background process that prepares results for a subsequent hit.

J.D.
Reply With Quote
  #3  
Old Jul 13th 2005, 1:56 am
ramis55 ramis55 is offline
Peon
 
Join Date: Jul 2005
Posts: 2
ramis55 is on a distinguished road
RE: How detect are page is transferred 100% or not?

Thanks for answer.
I am solve my problems with JavaScript. QuickTime having owner JavaScript function GetMaxBytesLoaded() and GetMovieSize(). In this case i can showing progress bar.

For more: http://developer.apple.com/documentation/QuickTime/Conceptual/QTScripting_JavaScript/index.html
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Detect Supported Protocols digitalpoint JavaScript 4 Jan 26th 2006 6:48 am
Files transferred via FTP are not overwriting... NewComputer Site & Server Administration 8 Apr 20th 2005 4:48 am
How to detect fraud clicks PinoyIto Reporting & Stats 10 Jan 19th 2005 7:39 am
Any way to detect referring link david_sakh PHP 3 Jan 8th 2005 6:56 am
Transferred page to new site Trance-formation Search Engine Optimization 3 Aug 3rd 2004 2:43 am


All times are GMT -8. The time now is 9:55 am.