我想实现以下功能:
index.html把页面分成上下两部分:
index.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(){
//请问大家这里应该怎样写才能让它超连接到页面c.html ?
}
</script>
<input type="radio" name="id" value="1" onclick="javascript();"/>
要求点击radio按扭时页面的下半部分连接到c.html页面即c.html的内容代替b.html的内容.
请问大家function forword()的代码应怎样写?
index.html把页面分成上下两部分:
index.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(){
//请问大家这里应该怎样写才能让它超连接到页面c.html ?
}
</script>
<input type="radio" name="id" value="1" onclick="javascript();"/>
要求点击radio按扭时页面的下半部分连接到c.html页面即c.html的内容代替b.html的内容.
请问大家function forword()的代码应怎样写?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货