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

Q791 How do I make an object fit into a window that is already specified in size?

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

Q791 How do I make an object fit into a window that is already specified in size?

In Netscape Navigator 4 then yes - although It depends what the object is. Take a Java Applet for example:

<SCRIPT LANGUAGE="JavaScript"><!--

if (document.layers)
    document.write('<APPLET CODE="whatever" WIDTH="' + window.innerWidth + '" HEIGHT="' + window.innerHeight + '"></APPLET>
else
    document.write('<APPLET CODE="whatever" WIDTH="400" HEIGHT="400"></APPLET>

//--></SCRIPT>

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.