框架有时显示出错?
<a href= "index_main.asp " target= "main "> 【在线测试】 </a>
为什么点击这个不会在框架里显示,而是在index_main.asp地址栏
有时就可以在框架里显示,会的时候是index.asp
frameset rows= "80,* " cols= "* " framespacing= "2 " frameborder= "no " border= "0 ">
<frame name= "top " src= "index_top.asp ">
<frameset cols= "190,* " rows= "* " framespacing= "0 " frameborder= "no " border= "0 ">
<frame name= "left " src= "index_left.asp ">
<%
'根据是否续考参数决定主要窗口中打开哪个页面
if request.querystring( "continue ") <> " " then
response.write " <frame name= 'main ' src= 'testing.asp?prjid= " & Trim(request( "prjid ")) & " '> "
else
response.write " <frame name= 'main ' src= 'index_main.asp '> "
end if
%>
<frame src= "UntitledFrame-12 "> </frameset>
</frameset> <noframes> </noframes>
------解决方案-------------------- <a href= "index_main.asp " target= "main "> 【在线测试】 </a>
把target 后面的引号都去掉
<a href= "index_main.asp " target=main> 【在线测试】 </a>
应该就可以了