Frame And Frameset Functions - MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Reference

Dreamweaver api reference
Table of Contents

Advertisement

{
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()
"navframe"
"main_content"
dom.isDocumentInFrame()
Availability
Dreamweaver 4.
Description
Identifies whether the current document is being viewed inside a frameset.
function might return an array that contains the following strings:
Frame and frameset functions
441

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER 8-DREAMWEAVER API and is the answer not in the manual?

This manual is also suitable for:

Dreamweaver 8

Table of Contents