Create a new static HTML page. Within the <body> tags, place an <iframe> tag. Set the "src" parameter of the tag equal to the complete URL you wish to display in the IFrame. Save the static HTML page to the directory from which you intend to publish it.
onclick="window.open('popup.html', 'width=xxx, height=xxx');"
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."
Tips & Warnings
- Photo Credit Stockbyte/Stockbyte/Getty Images
How to Resize a Window in HTML
Web page designers use a general, universal computer mark-up language called (HTML). Designers can define many different elements of a web page...
How to Make an IFrame
An iframe is an HTML frame that you embed on an already existing Web page. The main reason why you would want...
Iframes, like pop-ups, are child windows of a Web page's main window. They allow you to display content from another Web page...