Hi all,
Can I javascript open a popup window and automatically size it to the contents of that page?
The problem that I see though, is that the contents of the popup page are just HTML/CSS/text without any set widths on anything at all.. they're all percentages, like my table is set to 98% width.
The only thing that might possibly provide the desired popup size, is the text width.. like I have a numbered list, that reaches a maximum char length of 200.. and I have my 98% (to provide a little bit of white space around the table border) table with a thin border around it, so the popup should be like 240pixels in width.
My environment is ASP..
Any help or thoughts would be appreciate it!
Thanks!
Can I javascript open a popup window and automatically size it to the contents of that page?
The problem that I see though, is that the contents of the popup page are just HTML/CSS/text without any set widths on anything at all.. they're all percentages, like my table is set to 98% width.
The only thing that might possibly provide the desired popup size, is the text width.. like I have a numbered list, that reaches a maximum char length of 200.. and I have my 98% (to provide a little bit of white space around the table border) table with a thin border around it, so the popup should be like 240pixels in width.
My environment is ASP..
Any help or thoughts would be appreciate it!
Thanks!