EasyManua.ls Logo

MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API - Frame and Frameset Functions

MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API
628 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Frame and frameset functions 441
{
currentDOM.setDivBackgroundColors("divs", shadeOfGray[i]);
}
Frame and frameset functions
Frame and frameset functions handle two tasks: getting the names of the frames in a frameset
and splitting a frame in two.
dom.getFrameNames()
Availability
Dreamweaver 3.
Description
Gets a list of all the named frames in the frameset.
Arguments
None.
Returns
An array of strings where each string is the name of a frame in the current frameset. Any
unnamed frames are skipped. If none of the frames in the frameset is named, an empty array
returns.
Example
For a document that contains four frames (two of which are named), a call to the
dom.getFrameNames() function might return an array that contains the following strings:
"navframe"
"main_content"
dom.isDocumentInFrame()
Availability
Dreamweaver 4.
Description
Identifies whether the current document is being viewed inside a frameset.
000_DW_API_Print.book Page 441 Wednesday, July 20, 2005 11:58 AM

Table of Contents

Related product manuals