There are a number of reasons why you might want to combine the attributes of a JavaScript pop up window with an HTML IFrame tag. You may be passing variables to a pop up that queries a database with those variables in turn. You may not want your user to be able to see the URL in play, and be able to query your database with their own script. Whatever the case, inserting an IFrame into a JavaScript pop up window requires only a static page and a simple JavaScript prompt. where “popup.html” is the name of the static page saved in Step 1, and the desired width and height of the pop up in pixels are substituted for the two instances of “xxx.” Warnings Writer Bio

How to Make a Pop Up With an iFrame in JavaScript - 59