Results 1 to 6 of 6
Related
-
How do you use the “include function” to put a HTML Page (top.htm) onto a PHP Page? Forum: PHP Forum
Replies: 1 -
Screen Size detect and CSS Forum: CSS Forum
Replies: 1 -
Passing variables from HTML page to page Forum: HTML Forum
Replies: 1 -
How to detect if a frame has completed loading? Forum: HTML Forum
Replies: 2 -
I want my web page to look & print like one page but to have only a part of it refres Forum: HTML Forum
Replies: 5
-
07-12-2005, 02:10 AM #1
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?
-
07-12-2005, 09:07 AM #2
Re: How detect are page is transferred 100% or not?
try somthing like this:
HTML Code:<html> <head> <script language="javascript"> function Loaded(){ document.getElementById('progress').innerHTML=''; document.getElementById('progress').style.visibility='hidden'; } </script> </head> <body onload="Loaded();"> <div id="progress">Loading...</div> <img border="0" src="http://mapmaker.rutgers.edu/HISTORICALMAPS/province_of_NJ_1777%20copy.jpg"> </body> </html>
-
07-12-2005, 09:52 AM #3
Re: How detect are page is transferred 100% or not?
The first thanks for answer.
So, your suggestion works only on Opera browser, but not works on Netscape, IE and FireFox.
On Opera text in the input box changes only, when downloading all video_2_raw.3gp. In the seconds browsers (Netscape, IE and FireFox) the text changes immediately before downloading all 3gp file.
Maybe is another suggestion for my problem?
I am use the following coed:
HTML Code:function changeTxt(){ document.getElementById('txt').value = 'File Downloaded'; } <body onLoad="changeTxt()"> <object CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab"> <param name="SRC" VALUE="video_2_raw.3gp"> <param name="AUTOPLAY" VALUE="true"> <param NAME="type" VALUE="video/quicktime"> <param name="CONTROLLER" VALUE="true"> <embed SRC="video_2_raw.3gp" AUTOPLAY="true" CONTROLLER="true" type="video/quicktime"PLUGINSPAGE="http://www.apple.com/quicktime/download/"> </embed> </object> <input type="text" id="txt" value="Downloading...">
-
07-12-2005, 01:51 PM #4
Re: How detect are page is transferred 100% or not?
well... after a while of trying to find a way to do it... i failed!
this link is the closest that i came to doing it, but it is DHTML
http://msdn.microsoft.com/library/de...iacomplete.asp
and i dont know if it is cross-browser compatable... or if it works with quick time!
-
07-13-2005, 03:45 AM #5
Re: How detect are page is transferred 100% or not?
t:VIDEO donnot works with quick time. but I am find other suggestion for my problem.
QuickTime have owner JavaScript function GetMaxBytesLoaded() and GetMovieSize().
http://developer.apple.com/documenta...ipt/index.html
-
07-13-2005, 10:02 AM #6
Re: How detect are page is transferred 100% or not?
i tried to find somthing like that and i had absolutley NO luck!
Cloudjiffy- PaaS for Developers
10-05-2020, 12:30 AM in Web Hosting Forum