日期:2014-05-17  浏览次数:20839 次

asp,框架中怎样自动跳转页面
我有一个a.asp的文件,内容如下:
<frameset   rows= "*,100 "   frameborder= "NO "   border= "0 "   framespacing= "0 ">
        <frame   src= "ac.asp "   name= "showmsg ">
        <frame   src= "ad.asp "   name= "bottomFrame "   scrolling= "NO "   noresize>
</frameset>
<noframes> <body>
</body> </noframes>
在ac.asp中有一个判断,当条件成立时,要自动转到11.asp面页去。

------解决方案--------------------
<%
if ... then
response.write " <script language=javscript> parent.location.href= '11.asp '; </script> "
end if
%>