-
Dreamweaver API Reference
1
-
New functions in Dreamweaver 8
9
-
dom.getSiteURLPrefixFromDoc() on page 256
10
-
dom.getShowBlockBackgrounds() on page 459
12
-
Conventions used in this guide
14
-
The File I/O API
17
-
The HTTP API
29
-
The Design Notes API
39
-
The Design Notes JavaScript API
41
-
The Design Notes C API
45
-
Dreamweaver 3, Fireworks 3.
54
-
The FWLaunch API
55
-
Dreamweaver 2, Fireworks 2.
58
-
if (response == null) {
60
-
Inserting Flash elements
62
-
The Flash Objects API
63
-
The Database API
69
-
Database connection functions
71
-
Database access functions
87
-
The Database Connectivity
101
-
The Database Connectivity API
102
-
The Connection API
103
-
The generated include file
107
-
The definition file for your connection type
109
-
The JavaBeans API
111
-
The Source Control
117
-
The Source Control Integration API
118
-
void *connectionData, const char *remotePath
141
-
See “bool SCS_BeforeGet()” on page 141.
143
-
External application functions
149
-
Opens the Se
154
-
Global application functions
155
-
Creates a system beep.
156
-
Toggles the visibility of the Tag
160
-
Undoes the previous step in the document.
162
-
Gets the text that is associated
163
-
Redoes the step that was most recently undone i
164
-
Stops recording without prompt
165
-
Replays the speci
169
-
Insert object functions
171
-
Dreamweaver MX 2004.
173
-
Moves the insertion point to the
174
-
This function moves the insertion point up
175
-
This function is equivalent to pressing the Delete
176
-
Moves the insertion point to the end of t
177
-
Moves the insertion point up one page (equiv
179
-
Moves the insertion point to the beginning of t
180
-
Moves the insertion point to the beginn
181
-
Results window functions
183
-
Creates a new Results window and
184
-
Working with the built-in Results panel group
192
-
Sends a pasted message to the
194
-
Sends a Select All command
196
-
This function determines whether auto-inde
200
-
This function gets the current state of
204
-
This function to
207
-
This function toggles the View > Head Conten
208
-
This function toggles the View > Ima
209
-
This function turns syntax colo
211
-
This function toggles
213
-
This function gets the current stat
214
-
This function turns th
218
-
This function gets the current state of t
220
-
See “site.canShowPageTitles()” on page 596.
222
-
An array of all toolbar IDs.
224
-
This function obtains the label of
225
-
This function tells Dreamw
227
-
This function determines which view is visible.
230
-
The following example cascades the open documents:
232
-
This function checks whe
233
-
This function determines which
235
-
Code collapse functions
241
-
Code view toolbar functions
249
-
Opens the Reports dialog box.
256
-
A string, which specifies the site URL prefix.
257
-
Loads the site information f
259
-
Opens the Select HTML File dialo
263
-
Opens the Change Link Sitewide dialog box.
264
-
Cloaks the current selection in the Site panel
267
-
See “site.canCompareFiles()” on page 589.
268
-
Puts a specified file (
269
-
localwidth="-2" remotewidth="-2" />
271
-
Opens the file that contains the selected link or
272
-
See “site.canGet()” on page 590.
273
-
Gets the login and check-out name that
275
-
Determines whether cloaking is enabled for t
276
-
Gets the name of the site, if any, that
279
-
Gets the site URL prefix that is extracted from
280
-
Inverts the selection in the site map.
281
-
Creates a new Dreamweaver file
283
-
See “site.canOpen()” on page 592.
285
-
Re-creates the cache for the current site.
286
-
Determines whether the remote site is va
287
-
Runs the Validat
288
-
Selects all files in the active view (either
289
-
Designates the file that is selected in
291
-
Selects files or folders in the active pane in the
294
-
Opens the Synchronize Files dialog box.
295
-
Temporarily moves the selected file to the
297
-
Opens the Convert Tables to Layers dial
300
-
Dreamweaver 2; deprecated in 3 in favor of dr
301
-
File manipulation functions
303
-
Opens the Choose Folder dialog box
306
-
Depending on the argument that y
308
-
Dreamweaver 3; deprecated in MX.
310
-
Opens a document in the current site and
314
-
Saves all open documents, opening the Save As
318
-
Global document functions
321
-
Dreamweaver MX 2004
322
-
The inStr argument is the string to decode.
326
-
section, key, default_value
330
-
Lets you write a string preferen
332
-
Gets the path of the specified docu
334
-
Gets the full path to a temp
335
-
Gets the selection, which is expresse
337
-
selArr = dom.nodeToOffsets(findTable());
342
-
Performs a Select All operation
343
-
String manipulation functions
344
-
Converts a string in native encoding t
346
-
This function prompts the user
353
-
Assets panel functions
357
-
Returns the curr
358
-
Dreamweaver 3; deprecat
368
-
Dreamweaver 1.2; deprecated in Dreamweaver 2 b
372
-
if (CANBEAPPLIED) {
373
-
Gets the event/ac
374
-
Moves a behavi
376
-
Moves a be
377
-
See “dom.canClipCopyText()” on page 552.
380
-
Removes the selection from the act
383
-
Library and template functions
385
-
Detaches the current document from its
386
-
Removes an editable region from the
390
-
Snippets panel functions
391
-
The following sample shows a snippet file:
392
-
Refreshes the view
398
-
Extension Data Manager functions
399
-
Dreamweaver UltraDev 4.
400
-
Live data functions
403
-
Dreamweaver UltraDev 1.
406
-
Displays the Live Data Settings dialog box.
408
-
Server behavior functions
409
-
Server model functions
411
-
The styleName argument is the name of a CSS style.
421
-
Removes the CLASS or ID attribute from the speci
424
-
This function turns the Layout Block Back
426
-
This function turns the Layout Block
427
-
Displays a dial
429
-
Duplicates the s
430
-
{ pane }
431
-
Opens the Edit Style She
432
-
Dreamweaver 3; deprecated in Dreamw
434
-
Renames the class n
436
-
This function gets the co
439
-
Frame and frameset functions
441
-
Layer and image map functions
443
-
See “dom.canArrange()” on page 552.
444
-
Layout environment functions
447
-
Plays all plug-in content in the document.
448
-
See “dom.hasTracingImage()” on page 563.
450
-
Moves the visible floating pane
452
-
Layout view functions
453
-
Determines whether the current document
456
-
Removes the spacer image from a specifie
458
-
See “dom.getShowBlockBackgrounds()” on page 459.
462
-
Places the current document in Layout view if
464
-
See “dreamweaver.canFitSelection()” on page 568.
466
-
See “dreamweaver.canZoom()” on page 574.
467
-
Guide functions and properties
468
-
This function deletes the horizontal guid
470
-
Table editing functions
477
-
This function decreases the column span by one.
478
-
If the Faster Table Editing option is sel
480
-
See “dom.canDecreaseRowspan()” on page 555.
482
-
This function removes all
484
-
The tdOrTh argument must be either "td" or "th".
486
-
Find/replace functions handle
494
-
Verifies that the current selec
495
-
Prepares for an advanced text or tag sea
496
-
See “dreamweaver.canShowFindDialog()” on page 573.
500
-
General editing functions
501
-
Displays the appropriate interface for editing the
502
-
Tells Dreamweaver that the current Flash
510
-
Resizes the selected object to the specified dime
512
-
Changes the kind of the selected SELECT menu.
514
-
Sets the block format of the selected text.
516
-
Returns a list of fonts for the system.
520
-
Quick Tag Editor functions
521
-
Code view functions
524
-
Moves the insertion point to the left in the cur
528
-
Places the insertion point at the end of the
530
-
Moves the insertion point down the Code view docu
536
-
Places the insertion point at the beginning of
542
-
Tag editor and tag library functions
544
-
This function opens the Tag Library
546
-
This function imports a DTD
548
-
Checks whether Dreamweaver can perform an Ap
552
-
Checks whether Dreamweaver can perfor
554
-
Checks whether Dreamweaver can perform a De
556
-
Checks whether Dreamweaver can perform an
557
-
Checks whether Dreamweaver can per
559
-
Checks whether Dreamweaver can perform a Split
562
-
Checks whether Dreamweaver can del
566
-
Checks whether Dreamweave
567
-
Checks whether there is a selection i
568
-
Checks whether Dreamweaver can perform a Redo
570
-
Checks whether Dreamweaver can perform a
573
-
Checks the curr
577
-
Reports whether Dreamweaver is currently
579
-
Checks whether Dreamweaver can perform a Chang
587
-
Determines whether Dreamweaver can perform a Che
588
-
Checks whether Dreamweaver can perform a F
590
-
Determines whether Dreamweaver can perform a
591
-
Checks whether Dreamweaver can perform a Refresh
594
-
Determines whether Dreamweaver can perform a La
595
-
Determines whether Dreamweaver can perform an un
597
-
Determines whether Dreamweaver can perform a V
598
-
About dialog box 157
599
-
of files, setting 25
600
-
code 489, 493
602
-
Data Manager 399
603
-
description attribute 392
604
-
codeHints.addFunction() 491, 493
609
-
historyPalette object 161
610
-
Dynamic Data dialog box 158
612
-
Results window 190
613
-
ID strings, removing 171
617
-
getting values 47
618
-
_notes folder 39
620
-
properties, JavaBeans 113, 114, 115
621
-
retrieve index of selected item 188
622
-
stored procedures 92, 93, 94, 98, 99
627
-
posting data to 35
628