[Javascript] Resize INNER window

Paul Cowan dagda1 at hotmail.com
Mon Jun 2 02:44:36 CDT 2003


If u used an IFrame you could say something like:

function window_resize() {
  document.all.InnerFrame.style.width = MainBodyCell.offsetWidth-10;

}
window.onresize = window_resize;
window.onload = window_resize;



dagda1 at hotmail.com





>From: "Tim Makins" <spindrift at oceanfree.net>
>Reply-To: "[JavaScript List]" <javascript at LaTech.edu>
>To: "[JavaScript List]" <javascript at LaTech.edu>
>Subject: Re: [Javascript] Resize INNER window
>Date: Mon, 2 Jun 2003 06:42:38 +0100
>
>How about an iframe of that size ? Or simply an object with style ?
>
>Tim in Ireland.
>
>----- Original Message -----
>From: "Thierry Lavallée" <thierry at 8p-design.com>
>To: <javascript at LaTech.edu>
>Sent: 01 June 2003 21:47
>Subject: [Javascript] Resize INNER window
>
>
> > Hi,
> > I would like the INNER part of the window (the body) to resize to fixed
> > values (ex: 400,600).
> >
> > Is there a JS that would help me achieve this? The only ones I found
>resize
> > the total window while what I care about is that the content shows
> > completely to the values I set for inner. without scroll bars and all 
>body
> > showing.
> >
> > Thanks!
> > --
> > Thierry
> >
> > _______________________________________________
> > Javascript mailing list
> > Javascript at LaTech.edu
> > https://lists.LaTech.edu/mailman/listinfo/javascript
> >
>
>_______________________________________________
>Javascript mailing list
>Javascript at LaTech.edu
>https://lists.LaTech.edu/mailman/listinfo/javascript

_________________________________________________________________
Use MSN Messenger to send music and pics to your friends 
http://www.msn.co.uk/messenger



More information about the Javascript mailing list