In opera7 dynamically changing rows in frameset does not seem to work.
Use javascript to change frameset.rows and nothing happens on screen (display frameset.rows in an alert and it has been changed).
This works correctly in IE6 and Mozilla 1.3.1.
Do I need to do something to redisplay the frameset, or is there a bug in opera? Example code:
frameset.html
<html>
<head>
<title>frameset</title>
</head>
<frameset rows=50%,50%" id=main_frame >
<frame src="frame1.html" >
<frame src="frame2.html" >
</frameset>
</html>
frame1.html
<HTML>
<HEAD>
<TITLE> frame 1 </TITLE>
<script language=javascript>
function enlarge()
{
var frameset = parent.document.getElementById("main_frame");
frameset.rows = "*,10%";
}
</script>
</HEAD>
<BODY>
<form>
<input type=button value="enlarge1" onclick="enlarge()">
</form>
</BODY>
</HTML>
frame2.html
<HTML>
<HEAD>
<TITLE> frame 2 </TITLE>
<script language=javascript>
function enlarge()
{
var frameset = parent.document.getElementById("main_frame");
frameset.rows = "10%,*";
}
</script>
</HEAD>
<BODY>
<form>
<input type=button value="enlarge2" onclick="enlarge()">
</form>
</BODY>
</HTML>