我的网页中试用了frameset框架,代码是:
<frameset id="sidebar_content" cols="15%, *" frameborder="1" border="6" framespacing="5"bordercolor="#A2C7F9">
                <frame name="NavigetionFrame" src="Left.aspx" scrolling="aoto" frameborder="0" />
                <frame name="ContentFrame" src="ShowCamera.aspx" scrolling="aoto" frameborder="0" />
              </frameset>
左边的页面上有一个DropDownList,当我选择DropDownList中的项时,右边的页面内容发生相应的改变,根据需要还可以打开其他的网页,我的代码是:
if (this.DropDownList1.SelectedValue == "左上窗口")
        {
            Response.Write("<script language='javascript'>window.open("xxxx.aspx","ContentFrame");</script>");
        }
为什么没有效果,可能是我的代码出了问题,请问想要实现我说的那种效果,应该怎么做呢?谢谢!