Basic HTML version of Foils prepared 23 June 1997

Foil 54 General Syntax of <FRAME> tag

From JavaScript Tutorial for Certificate Course UC Web applications Certificate -- Summer 97. by Geoffrey C. Fox, Tom Scavo


1 <FRAME SRC="URL" NAME="name"
  • SCROLLING=YES|NO|AUTO NORESIZE
  • MARGINWIDTH="value" MARGINHEIGHT="value">
2 All of these are optional Ñ the URL is the document to be loaded into this frame, which is often blank since user or script will specify what to load using TARGET="name" in a link
3 The value of NAME attribute is used by TARGET and is essential if you want to load a frame from the outside. A document will load into the current frame if no target specified
4 scrolling=YES always gives frame scrollbars
5 scrolling=NO gives no scrollbars and truncates document if necessary
6 scrolling=AUTO allows Netscape to choose if scrollbars are needed
7 NORESIZE if present says that user can NOT resize this frame, which has impact on ability of related frames to be resized
8 MARGINWIDTH and MARGINHEIGHT are given in pixels to specify the margin to be used around the frame

in Table To:


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 Apr 1 1998