473,397 Members | 2,084 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

mimic onreadystatechange

I'm trying to mimic IE's onreadystatechange in MZ. Specifically I'm
looking at returning a value of "loading" to a frameset when a page is
loading within one of the frameset's frames. Does anyone have any ideas
on how to do this?

Andrew Poulos
Jul 23 '05 #1
2 1565


Andrew Poulos wrote:
I'm trying to mimic IE's onreadystatechange in MZ. Specifically I'm
looking at returning a value of "loading" to a frameset when a page is
loading within one of the frameset's frames. Does anyone have any ideas
on how to do this?


Your documents loaded in the frame could contain script that calls up to
the frameset to report the status.
If you are only interested in the final loaded then there is
<frame onload
that works in Mozilla and IE.

--

Martin Honnen
http://JavaScript.FAQTs.com/
Jul 23 '05 #2
>> I'm trying to mimic IE's onreadystatechange in MZ. Specifically I'm
looking at returning a value of "loading" to a frameset when a page is
loading within one of the frameset's frames. Does anyone have any
ideas on how to do this?

Your documents loaded in the frame could contain script that calls up to
the frameset to report the status.
If you are only interested in the final loaded then there is
<frame onload
that works in Mozilla and IE.


Thanks for the reply but I can't put scripts in the documents that are
to be loaded into the frame nor do I need to know when the document has
finished loading. I need to know when a document is starting to load:
which IE "solves" with onreadystatechange.

Andrew Poulos
Jul 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Krzysztof Kubiak | last post by:
I'm trying to make use of XMLHTTP object, but I've come across a problem. It seems that there is no way to create dynamic array of such XMLHTTP objects (to make several requests) and handle them...
7
by: Jeremy Gollehon | last post by:
Here is a simplified example of what I'm trying to understand. This works fine: --------------------------------------------------------------------------- window.open(sURL1,'Window')...
1
by: akhil.patel | last post by:
I realize that this may have been asked before, but I could not find a definitive answer. function loadXMLDoc(url, MyFunction) { // use native XMLHttpRequest object if (window.XMLHttpRequest)...
2
by: jhullu | last post by:
hello, I'm writing a program using XMLHttpRequest that works in the main case on IE and mozilla but this code works only on IE ... why ? probleme is located at mark 'HERE' at the end of code....
2
by: petermichaux | last post by:
Hi, I thought it is about time I tried writing some JavaScript with XMLHttpRequest instead of just using the Yahoo! UI library. The simple page below works in both Safari and Opera but I don't...
1
by: weston | last post by:
So, the following apparently works as a method of grafting a method onto an object (using the squarefree JS shell): obj = { x: 1, inc: null } result obj.inc = function () { this.x++ } result...
2
by: Peter Michaux | last post by:
Hi, I am trying out the Ajax timeout example in Flanagan's book p492. It works fine in Opera but in Firefox the the call to request.abort() doesn't stop onreadystatechange being called. I found...
5
by: Heofz | last post by:
Hey all, I've been banging my head against a brick wall on this one for the last 12 hours, and the time has come for me to give up and consult the gurus on this one. The below URL contains a...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.