Frame and frameset functions
353
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.
Arguments
None.
Returns
A Boolean value:
true
if the document is in a frameset;
false
otherwise.
dom.saveAllFrames()
Availability
Dreamweaver 4.
Description
If a document is a frameset or is inside a frameset, this function saves all the frames and framesets
from the Document window. If the specified document is not in a frameset, this function saves
the document. This function opens the Save As dialog box for any documents that have not been
previously saved.
Arguments
None.
Returns
Nothing.
000_DW_API_Print.book Page 353 Wednesday, August 20, 2003 9:14 AM
Содержание DREAMWEAVER MX 2004-DREAMWEAVER API
Страница 1: ...Dreamweaver API Reference...
Страница 24: ...24 Contents...
Страница 32: ......
Страница 70: ...70 Chapter 5 Fireworks Integration...
Страница 76: ...76 Chapter 6 Flash Integration...
Страница 116: ...116 Chapter 9 The JavaBeans API...
Страница 140: ......
Страница 152: ...152 Chapter 11 Application...
Страница 218: ...218 Chapter 12 Workspace...
Страница 248: ...248 Chapter 13 Site...
Страница 292: ...292 Chapter 14 Document...
Страница 378: ...378 Chapter 17 Design...
Страница 430: ...430 Chapter 18 Code...
Страница 486: ...486 Index...