312
Chapter 15: Page Content
Example
If the Behaviors panel is set up as shown in the following figure, calling the
dreamweaver.behaviorInspector.setSelection(2)
function selects the Change Property
action that is associated with the
onMouseDown
event:
Clipboard functions
Clipboard functions are related to cutting, copying, and pasting. On the Macintosh, some
Clipboard functions can also apply to text fields in dialog boxes and floating panels. Functions
that can operate in text fields are implemented as methods of the
dreamweaver
object and as
methods of the DOM object. The
dreamweaver
version of the function operates on the selection
in the active window: the current Document window, the Code inspector, or the Site panel. On
the Macintosh, the function can also operate on the selection in a text box if it is the current field.
The DOM version of the function always operates on the selection in the specified document.
dom.clipCopy()
Availability
Dreamweaver 3.
Description
Copies the selection, including any HTML markup that defines the selection, to the Clipboard.
Arguments
None.
Returns
Nothing.
000_DW_API_Print.book Page 312 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...