框架页参数传递

pflry2000 2011-03-18 09:20:12
要实现中英文转换
中文页面(index.asp)结构如下:
<form id="sear" name="sear" method="post" action="chs/search/panduan.asp" target="con_frame" >
<table id="Table_01" width="780" height="610" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<tr>
<td colspan="2" valign="top" width="780" height="351"><iframe id="con" scrolling="no" src="chs/search/fu_fangfa.asp?fangfa=sy&types=fangfa&dufa=sai" name="con_frame" frameborder="0" width="780" height="351"></iframe></td>
</tr>

</table>
</form>
英文页面(indexen.asp)结构跟中文页面结构相同
<form id="sear" name="sear" method="post" action="chs/search/panduan.asp" target="con_frame" >
<table id="Table_01" width="780" height="610" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>

<tr>
<td colspan="2" valign="top" width="780" height="351"><iframe id="con" scrolling="no" src="en/search/fu_fangfa.asp?fangfa=sy&types=fangfa&dufa=sai" name="con_frame" frameborder="0" width="780" height="351"></iframe></td>
</tr>

</table>
</form>
现在问题是页面上部有个中文和英文标签 我点击英文标签跳转到indexen.asp的同时想把中文页面中<iframe>使用的几个参数值传给英文页面中<iframe>,并且 英文页面的<iframe>能够接收到, 谢谢大家
...全文
105 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
pflry2000 2011-03-18
  • 打赏
  • 举报
回复
中文页面中<iframe>使用的几个参数值是根据什么来的?

页面上边有导航栏 点击导航栏传参数给<iframe>, <iframe>根据这个参数切换显示
hongmei85 2011-03-18
  • 打赏
  • 举报
回复
中文页面中<iframe>使用的几个参数值是根据什么来的?

想个办法传过去呀,例如英文链接改为<a href="indexen.asp?<%= request.querystring %>">英文</a>

indexen.asp接收后,把参数加到iframe上

28,390

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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