Cross-domain iframe communication in Opera

Posted by Mr Period on Stack Overflow See other posts from Stack Overflow or by Mr Period
Published on 2010-02-12T00:58:26Z Indexed on 2010/04/22 0:03 UTC
Read the original article Hit count: 199

Filed under:
|

Hi,

I have need to communicate between two iframes of the same domain, which live inside a parent page on a different domain that I have no control over.

This is a Facebook app and the basic layout is this

apps.facebook.com/myapp
L iframe1 (src='mysite.com/foo')
L iframe2 (src='mysite.com/bar')

I need frame1 to talk to frame2, but in Opera I can't access window.parent.frames['frame2'] to do the usual cross-domain methods (updating location.hash for example)

Is there an alternate way to accomplish this in Opera?

Thanks for your help in advance

© Stack Overflow or respective owner

Related posts about cross-domain

Related posts about opera