We have downloaded the application, and added it into an iFrame. I have a div on the site, that I want to be able to access inside the application. Basically when a button is pressed, this div needs to show. If I create the UI in PlayCanvas the document.getElementById or the document.querySelector finds the div, however this way, the div is limited to be inside the iFrame (it needs to fill the actual screen height).
If I place the div in the HTML page, where the iFrame is placed, neither getElementById nor querySelector finds the div.