用A的target属性来指定目录框架。<frameset rows="*,35" framespacing="0" frameborder="0" id=pnl>
<frame src="top.asp" name="menu" scrolling=auto noresize>
<frame src="show.asp" name="show"  scrolling=no noresize>
</frameset>比如说像这样的一个框架,你若想在top.asp[menu框架]里点击的链接在show这个框架里显示的话,你可以在top.asp里指定全局的target属性。。<base target="show">或是指定单个的A里的target属性。<a href="aq.asp" target="show">test</a>

解决方案 »

  1.   

    两位大哥,帮忙看看,我的是JS代码...是用JS打开的,不是用.href.http://blog.csdn.net/qingang1983/archive/2005/07/14/424443.aspx比较长,所以不贴在贴子上了,影响美观。
      

  2.   

    function mexec(x,i){ 
    var cmd; 
    if(mmenus[x].items[i].target=="blank"){ 
    cmd = "window.open('"+mmenus[x].items[i].command+"')"; 
    }else{ 
    //cmd = mmenus[x].items[i].target+".location=\""+mmenus[x].items[i].command+"\""; 
    ///////////////////////////////////////// 
    cmd="top.document.frames."+mmenus[x].items[i].target+".navigate(\""+mmenus[x].items[i].command+"\")"; 

    eval(cmd); 
    } 给你回复到你的BLOG上了,全部代码都在那里,那代码只是针对于你的那个框架的结构来的,若要修改而需要帮助的话,再来找我好了。
      

  3.   

    感谢..
    http://community.csdn.net/Expert/topic/4130/4130398.xml?temp=.2653162
    http://community.csdn.net/Expert/topic/4130/4130286.xml?temp=.3184473
    这两个贴也进来领分吧,也是关于这两个菜单的...没人能解决