Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

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

You are here: irt.org | FAQ | JavaScript | Window | Q877 [ previous next ]

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?'

©2018 Martin Webb