Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q877 Is it possible to make a pop-up window automatically resize to fit all the text and images contained in a page?

irt.org | Knowledge Base | JavaScript | Window | Q877 [ previous next ]

Q877 Is it possible to make a pop-up window automatically resize to fit all the text and images contained in a page?

Unless you know how much size the images and text take up then before hand - then no.

The following will only work in Netscape Navigator 4 and Internet Explorer 4:

<script language="JavaScript"><!--
if (document.all || document.layers) {
    window.resizeTo(640,480);
}
//--></script>

Feedback on 'Q877 Is it possible to make a pop-up window automatically resize to fit all the text and images contained in a page?'


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.