Page 1 of 1

drivel split from t=26688

Posted: Sat Jun 11, 2022 11:53 am
by arabflavor
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.