HELP! * GREY=local LOCAL HTML version of Foils prepared 26 February 1996

Foil 34 The Confused Window Labelling Scheme

From CPS616 Lectures on JavaScript CPS616 Basic Information Track for Computational Science -- Winter-Spring Semester 96. 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
Note manual written to accomodate both client(navigator) and server(LiveWire) objects but this presentation only covers client side (Server side introduced April 96)
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 are array properties
top parent self are properties labelling particular frames and windows



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 Tue Feb 18 1997