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

Q616 How can I resize a child when a new image is loaded into it?

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

Q616 How can I resize a child when a new image is loaded into it?

Once a window is open it can only be resized in Netscape Navigator 4+ and Internet Explorer 4+:

function openWin(imagename,width,height) {
    imagewin=window.open(imagename,'imagewin','width=' + width + ',height=' +height);
    if (window.screen && document.layers) {
        window.outerWidth = width;
        window.outerHeight = height;
    }
}

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.