Griever: In anderem Frame 10 Pixel scrollen Wie?

Beitrag lesen

Ja.

Das ist klar. Das ist dann was anderes. Du musst dir das vorstellen wie in einer Baumstruktur:

  
Aufbau               |    Ansprechen  
--------------------------------------------------------------  
Hauptseite           |    window.document ...  
   Frame1            |    window.frames[0].document  
       Unterframe1   |    window.frames[0].frames[0].document  
       Unterframe2   |    window.frames[0].frames[1].document  
   Frame1            |    window.frames[1].document  
       Unterframe1   |    window.frames[1].frames[0].document  
       Unterframe2   |    window.frames[1].frames[1].document  

Wenn du also jetzt 2 Frames in einem Dokument hast, und du bist dir unsicher, welches 0 und welches 1 usw. ist, schau einfach rein und zähle die Reihenfolge.

  
  <frameset rows="*,50%" frameborder="NO" border="0" framespacing="0">  
    <frame name="top" src="top.html" scrolling="NO">      <!-- Ist Frame Nr. 0 -->  
    <frame name="main" src="main.html" scrolling="NO">    <!-- Ist Frame Nr. 1 -->  
    <frame name="bottom" src="bottom.html" scrolling="NO"><!-- Ist Frame Nr. 2 -->  
  <!-- usw. -->  
  </frameset>