The battleground for flame wars, off-topic derailments and spurious madness.
1 post • Page 1 of 1
The popup is usually be as tall as your content. But to fix the popup windows size add <!DOCTYPE html> at the beginning of the page and replace <html>. The window.resizeTo(preferredWidth, preferedHeight) method can be used to change the height & width of your popup window. If you want to put this in a popup window instead of a parent window, use self. The function resizeTo(preferredWidth, preferedHeight); will take care of that. It's a good suggestion to keep all your content inside a div.