View Full Version : dhtml window widget auto resize possible?

03-29-2008, 06:16 PM
im using the window popup widget.... working great, only thing is, i would like it to size the window to the size of the contect

here is the link to what im using:

again, instead of 450px, i want auto, or 100%

is it possible to size around the contect/padding?

thank you!

03-30-2008, 07:27 AM
Hmm what mode are you using to display the content within the window (ie: iframe, ajax etc)? Are you asking how to have the DHTML window auto resize to the width of this content, which I gather has an explicit width itself, such as 600px? If the content is free flowing width wise, then what would the DHTML window use as basis to resize itself to?

03-30-2008, 07:48 PM
im using ajax...
the file that is being 'popped up' is going to be changing in size from time to time... and it has paddings of 6 all around...
i dont want to have to guess around... i just want to the window to be whatever size the content is + padding....

i wish i didnt have to specify hight and width...
anyway around this?