how 'bout dynamically loading the iframe in the 'ready' you can do it last,
On 9/22/06, Ⓙⓐⓚⓔ
<[EMAIL PROTECTED]> wrote:
instead of document, you want the parent of the document.....
$(document.parent)...... sounds like a good try....
I didn't test... hope it helps.--On 9/21/06, Arash Yalpani <[EMAIL PROTECTED]> wrote:Hi all,
I have a page(1) with an iframe, where the iframe loads a
second-party-web page(2). Now, if I open (1), I want to do some
JS-Action, whenever (1) is completely loaded. This works great in FF and
Opera!
You can test it here:
http://newsride.org/discuss/?uriId=@@@@17
The comments on the left side should load almost immediately in FF /
Opera. It basically works like this:
$(document).ready(function(){
loadComments();
})
But if you look at the same page in IE, you will get a different result.
IE waits until the content of the iframe - the external web page (2) on
the right side - was completely loaded until it starts to execute
$(document).ready.
What I like to happen is that document.ready starts, whenever the
surrounding web page (1) is loaded, not the intrinsic iframed page (2).
Any ideas why document.ready behaves differently. Is there any
workaround for that?
Thanks,
Arash
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/
Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ
▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒
░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░
▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒
░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░
▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒
--
Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ
▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒
░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░
▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒
░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░
▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒
_______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
