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

Foil 52 General Syntax of <Frame> tag

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 * Important Information in IMAGE
Secs 46
<frame Src="URL" Name="framename" Noresize scrolling=YES|NO|AUTO Marginwidth="value" Marginheight="value" >
All of these are optional -- the URL defined by Src attribute is document to be loaded into this frame -- this is often blank as user or other JavaScript code will specify what to load using TARGET="framename" in a link (<a > or equivalent)
The value of Name attribute is used by target and is essential if you want to be able to load into this frame from the outside. A link inside this frame will load into this frame if no taget specified
Noresize if present says that user canNOT resize this frame -- this has impact on ability of related frames to be resized
Marginwidth and Marginheight are given in pixels to specify the margin to be used around the frame
scrolling=YES will always give frame scrollbars
scrolling=NO will give no scrollbars and truncate document if necessary
scrolling=AUTO allows Netscape to choose if scrollbars are appropriate


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