Window size to adjust to content size

S

Simon Wigzell

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!
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,756
Messages
2,569,533
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top