Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Window size to adjust to content size

Thread Tools

Window size to adjust to content size

Simon Wigzell
Posts: n/a
For reasons I won't go into I'm popping up windows with a standard routine
for many different forms. The window I pop open is hard coded to a certain
size. Some of the windows are too small for their content, some too big
depending on the size of the form. Is there a way, once I'm inside the popup
window and after it is displaying it's contents, to determin the width and
height of the form within the window? If I put a named <div> around it could
I then access theses dimensions? I know how to make the window resize
itself, just not sure how to determine the new size. Thanks!

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adjust a canvas as the window is resized K Viltersten Python 2 03-10-2008 07:12 PM
How to adjust the size of individual RadioButtonList buttons =?Utf-8?B?Qi4gQ2hlcm5pY2s=?= ASP .Net 0 05-30-2006 07:53 PM
Help please to adjust the size of an excel spread sheet in a web page Dude HTML 2 03-15-2006 07:41 PM
How to get ScrollRegion to adjust w/ window-size? Python 1 08-06-2005 11:59 AM
Adjust window's scroll position depending on which link clicked Ethan Javascript 3 07-03-2003 01:07 AM