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

Q1562 How can I resize a frameset?

irt.org | Knowledge Base | JavaScript | Frame | Q1562 [ previous next ]

Q1562 How can I resize a frameset?

The following works in Internet Explorer, assuming that the other frame is named remote:

<html>
<head>
 
<script language="JavaScript1.2"><!--
var tabShow=0;
 
function hideremote() {
  if (tabShow == 1) {
    if (document.all) {
      parent.remote.document.body.cols="144,*";
      tabShow = 0;
      return;
    }
  }

  if (tabShow == 0) {
    if (document.all) {
      parent.remote.document.body.cols="0%,100%";
      tabShow = 1;
    }
  }
}
//--></script>
</head>
 
<body>
<a href="javascript:hideremote()">Toggle Remote</a>
</body>
</html>

Feedback on 'Q1562 How can I resize a frameset?'


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


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