Loading IFrame through javascript using localy generated code
<p><strong>BACKGROUND INFO:<br></strong>
Hello, 
recently I have been trying to create a website generator for my school, and it has gone quite well, it nearly has as many features as Wix. Recently I tried to add support for parallax effects through parallax.js, and it works perfectly (you can generate the website and see it when you save it and open it in a new tab), but parallax.js does not rescan the page for parallax elements each time the page is changed. I tried using an iframe to do this, and it worked. However, the way that I give them a preview is that the code is generated client-side (in the pagemaker), so I need a way to 'load' an IFrame through javascript using generated code.<br>
<strong>STRAIGHT TO THE POINT:<br></strong> How can I load an IFrame page that uses code that is generated client-side by javascript, and stored in a variable? It needs to be reloaded each time that a change is made to the page, which will trigger third-party software libraries. </p>