473,804 Members | 3,958 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Need to detect page state - loading - loaded - etc ???

I need to detect if page loaded or not with a script (in a child
frame). The IE has a special readyState function, is there anything
similar for Mozila browsers?

Is there a work around?

Thank you.

Feb 24 '06 #1
1 2624
d
"Alex" <a.********@gma il.com> wrote in message
news:11******** **************@ e56g2000cwe.goo glegroups.com.. .
I need to detect if page loaded or not with a script (in a child
frame). The IE has a special readyState function, is there anything
similar for Mozila browsers?

Is there a work around?

Thank you.


Yeah - just use the onload() event on that frame to tell you when the page
is loaded:

<iframe id="frm" src="http://www.google.com/" onload="isLoade d();"></iframe>

that'll tell you when the page has loaded.
Feb 24 '06 #2

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

Similar topics

7
7088
by: yawnmoth | last post by:
i'm trying to display text while a page is loading using a method similar to the following: <? ob_end_flush(); echo 'AAA<br>'; flush(); sleep(10); echo 'BBB'; ?>
2
1859
by: Graham J | last post by:
Hello, Apologies for the somewhat wordy and garbled subject as I couldn't think how to phrase it and this has hindered my searching for any previous answers. It could be a really simple question. Anyway... I have a simple javascript function that opens up a new window and writes HTML code in it to display an image (I don't just display the image because of problems with different margins in different browsers). Nothing exotic there. ...
1
1908
by: Andreas Leue | last post by:
Hi, I am writing a small, automated webapp-test-machine in javascript. It shall work with something like Mozilla/Netscape - IE is not a choice. In this context it is necessary to detect when a page finished loading - without having access to that foreign page and - without being in a parent-frame of that page I have consulted this group as well as other sources,
2
1100
by: ken bus | last post by:
To truly persist the state of a web page for reentry as if one had never left the page, one must save the querystring values, request.form data, and of course the viewstate. I would like to know why Microsoft has not placed this support natively into Asp.Net but instead I must resort to a hack? See article at www.thecodeproject.com/useritems/PersistentStatePage.asp for details. When will such support be forthcoming?
6
8320
by: snazzy | last post by:
I have a problem where using innerHTML to rewrite a DIV or removeChild to kill a DIV that either of them, if excuted before the page is done loading will stop the page in its tracks. removeChild: http://www.jsonline.com/preview/richmedia6.asp The innerHTML rewrite acts the same way. If you click "close ad" in the upper right corner before the page has loaded completely then the page will stop loading and elements could be missing.
7
2115
by: Shadow Lynx | last post by:
I realize that his question has been asked, in many other forms, many times in this group. Even so, my tired eyes have not yet found a sufficient answer, so I've decided to "reask" it even though I'm sure this will offend some of the more seasoned verterans of this board. The Players: Consider a simple web form, which I'll call Page A, that has a couple of controls on it. It's not important what they are, only that they're static...
1
2154
by: clintonG | last post by:
I'm having a problem maintaining state with a Panel control in a MasterPage and I need help thinking through this process. The basic structure of the HTML in the Master looks like this... <asp:PanelActivatorLinkButton ... /> .... .... <asp:Panel Visible="" ...> <asp:LoadContentLinkButton ... /> <asp:ContentPlaceHolder ... />
5
3126
by: bnashenas1984 | last post by:
Hi everyone Actually I'm not sure if I have to post this question in PHP forum. I have a page (download page) which contains a link but I want the link to be invisible until the page is fully loaded. The reason is that if the link apears at the begining then the user will click on it to download the file and then close the window before banners are loaded and it would not be counted as a page view on google adsense. So I need to have an...
2
2918
by: tarek01 | last post by:
I know this can be done with JavaScript, but can PHP detect when a page finishes loading? Once it has confirmed the page is loaded, it would execute an event. What about detecting when an image has finished loading? Is that possible? Thanks in advance.
0
9707
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9585
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10586
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10338
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10323
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9161
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5525
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4301
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2997
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.