页面跳转问题
<html>
<head>
<meta http-equiv=Content-Type content=text/html;charset=gb2312>
<title> ****** </title>
<style type= "text/css ">
.navPoint {COLOR: white; CURSOR: hand; FONT-FAMILY: Webdings; FONT-SIZE: 9pt}
.a2{BACKGROUND-COLOR: A4B6D7;}
</style>
</head>
<%
select case Request( "menu ")
case " "
main
case "top "
top
end select
%>
<% sub top %>
<BODY >
<CENTER>
<TABLE style= "BORDER-COLLAPSE: collapse " cellSpacing=0 cellPadding=0 width= "100% " border=0>
<TR>
<!--#include file= "Head.asp "-->
</TR>
</TABLE>
</CENTER>
</body>
<% end sub %>
<% sub main %>
<body style= "MARGIN: 0px " scroll=no onResize=javascript:parent.carnoc.location.reload()>
<script>
if(self!=top){top.location=self.location;}
function switchSysBar(){
if (switchPoint.innerText==3){
switchPoint.innerText=4
document.all( "frmTitle ").style.display= "none "
}else{
switchPoint.innerText=3
document.all( "frmTitle ").style.display= " "
}}
</script>
<table border= "0 " cellPadding= "0 " cellSpacing= "0 " height= "100% " width= "100% ">
<tr>
<td align= "middle " noWrap vAlign= "center " id= "frmTitle ">
<iframe frameBorder= "0 " id= "carnoc " name= "carnoc " scrolling= "yes " src= "lift.asp " style= "HEIGHT: 100%; VISIBILITY: inherit; WIDTH: 200px; Z-INDEX: 2 ">
</iframe>
</td>
<td bgcolor= "#CCCCCC " >
<table border= "0 " cellPadding= "0 " cellSpacing= "0 " height= "100% ">
<tr>
<td style= "HEIGHT: 100% " onClick= "switchSysBar() ">
<font style= "FONT-SIZE: 9pt; CURSOR: default; COLOR: #ffffff ">
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<span class= "navPoint " id= "switchPoint " title= "关闭/打开左栏 "> 3 </span> <br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
屏幕切换 </font> </td>
</tr>
</table>
</td>
<td style= "WIDTH: 100% ">
<iframe frameborder= "0 " id= "main " name= "top " scrolling= "no " scrolling= "yes " src= "?menu=top " style= "HEIGHT: 160; VISIBILITY: inherit; WIDTH: 100%; Z-INDEX: 1 ">
</iframe>
<iframe frameborder= "0 " id= "main " name= "main " scrolling= "yes " src= "main.asp " style= "HEIGHT: 96%; VISIBILITY: inherit; WIDTH: 100%; Z-INDEX: 1 "> </iframe> </td>
</tr>
</table>
<script>
if(window.screen.width < '1024 '){switchSysBar()}
</script>
</body>
<%
end sub
Function IsObjInstalled(strClassString)
On Error Resume Next
IsObjInstalled = False
Err = 0
Dim xTestObj
Set xTestObj = Server.CreateObject(strClassString)
If 0 = Err Then IsObjInstalled = True
Set xTestObj = Nothing
Err = 0
End Function
%>
</html>
那位高手可以帮我看一下哪里出了问题,页面跳转不过去卡在那里了,而且侧面的菜单只在那半边跳转
[解决办法]
iframe的src的框架你确保名称跟这个跳转的名称一样吗?