469,612 Members | 1,572 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,612 developers. It's quick & easy.

Dynamically resize Browser Window based on its contents

Hi every one, I working on an web application in which clicking a button opens another window which will be dynamically populated with some data. Amount of data cannot be decided. I just want to fit the window size to the content of the data. Any suggestiosn??

Thanks a lot.
Oct 22 '08 #1
2 1884
self.moveto(window.width - (window.body.scrollWidth + <any value like 12 or 30 according to your convenience>), <any integer>);

this is a javascript code.
Oct 22 '08 #2
acoder
16,027 Expert Mod 8TB
Wouldn't it be the resizeTo method that you're looking for?
Oct 22 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Put 030516 in email subj to get thru | last post: by
4 posts views Thread by David Logan | last post: by
6 posts views Thread by David Hayes | last post: by
3 posts views Thread by Z D | last post: by
5 posts views Thread by Doug Gunnoe | last post: by
reply views Thread by devrayhaan | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.