一个在iframe中页面跳转的问题,急!楼主nijiawei0305(子游)2005-07-04 13:58:47 在 .NET技术 / ASP.NET 提问
我现在有一个这样的问题,有一个home.aspx的页面,里面有两个iframe名字分别为A和B,我现在想在A的iframe页面里写一个跳转语句,可以让整个home页面都跳转而不是只是在A里面跳转,用this.Response.Redirect只是在A里面跳转。请各位帮帮忙,谢谢了。
问题点数:20、回复次数:10
Top
1 楼fangxinggood(JustACoder)回复于 2005-07-04 14:12:55 得分 0 add <base targe="_top" /> to the head section of iframe.htm
Top
2 楼xu770(我爱鱼儿)回复于 2005-07-04 14:13:49 得分 10Response.Write("<script language=javascript>window.parent.location.href='url'</script>")
Top
3 楼leiyingw(小雷)回复于 2005-07-04 14:14:47 得分 0 Response.Write("<script language=javascript>window.open('你的页面,'_parent')</script>");
Top