Do you know if it is possible to wait for the iframe page to load and
then manipulate the iframe DOM.
E.g.
mypage:
<script>
function myinit() {
theiframe.location = "iframe_with_frames.html"
waitforiframe() {
theiframe.frames[0].location ="mynewpage3.html";
}
}
</script>
<body onload="myinit();">
<iframe src="empty_page.html" name="theiframe" />
</body>
iframe_with_frames.html:
<frameset>
<frame src="page1">
<frame src="page2">
</frameset> 5 7327
On Feb 5, 1:27*pm, BerlinBrown <berlin.br...@gmail.comwrote:
Do you know if it is possible to wait for the iframe page to load and
then manipulate the iframe DOM.
E.g.
mypage:
<script>
* function myinit() {
* * theiframe.location = "iframe_with_frames.html"
* * waitforiframe() {
* * * * * *theiframe.frames[0].location ="mynewpage3.html";
* * }
* }
</script>
<body onload="myinit();">
* <iframe src="empty_page.html" name="theiframe" />
</body>
iframe_with_frames.html:
<frameset>
* <frame src="page1">
* *<frame src="page2">
</frameset>
Hi, Thanks for your reply. I may not have control on the iframe
contents. Also where is waitforiframe being called and where would
trigger the start time in your case?
Thanks.
On Feb 5, 5:04 pm, Madhumita <mita.mal...@gmail.comwrote:
On Feb 5, 1:27 pm, BerlinBrown <berlin.br...@gmail.comwrote:
Do you know if it is possible to wait for the iframe page to load and
then manipulate the iframe DOM.
E.g.
mypage:
<script>
function myinit() {
theiframe.location = "iframe_with_frames.html"
waitforiframe() {
theiframe.frames[0].location ="mynewpage3.html";
}
}
</script>
<body onload="myinit();">
<iframe src="empty_page.html" name="theiframe" />
</body>
iframe_with_frames.html:
<frameset>
<frame src="page1">
<frame src="page2">
</frameset>
Hi, Thanks for your reply. I may not have control on the iframe
contents. Also where is waitforiframe being called and where would
trigger the start time in your case?
Thanks.
That is pseudo code. I don't have the implementation.
waitforiframe() { }
Should you even wait for the iframe to load. Ideally I want to avoid
using timers.
On Feb 5, 2:21*pm, BerlinBrown <berlin.br...@gmail.comwrote:
On Feb 5, 5:04 pm, Madhumita <mita.mal...@gmail.comwrote:
On Feb 5, 1:27 pm, BerlinBrown <berlin.br...@gmail.comwrote:
Do you know if it is possible to wait for the iframe page to load and
then manipulate the iframe DOM.
E.g.
mypage:
<script>
* function myinit() {
* * theiframe.location = "iframe_with_frames.html"
* * waitforiframe() {
* * * * * *theiframe.frames[0].location ="mynewpage3.html";
* * }
* }
</script>
<body onload="myinit();">
* <iframe src="empty_page.html" name="theiframe" />
</body>
iframe_with_frames.html:
<frameset>
* <frame src="page1">
* *<frame src="page2">
</frameset>
Hi, Thanks for your reply. I may not have control on the iframe
contents. Also where is waitforiframe being called and where would
trigger the start time in your case?
Thanks.
That is pseudo code. *I don't have the implementation.
waitforiframe() { }
Should you even wait for the iframe to load. *Ideally I want to avoid
using timers.- Hide quoted text -
- Show quoted text -
Timer means just doing a Date() function. Why would you avoid that?
How else would you compute the loading time?
My question was not implementation specific, I didn't see the use of
your waitforiframe question.
Thanks.
On Feb 5, 5:34 pm, Madhumita <mita.mal...@gmail.comwrote:
On Feb 5, 2:21 pm, BerlinBrown <berlin.br...@gmail.comwrote:
On Feb 5, 5:04 pm, Madhumita <mita.mal...@gmail.comwrote:
On Feb 5, 1:27 pm, BerlinBrown <berlin.br...@gmail.comwrote:
Do you know if it is possible to wait for the iframe page to load and
then manipulate the iframe DOM.
E.g.
mypage:
<script>
function myinit() {
theiframe.location = "iframe_with_frames.html"
waitforiframe() {
theiframe.frames[0].location ="mynewpage3.html";
}
}
</script>
<body onload="myinit();">
<iframe src="empty_page.html" name="theiframe" />
</body>
iframe_with_frames.html:
<frameset>
<frame src="page1">
<frame src="page2">
</frameset>
Hi, Thanks for your reply. I may not have control on the iframe
contents. Also where is waitforiframe being called and where would
trigger the start time in your case?
Thanks.
That is pseudo code. I don't have the implementation.
waitforiframe() { }
Should you even wait for the iframe to load. Ideally I want to avoid
using timers.- Hide quoted text -
- Show quoted text -
Timer means just doing a Date() function. Why would you avoid that?
How else would you compute the loading time?
My question was not implementation specific, I didn't see the use of
your waitforiframe question.
Thanks.
How else would you compute the loading time?
I don't need to compute the loading time? I dont think.
If I run the code here, it won't acknowledge:
theiframe.frames[0]
Because this operation probably hasn't completed yet.
theiframe.location = "iframe_with_frames.html"
Is there a way to "wait" for the iframe to load and then set the frame
data.
I was looking at addEvent.'onload' but from reading online, doesn't
apply to sub-dom objects, only the current page.
function myinit() {
theiframe.location = "iframe_with_frames.html"
theiframe.frames[0].location ="mynewpage3.html";
}
On Feb 5, 5:39 pm, BerlinBrown <berlin.br...@gmail.comwrote:
On Feb 5, 5:34 pm, Madhumita <mita.mal...@gmail.comwrote:
On Feb 5, 2:21 pm, BerlinBrown <berlin.br...@gmail.comwrote:
On Feb 5, 5:04 pm, Madhumita <mita.mal...@gmail.comwrote:
On Feb 5, 1:27 pm, BerlinBrown <berlin.br...@gmail.comwrote:
Do you know if it is possible to wait for the iframe page to load and
then manipulate the iframe DOM.
E.g.
mypage:
<script>
function myinit() {
theiframe.location = "iframe_with_frames.html"
waitforiframe() {
theiframe.frames[0].location ="mynewpage3.html";
}
}
</script>
<body onload="myinit();">
<iframe src="empty_page.html" name="theiframe" />
</body>
iframe_with_frames.html:
<frameset>
<frame src="page1">
<frame src="page2">
</frameset>
Hi, Thanks for your reply. I may not have control on the iframe
contents. Also where is waitforiframe being called and where would
trigger the start time in your case?
Thanks.
That is pseudo code. I don't have the implementation.
waitforiframe() { }
Should you even wait for the iframe to load. Ideally I want to avoid
using timers.- Hide quoted text -
- Show quoted text -
Timer means just doing a Date() function. Why would you avoid that?
How else would you compute the loading time?
My question was not implementation specific, I didn't see the use of
your waitforiframe question.
Thanks.
How else would you compute the loading time?
I don't need to compute the loading time? I dont think.
If I run the code here, it won't acknowledge:
theiframe.frames[0]
Because this operation probably hasn't completed yet.
theiframe.location = "iframe_with_frames.html"
Is there a way to "wait" for the iframe to load and then set the frame
data.
I was looking at addEvent.'onload' but from reading online, doesn't
apply to sub-dom objects, only the current page.
function myinit() {
theiframe.location = "iframe_with_frames.html"
theiframe.frames[0].location ="mynewpage3.html";
}
Sorry, I saw your early question; I am not responding your EARLIER
question. I started a new one on a similar subject. Wow, it is a
small world, the questions are very similar and about the same time. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: adnanx82 |
last post by:
Hi,
I was wondering if anyone knew how to perform the following 2 tasks in
Javascript:
1) distinguish between frames and iframes (during an onload event for
example)
2) figure out whether a...
|
by: Mel |
last post by:
how can i wait for one iframe to completely load before loading a second one
?
thanks for your help
|
by: Alan Z. Scharf |
last post by:
1. I have a chain of six asynch callbacks initiated by a button, and want
the page to refresh at the end of each callback to display
A. Results of a SQLServer query showing cumulative running...
|
by: TC |
last post by:
Hello,
I am making an asynchronous call to a webservice and trying to update the
web page with the results.
The page is not updating.
Does anybody know why???
Below is my code:
|
by: Balaji |
last post by:
Hi there,
I have a strange problem. In our app we have a iframe and load all the
pages in the iframe for the menu which is available in the page. Using a
dive we have displayed a please wait...
|
by: Z1P2 |
last post by:
I would like to gradually resize an iframe in an onmouseover event.
I can easily do it with an image, but when I try to do it with an iframe, it doesn't do anything. So first of all, is it possible...
|
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgS2lxdWVuZXQ=?= |
last post by:
Mister, any solution about it ? any sample code please ??
thanks in advance
|
by: John Kotuby |
last post by:
Hi all,
I am trying to add some advanced search tools to a standard HTML website by
using an Iframe whose SRC attribute points to a remote ASP.NET site which
contains the advanced search tool...
|
by: kaer |
last post by:
I have to send an XPath request on web page with JavaScript (with
XMLHttpRequest) that has to be executed before. I have no idea on how
to do that. Any pointer is welcome.
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM).
In this month's session, the creator of the excellent VBE...
|
by: MeoLessi9 |
last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
|
by: DolphinDB |
last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation.
Take...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: Aftab Ahmad |
last post by:
Hello Experts!
I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
|
by: Aftab Ahmad |
last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below.
Dim IE As Object
Set IE =...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
| | |