PDA

View Full Version : Dynamically resize a browser window....


skape999
08-28-2002, 08:04 PM
...Is it possible with Javascript? I have a Coldfusion template page which has on it three buttons that link to three more seperate Coldfusion template pages calling its content from a database. Since the content in these pages varies, my aim is to have the window resize itself to fit the content appropriately and negate having to use the scroll bars. Any help with this will be greatly appreciated. :confused:

Vladdy
08-28-2002, 08:39 PM
Resizing browser window is a sure way to piss off your visitors... My advice is to make your design work on anything from webTV to graphics workstation.

skape999
08-28-2002, 09:21 PM
the resizing would/should take place before the end user sees the browser. I want the browser size to accomadate the size of the content within, which varies in volume. besides, this is a requirement from my client, I wouldn't bother with this for a site of my own.

brothercake
08-28-2002, 09:36 PM
You want the browser to know how big the page is going to be ... and auto-resize in advance?


Your client is insane .... you cannot make the world fit man; man must fit the world.

Whatever ... You go to page1, which contains values for represent the dimensions of page2 - it resizes the window, and then sends you to page2