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

Q1353 Is it possible to alter seperately the window vertical or horizontal size?

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

Q1353 Is it possible to alter seperately the window vertical or horizontal size?

After the <body> tag try width:

<body>

<script language="javascript"><!--
if (document.layers)
    window.innerWidth = 415;
else if (document.all) {
    window.top.resizeBy(415-window.top.document.body.clientWidth,0);
}
//--></script>

and height:

<body>

<script language="javascript"><!--
if (document.layers)
    window.innerHeight = 415;
else if (document.all) {
    window.top.resizeBy(0,415-window.top.document.body.clientHeight);
}
//--></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.