So I have this main app with an iframe object inside it that I want to use to access an URL with another C3 made game. So when the user finishes to use the content inside the iframe I wanted to make it close/destroy itself or make any command that I can identify in the main app and then trigger something else (change the layout).
I'm trying to do it this way because the iframe has to cover the whole screen and any objects inside the same layout can't be touched/clicked when overlapped by the iframe.
Is there any way to do this without making the iframe smaller than the viewport size?
Please tell me if it sounds confusing.
Thanks a lot!