<frame name="contents" target="main" src=<%=Url%> scrolling="no" frameborder=YES  border=10 bordercolor=DimGray>  
<html>
<head>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<LINK href="style.css" type=text/css rel=STYLESHEET>
<title>查询</title>
</head><frameset rows="111,*">
  <frame name="banner" scrolling="no" noresize target="contents" src="top.asp" frameborder="no" border="0" framespacing=0>
  <frameset id=downFrame cols="190,*" >
    <frame name="contents" target="main" src=<%=Url%> scrolling="no" frameborder=YES  border=10 bordercolor=DimGray>    
    <frame name="main" src="main.htm">
  </frameset>
  <noframes>
  <body>  <p>此网页使用了框架,但您的浏览器不支持框架。</p>  </body>
  </noframes>
</frameset>
</html>

解决方案 »

  1.   

    <% Select case 条件
       case 条件1 %>
       <script language="javascript">
         parent.IFRAMENAME.location="***.***";
       </script>
    <% case 条件2 %>
       <script language="javascript">
         parent.IFRAMENAME.location="***.***";
       </script>
    <% case ...
       ........
       end select %>
      

  2.   

    我不是这个意识
    funtion aa()
    {
       if 条件1 then open(1....)
        else open(2...);}
    如何写
      

  3.   

    if 条件1 then response.write"<script>parent.IFRAMENAME.location="***.***";"
        else response.write"<script>parent.IFRAMENAME.location="***.***";"
    ...
      

  4.   

    我想点一个按钮然后更改其他frame里的页面大哥帮忙啊!
      

  5.   

    <input type=button value=go onclick="parent.frameName.location.href='2.asp'">
      

  6.   

    因为我的参数是用 request.querstring("")的来的,我想判断他然后点按牛连接不同的也面
      

  7.   

    条件就自己加呀
    <script>
    function check(){
    switch(a.value){
    case "1":parent.frameName.location.href='1.asp'
    case "2":parent.frameName.location.href='2.asp'
    case "3":parent.frameName.location.href='3.asp'
    default:parent.frameName.location.href='4.asp'
    }
    }
    </script>
    <input id=a><input type=button value=go onclick="check()">
      

  8.   

    用js我可以解决,但是无法用Js同时得到request.querstring("")