用ASP动态设置框架中一个FRAME显示的ASP页

m_leaner 2003-04-10 04:41:23
同上
...全文
116 11 打赏 收藏 转发到动态 举报
写回复
用AI写文章
11 条回复
切换为时间正序
请发表友善的回复…
发表回复
m_leaner 2003-04-10
  • 打赏
  • 举报
回复
用js我可以解决,但是无法用Js同时得到request.querstring("")
fason 2003-04-10
  • 打赏
  • 举报
回复
条件就自己加呀
<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()">
m_leaner 2003-04-10
  • 打赏
  • 举报
回复
小弟很菜的,请执教,可以在加分
m_leaner 2003-04-10
  • 打赏
  • 举报
回复
因为我的参数是用 request.querstring("")的来的,我想判断他然后点按牛连接不同的也面
m_leaner 2003-04-10
  • 打赏
  • 举报
回复
条件呢?
有条件的打开不同页阿
fason 2003-04-10
  • 打赏
  • 举报
回复
<input type=button value=go onclick="parent.frameName.location.href='2.asp'">
m_leaner 2003-04-10
  • 打赏
  • 举报
回复
我想点一个按钮然后更改其他frame里的页面大哥帮忙啊!
fason 2003-04-10
  • 打赏
  • 举报
回复
if 条件1 then response.write"<script>parent.IFRAMENAME.location="***.***";"
else response.write"<script>parent.IFRAMENAME.location="***.***";"
...
m_leaner 2003-04-10
  • 打赏
  • 举报
回复
我不是这个意识
funtion aa()
{
if 条件1 then open(1....)
else open(2...);

}
如何写
dh20156 2003-04-10
  • 打赏
  • 举报
回复
<% Select case 条件
case 条件1 %>
<script language="javascript">
parent.IFRAMENAME.location="***.***";
</script>
<% case 条件2 %>
<script language="javascript">
parent.IFRAMENAME.location="***.***";
</script>
<% case ...
........
end select %>
awaysrain 2003-04-10
  • 打赏
  • 举报
回复
<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>

87,902

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧