![]() |
|
|
|
||||||||||
![]() |
|
|
Thread Tools |
|
#1
|
|||
|
|||
|
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? |
|
#2
|
|||
|
|||
|
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. |
|
#3
|
|||
|
|||
|
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 |
![]() |
| Bookmarks |
| Thread Tools | |
|
|
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 |