HELP! * GREY=local LOCAL HTML version of Foils prepared 15 January 1997

Foil 46 The Confused Window Labelling Scheme

From JavaScript Tutorial for CPS616 Technologies of the Information Age 1997 Basic Information Track of CPS -- Spring Semester 97. by Geoffrey C. Fox * See also color IMAGE

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 Wed Feb 19 1997