|
 |
javascript_howto thread: RE: Resizing Popup Windows
Message #1 by "Alex Shiell, ITS, EC, SE" <alex.shiell@s...> on Mon, 3 Sep 2001 12:31:57 +0100
|
|
You can open a window of the same size as that of the image by specifying
the width and height of the window in the script that opens the new window.
----- Original Message -----
From: "Alex Shiell, ITS, EC, SE" <alex.shiell@s...>
To: "JavaScript HowTo" <javascript_howto@p...>
Sent: Monday, September 03, 2001 7:31 AM
Subject: [javascript_howto] RE: Resizing Popup Windows
> window width and height come from the operating system and are therefore
> read-only once the window has been created
>
> -----Original Message-----
> From: Paul Grattidge [mailto:paul@g...]
> Sent: 31 August 2001 12:04
> To: JavaScript HowTo
> Subject: [javascript_howto] Resizing Popup Windows
>
>
> Hello All,
> Can anyone tell me if it is possible to create a popup window in
> javascript that automatically sets its size to the image displayed in it,
> or to resize the window once the image is loaded?? This would save me
> setting the 'height' and 'width' attributes all the time.
>
> Thanks,
> Mex
>
|
|
 |