以文本方式查看主题

-  中文XML论坛 - 专业的XML技术讨论区  (http://bbs.xml.org.cn/index.asp)
--  『 Dot NET,C#,ASP,VB 』  (http://bbs.xml.org.cn/list.asp?boardid=43)
----  请教关于frame和redirect的菜问题  (http://bbs.xml.org.cn/dispbbs.asp?boardid=43&rootid=&id=19052)


--  作者:zhmuyang
--  发布时间:5/31/2005 8:47:00 AM

--  请教关于frame和redirect的菜问题
页面fmmain.aspx中包含左右2个框架(frame), 分别指向fmleft.aspx和fmright.aspx
      其中fmleft是功能区, fmright是用来做跳转的.
fmleft中单击按钮(url=fmright.aspx?fmfunc1.aspx)
fmright中做跳转redirect(fmfunc1.aspx)

      结果 fmfunc1能显示出来   可是fmleft也不见了.


      我想fmleft和fmfunc1能同时显示     谢谢!


--  作者:supnate
--  发布时间:5/31/2005 11:03:00 PM

--  
不是很明白你的问题。
如果左边单击了按钮是要提交到服务器的话,那么应该在提交之前执行一个动作,使fmright跳转。或者是在返回的页面中用脚本控制fmright的跳转。例如:
<input type="button" onclick="document.parent.fmright.location=fmfunc1.aspx;_doPostBack();">
W 3 C h i n a ( since 2003 ) 旗 下 站 点
苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
31.250ms