1.html 
<frameset rows="150,65" COLS="*"  scrolling="no" noresize> 
   <FRAME SRC="a.html" NAME="aa" scrolling="no"  frameborder=0>  
     <FRAME SRC="b.html" NAME="bb" scrolling="no"   frameborder=0> 
  </frameset> 
  
 b.html 
  <frameset rows="150,65" COLS="*"  scrolling="no" noresize> 
   <FRAME SRC="c.html" NAME="cc" scrolling="no"  frameborder=0>  
     <FRAME SRC="d.html" NAME="dd" scrolling="no"   frameborder=0> 
  </frameset> 
 d.html是变化的如:e.html、f.html、j.html 
 我知道d.html或者e.html 并访问d.html或者e.html页面,我在访问http://localhost/nn/d.html 或者e.html时怎么获得1.html和 b.html的框架,并显示内容有d.html或者e.html。 
如果还有一层frameset是不是不能解决了呢?

解决方案 »

  1.   

    是的 你1.html b.html肯定要有关系啊 把这两个放到一个页面里去 通过这个建立
    他们的关系 你在d.html 访问b.html 只要访问的前面加个parent 就行了
    比如parent.dd 就是<FRAME SRC="d.html" NAME="dd" scrolling="no"   frameborder=0>  
    这个对象
    依次你也可以访问b.html的父页面加两个parent
      

  2.   

    依次你也可以访问b.html的父页面加两个parent,怎么做?两个parent一起做吗?
      

  3.   

    比如你有一个 a.html 包含了1.html b.html 
    然后b.html 包含了c.html d.html
    你现在的位置是d.html 你想访问a.html
    就在你在你访问的对象前面加 parent.parent.
      

  4.   

    这样也不好啊!你看看 http://www.51windows.net里的页面,它实现一层的,如果页面http://www.51windows.net/data/files/file_889.asp
    看看谁解决多层的呢?