Window size to adjust to content size

Discussion in 'Javascript' started by Simon Wigzell, Dec 5, 2003.

  1. 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!
     
    Simon Wigzell, Dec 5, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Dude
    Replies:
    2
    Views:
    1,200
    Neredbojias
    Mar 15, 2006
  2. =?Utf-8?B?Qi4gQ2hlcm5pY2s=?=

    How to adjust the size of individual RadioButtonList buttons

    =?Utf-8?B?Qi4gQ2hlcm5pY2s=?=, May 30, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    364
    =?Utf-8?B?Qi4gQ2hlcm5pY2s=?=
    May 30, 2006
  3. Replies:
    1
    Views:
    1,171
  4. K Viltersten

    Adjust a canvas as the window is resized

    K Viltersten, Mar 8, 2008, in forum: Python
    Replies:
    2
    Views:
    3,792
    K Viltersten
    Mar 10, 2008
  5. Ethan
    Replies:
    3
    Views:
    344
    Ethan
    Jul 3, 2003
Loading...

Share This Page