Help! Close in iframe in an iframe
The Scenario: On my site I have a pop-up modal window (tinybox) with an iframe in it. I close this iframe successfully using:
where 'someid' is the id of the iframe that's in the modal window.
The problem: My site is displayed in an iframe on other sites (with permission) So now there is an iframe in site A displaying my site B and site B then has a modal window with the iframe 'someid' that needs to be closed.
I've tried lots of combinations of parent, window, contentWindow,
top.window etc and can't find any that work.
This is the structure as I think...
parent (site A)--> document in parent --> iframe in document (topframe) --> 2nd parent (site B - my site)--> document in 2nd parent --> iframe in document (someid)
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread