cross-domain iframe
cross-domain iframe
I have a page that writes in an iframe as part of the output. It's communicating between a secure server and a public server. I don't really have much of an option except to use an iframe to do this.
I'm trying to think of a way where I can hide a div on the parent page based on some value that the iframe outputs.
Since the two pages are on different domains, I can't use the standard window.frames commands.
Does anyone have any idea what sort of data I could have the iframe output that would allow the parent page to decide wether or not to show a div?
I was thinking i could have the iframe do a redirect with a string query, but i'm not sure how i'd get the parent page to read the new iframe url.