关于窗体跳转

ALbert_Yu 2006-05-26 09:59:21
我的窗体结构是
<frameset rows="70,*" frameborder="no" border="0" framespacing="0">
<frame src="top.asp" name=top noResize
scrolling=no target="top" />
<frame src="main0.htm" name=middle target="middle" />
</frameset>
当我打开top窗体中的链接add.asp,当add.asp中的onclick事件发生时,我怎样才能使middle跳转到另外一个页面
...全文
113 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
邪V风 2006-05-27
  • 打赏
  • 举报
回复
<a herf="add.asp" traget="middle">add.asp</a>
这样难道不行么?
jinfeng003 2006-05-27
  • 打赏
  • 举报
回复
OnClick()="javascript:middle.document.location.href='abcd.asp';"
让middle的页面重新定位到需要的页面
zhuangyan2004 2006-05-27
  • 打赏
  • 举报
回复
xx.onclick = function(){
parent.frames.middle.location.href='page.htm';
}
这个可以
webphoenix 2006-05-27
  • 打赏
  • 举报
回复
<frameset rows="70,*" frameborder="no" border="0" framespacing="0">
<frame src="top.asp" name=top noResize
scrolling=no target="top" />
<frame src="main0.htm" name="middle" id="middle" target="middle" />
</frameset>

--------------------------------------------------------------------
xx.onclick = function(){
parent.frames.middle.location.href='page.htm';
}

或者
xx.onclick = function(){
parent.frames.middle.src='page.htm';
}

试试吧
dh20156 2006-05-26
  • 打赏
  • 举报
回复
top.middle.location = "???.???"

28,391

社区成员

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

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