Carsten: Verweis aus frameset, das in einem frameset liegt, soll frame im hö

Beitrag lesen

Hallo Steffen,

Ich habe zwei framesets definiert. [...]

Ähm es sieht also z.b. so aus(?):

+Set1-----+--------------+
   A1                  A2
            +Set2--------+
            B1          
                        
                        
            +------------+
            B2          
                        
                        
            +------------+
   +---------+--------------+

»»  Jetzt möchte ich ein anderes frame aus dem oberen frameset mit JS ändern

gibt folgenden Objektbaum:

top = Set1
  
  +----A1
  
  +----A2
           +-B1
       +----+  (Set2)
            +-B2

wenn du jetzt A1 tauschen willst:
  top.A1.location.href=....

B2 tauschen
  top.A2.B2.location.href=....

Mit parent gehts natürlich auch:

Das Script steht in B2 und soll A1 tauschen:
  parent.parent.A1.location.href=....

aus B2 den Inhalt von B1 tauschen
  parent.B1.location.href=...

und zuletzt noch aus A1 Inhalt von B2
  parent.A2.B2.location.href=...

Hoffe ausreichend verwirrt zu haben,
Carsten