HELP! * YELLOW=global GREY=local Global HTML version of Foils prepared 21 February 97

Foil 43 The Confused Window Labelling Scheme

From Feb 17/19 Delivered Lecture for Course CPS616 -- aJavaScript Language Objects and Frames CPS616 spring 1997 -- Feb 17 and 19 1997. by Geoffrey Fox * See also color IMAGE
Secs 148.3
Typical property top.frames[name or number].document.
forms[ index and not name ].elementname.value illustrates hierarchy going from top to bottom as one goes from left to right
One can also use framename instead of frames["framename"] -- latter is very much more convenient as can access more easily as variable frame in JavaScript code
  • If eval works, one can use this to generate framename
navigator window and frame are objects defining hierarchy of cascading containers
document form history link location are objects defining parts of a window or frame.
anchors links forms frames applets images are array properties
top parent self are properties labelling particular frames and windows
Note these are all defined within a single browser window
opener is a property of a window defining the window of document that called window.open to instantiate this window


Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Fri Feb 21 1997