我想用frame和frameset把屏幕分成左右两个部分,右半部分有分成上下两个部分,上部分有个单选按扭,当点击它时,下面部分就会转到c.html中,但我的javascript有错误,请大家帮忙看看!
index.html的内容:
<frameset id="main" rows="*" cols="200,*">
<frame src="left.html" name="left">
   <frame src="right.html" name="right">
</frameset>left.html的内容:
   leftright.html的内容:
<frameset rows="80%,*" frameborder="1"> 
 <frame name="top" src="a.html"> 
 <frame name="bottom" src="b.html"> 
</frameset> a.html的内容:
<script language="javascript">
 function forword(){
  top.bottom.location='c.html ';  //错误在这里,IE报错:  'top.bottom'为空或不是对象
 }
</script>
<input type="radio" name="id" value="1" onclick="javascript:forword();"/>b.html的内容:
b