日期:2014-05-16  浏览次数:20413 次

请问在嵌套FRAMESET的不同FRAME里面如何在A中控制B?
有这么几个文件:
index.html
<frameset   cols= "210,* "   frameborder= "no "   border= "0px "   framespacing= "0px "   name= 'center '>
<frame   src= "left.php "   name= "left ">
<frame   src= "right_content.php "   name= "right_content ">
</frameset>
=======================================================
然后在right_content.php又包含了个框架
<frameset   rows= "110,* "   frameborder= "no "   border= "1px "   framespacing= "0px "   name= 'center '>
<frame   src= "top.php "   name= "top ">
<frame   src= "right.php "   name= "right ">
</frameset>
======================================================
我想实现在left.php中onlick实现right.php的内容为空(不是用链接实现)
不太会JS...各位帮帮忙吧
 


------解决方案--------------------
parent.right.src= " "
------解决方案--------------------
parent.frames[1].document.all.right.src= " "