首页 新闻 会员 周边

左右,嵌套层次架构框架问题 帮帮忙

0
[已解决问题] 解决于 2008-01-19 23:08
现在是一个main.aspx &nbsp; <BR>我分别建了 &nbsp; left.aspx &nbsp; 和 &nbsp; right.aspx &nbsp; <BR>在left.aspx里面 &nbsp; 就是有 &nbsp; 我的日志, &lt;a &nbsp; href="right.aspx"&gt; 日志管理 &lt;/a&gt; <BR>right.aspx就是个日志添加,更新的界面 <BR><BR>然后在 &nbsp; main.aspx中, &lt;frame &nbsp; name="left",src="left.aspx" &nbsp; scrolling="no".....&gt; <BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;frame &nbsp; name="right",src="right.aspx" &nbsp; scrolling="no"..... &nbsp; &gt; <BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/frameset&gt; <BR><BR>现在界面是 &nbsp; &nbsp; 我只嵌套了 &nbsp; 单个 &nbsp; 链接 &nbsp; &nbsp; &nbsp; <BR><BR>&nbsp; &nbsp; &nbsp; 如果我在left.aspx的界面里(也就是main.aspx的左边栏) &nbsp; 加入 &nbsp; 相册管理, &nbsp; 留言板等等 &nbsp; &nbsp; 是不是 &nbsp; 还要建 &nbsp; photomanager.aspx &nbsp; 和 &nbsp; leftword.aspx <BR>然后在 <BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;frame &nbsp; name="left",src="left.aspx" &nbsp; scrolling="no".....&gt; <BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;frame &nbsp; name="right",src="right.aspx" &nbsp; scrolling="no"..... &nbsp; &gt; <BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;frame &nbsp; name="right",src="photomanager.aspx" &nbsp; scrolling="no"..... &nbsp; &gt; <BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;frame &nbsp; name="right",src="leftword.aspx" &nbsp; scrolling="no"..... &nbsp; &gt; <BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/frameset&gt; <BR><BR>就是实现一个 &nbsp; &nbsp; 界面分成左右两边, &nbsp; 我点击右边的 &nbsp; 日志管理,或者 &nbsp; 相册管理, &nbsp; 然后右边就显示相应的操作页面 <BR>整个页面是不跳动的 &nbsp; <BR><BR>不知道 &nbsp; 我是否说清楚了 &nbsp; <BR><BR>大家 &nbsp; 帮忙 &nbsp; 看看&nbsp;&nbsp; <BR>
cloudgamer的主页 cloudgamer | 菜鸟二级 | 园豆:280
提问于:2008-01-19 17:28
< >
分享
最佳答案
0
不需要这样的,只要在左侧写上你要显示到右侧的页面的链接就可以了 在链接,也就是<a>上加上target="right"属性就行了 main.aspx不用改,只改left.aspx成下面这个样子: <a href="right.aspx" target="right">日志管理</a> <a href="photomanager.aspx" target="right">相册管理</a> <a href="leftword.aspx" target="right">留言板</a> --------------------------------- 留言好像不是leftword吧? :)
丁学 | 专家六级 |园豆:18730 | 2008-01-19 21:48
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册