There are a couple of concepts on display here, to do with framesets.
Firstly, the parent refers to the 'frameset' page as opposed to the pages contained in the individual frames. So to communicate with other frames within a set, you must go back up thru the parent first.
The second is that within a framset, or parent frame, there is an array created which holds the child frames, and we can access them using array notation as usual, rather than by name.The index corresponds to the order in which it is creates in the framset HTML.
The code you have above is describing a nested framset, like one page which contains say two frames, but then each one of the documents in those frames also has child frames -
Supposed each one of these child frames contains two frames i.e. frames[0], and frames[1] - then the above code would be actually talking to itself! "Alright whatever man, I'll hook up the hair, but I aint touchin the ring...Cause I'm still a pla--yer"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.