demo.htm
<frameset cols="92,*" id="baobao">
<frame src="left.htm" name="leftFrame" scrolling="NO" >
<frame src="main.htm" name="rightFrame">
</frameset>main.htm<a href="#" onclick="window.open('a.htm')">a</a>
<script>
function bao()
{
alert("baobao")
}
</script>a.htm<input type="button" onclick="window.opener.top.frames['rightFrame'].bao()" value="Test">
<frameset cols="92,*" id="baobao">
<frame src="left.htm" name="leftFrame" scrolling="NO" >
<frame src="main.htm" name="rightFrame">
</frameset>main.htm<a href="#" onclick="window.open('a.htm')">a</a>
<script>
function bao()
{
alert("baobao")
}
</script>a.htm<input type="button" onclick="window.opener.top.frames['rightFrame'].bao()" value="Test">
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货