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. Advertisements

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. hazz
    Replies:
    6
    Views:
    52,121
    SkyUCHC
    Jun 9, 2010
  2. Dude
    Replies:
    2
    Views:
    1,381
    Neredbojias
    Mar 15, 2006
  3. =?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:
    444
    =?Utf-8?B?Qi4gQ2hlcm5pY2s=?=
    May 30, 2006
  4. Replies:
    1
    Views:
    1,309
  5. soxmax
    Replies:
    2
    Views:
    442
    soxmax
    Aug 5, 2006
  6. K Viltersten

    Adjust a canvas as the window is resized

    K Viltersten, Mar 8, 2008, in forum: Python
    Replies:
    2
    Views:
    5,402
    K Viltersten
    Mar 10, 2008
  7. Greg P.

    ItemStyle.Width doens't adjust the size of a column?

    Greg P., Mar 28, 2007, in forum: ASP .Net Web Controls
    Replies:
    14
    Views:
    489
    Paul Shapiro
    Feb 11, 2008
  8. Ethan
    Replies:
    3
    Views:
    445
    Ethan
    Jul 3, 2003
Loading...