drivel split from t=26688
-
- Posts: 4
- Joined: Sat Jan 08, 2022 12:19 pm
drivel split from t=26688
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.
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.63 Safari/537.36