|
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?'
|
|
Copyright © 1996-2009 irt.org, All Rights Reserved.