左右二个桢,在左桢中点某按钮,右边的桢可以换网页,javascript怎么实现呢?必给分!

hurt75 2003-06-19 12:51:52
左右二个桢,在左桢中点某按钮,右边的桢可以换网页,javascript怎么实现呢?必给分!
也就晃左边的按钮一点,右边的网页就换了。
...全文
38 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
zhaoweiwei 2003-06-19
  • 打赏
  • 举报
回复
left.htm
<input type=button onclick="parent.frame[1].location='1.htm'">
zhaoweiwei 2003-06-19
  • 打赏
  • 举报
回复
sorry
忽略了
Zygodactyous 2003-06-19
  • 打赏
  • 举报
回复
左帧:<input type="button" onclick="右帧名称.location='*.*'">
如果有继承关系的:
左帧:<input type="button" onclick="parent.右帧名称.location='*.*'">
LeonLu2001 2003-06-19
  • 打赏
  • 举报
回复
我刚给你做了一个,这个是肯定可以的,拿去用吧。

<INPUT id="Submit1" onclick="parent.frames.item(1).location='FrameRight.htm'" type="submit" value="Submit" name="Submit1">
wssgwps 2003-06-19
  • 打赏
  • 举报
回复
对<input type=button onclick="parent.frames[1].location='1.htm'">
lsrzm 2003-06-19
  • 打赏
  • 举报
回复
to :zhaoweiwei(轩辕大侠) ( )少了个s
<input type=button onclick="window.parent.frames[1].location.href='1.htm'">



hurt75 2003-06-19
  • 打赏
  • 举报
回复
不行,请帮俺试试吧,这样是不行的。

87,987

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧