javascript问题!

bluecyclone 2004-08-10 01:03:34
怎么用javascript实现这样的效果
<a href="#" target="_top">
...全文
125 4 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
warlord 2004-08-10
  • 打赏
  • 举报
回复
ok
colinliu 2004-08-10
  • 打赏
  • 举报
回复

top.window.location.href='';最顶层
parent.window.location.href='';
window.openr.location.href='';

这几个好好学习理解一下。。。。
xzq686 2004-08-10
  • 打赏
  • 举报
回复
你的target="_top">是几层呀??上一层窗口吗?是用什么打开的?框架还是window.open

top.window.location.href='';最顶层
parent.window.location.href='';
window.openr.location.href='';
fashchina 2004-08-10
  • 打赏
  • 举报
回复
<script>
top.window.location.href='';
</script>

28,409

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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