Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: Accessing frame in frame


Message #1 by Tomas Weber <weber@g...> on Tue, 10 Sep 2002 12:42:19 +0200
Hi
I need a small advice how to access a frame object.
I have main page - dividing web page to 4
frames("one","two","three","text"),
when I want to change source of frame with name "text"
I use Script:
parent.frames("text").location.href="xy.asp";

my problem is how to access frame in frame
For example:
my "text" frame loads xy.asp that divides "text" into other 3 frame
("up","down","middle")
how can I access  my "middle" frame of "text" frame
the script:
parent.frames("middle").location.href="xyz.asp"; doesn't work.
I think the solution must be with
document.all.??????  but I am not sure...


-- 

 Tomas  
 mailto:weber@g...


  Return to Index