beautypg.com

Dreamweaver.showtagchooser(), Dw.registeridlehandler() – Adobe Dreamweaver API Reference CS5 User Manual

Page 123

background image

118

DREAMWEAVER API REFERENCE

Application

Last updated 8/27/2013

Arguments

{strCategory}

The

strCategory

argument, which is optional, must be one of the following strings to open the correlating

category of the Preferences dialog box:

general

,

accessibility

,

"html colors"

(for the Code Coloring

category),

"html format"

(for the Code Format category),

"code hints"

,

"html rewriting"

(for the Code

Rewriting category),

copyPaste

,

"css styles"

,

"file compare"

,

"external editors"

(for the File

Types/Editors category),

fonts

,

highlighting

,

"invisible elements"

,

layers

,

"new document"

,

floaters

(for the Panels category),

browsers,

(for the Preview in Browser category),

"site ftp"

(for the Site category),

"status bar"

, and

validator

. If Dreamweaver does not recognize the argument as a valid pane name, the dialog

box opens to the last active pane. Dreamweaver does the same, if the argument is omitted.

Returns
Nothing.

Example
The following example opens the Preferences dialog box and selects the Code Coloring category:

dw.showPreferencesDialog("html colors");

dreamweaver.showTagChooser()

Availability
Dreamweaver MX.

Description
Toggles the visibility of the Tag Chooser dialog box for users to insert tags into the Code view. The function shows the
Tag Chooser dialog box on top of all other Dreamweaver windows. If the dialog box is not visible, the function opens
it, brings it to the front, and sets focus to it. If the Tag Chooser is visible, the function hides the dialog box.

Arguments
None.

Returns
Nothing.

dw.registerIdleHandler()

Availability
Dreamweaver CS3.

Description
This function registers a JavaScript function to be called on a periodic basis during idle processing time.