Can I access an iframe of the same domain in a separate window?
Posted
by jozecuervo
on Stack Overflow
See other posts from Stack Overflow
or by jozecuervo
Published on 2010-05-13T00:48:56Z
Indexed on
2010/05/13
0:54 UTC
Read the original article
Hit count: 214
How can I detect the presence of and then call a function on a frame that is already loaded in one tab (my iframed facebook app) from a page being loaded in a new tab (from an ad-served link). It seems most examples focus on parent/child iframe communication. In this case, a link will be served from Google Ad Manager, which only allows _top or _blank to be targeted.
I want to pass an id through the ad click into the new page/tab on my domain and then JS call over to the frame my app is in to switch state. Both frames are on my domain but not in the same document or window.
Is this possible?
© Stack Overflow or respective owner