hi there,

i am looking for a way to change the size of a frame in a frameset.
it works fine on IE, but not in NS. i couldnt find anything in the
existing threads. maybe someone has a clue?

this is the script i used in the frameset:
<html>
<head>
<script language="JavaScript1.2">

defaultconf=''
function expandf(){
if (document.all){
if (document.body.rows!="100,*")
document.body.rows="100,*"
else
document.body.rows=defaultconf
}
}

</script>

<frameset rows="375,*">
<frame src="collapse1.htm" scrolling=no>
<frame src="collapse1.htm" name="mainwin">
</frameset>
<body >
</body>
</html>

an this in the frame that causes the change in size:

<html>

<head>
<title>Test page</title>
</head>
<script language="JavaScript1.2">
if (document.all)
window.parent.defaultconf=window.parent.document.body.rows
function expando(){
window.parent.expandf()
}
document.onclick=expando
</script>


<body topmargin="1" leftmargin="1" marginwidth="1" marginheight="1">

<a href=" javascript:;" onFocus="if(this.blur)this.blur()">hier</a>

</body>
</html>

i heard about using an id für the frameset, but i couldnt make it work...

help...