关于多窗口页面的一个问题(在线等,急!)

pengxj7945 2004-07-14 09:53:14
假设一个页面由三个框架组成,frame1, frame2,frame3.如何能让frame3中做一个链接,让它跳转到index.htm这个页面,且该页面占有整个窗口(而不是在frame3框架内).
多谢!
...全文
55 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
woyingjie 2004-07-14
  • 打赏
  • 举报
回复
<a href=# onclick=window.top.location='index.htm'>连接</a>
LxcJie 2004-07-14
  • 打赏
  • 举报
回复
try

top.location = "your url"
pengxj7945 2004-07-14
  • 打赏
  • 举报
回复
使用location方法如何定位到父窗口的index.htm呢?
pengxj7945 2004-07-14
  • 打赏
  • 举报
回复
试用top属性怎么做呢
woyingjie 2004-07-14
  • 打赏
  • 举报
回复
<a href=index.htm target=_parent>连接</a>

87,910

社区成员

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

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