日期:2014-05-19  浏览次数:20385 次

问个页面跳转的问题
index是这样的
<!DOCTYPE   HTML   PUBLIC   "-//W3C//DTD   HTML   4.01   Frameset//EN "   "http://www.w3.org/TR/html4/frameset.dtd ">
<HTML>
<HEAD>
<TITLE> index </TITLE>
<meta   http-equiv= "Content-Type "   content= "text/html;   charset=gb2312 ">
</HEAD>
<frameset   rows= "120,* "   cols= "* "   frameborder= "NO "   border= "0 "   framespacing= "0 ">
<frame   src= "top.aspx "   name= "topFrame "   scrolling= "no "   noresize>
<frameset   cols= "12%,88% "   frameborder= "no "   border= "0 "   framespacing= "0 ">
<frame   src= "treeview.asp "   name= "leftFrame "   scrolling= "no "   noresize>
<frame   id= "main "   name= "main "   src= "shop.aspx ">
</frameset>
</frameset>
</HTML>

我现在在main里面的一个页面执行
Response.Write( " <script> window.location.href= './login.aspx '; </script> ");
这个的话那login.aspx就出现在main里  
我要问的是怎么实现整个页面的跳转呢?

------解决方案--------------------
window.parent.location.href= "... "