beautypg.com

Dreamweaver.dourldecoding(), Dom.showpagepropertiesdialog() – Adobe Dreamweaver API Reference CS5 User Manual

Page 272

background image

267

DREAMWEAVER API REFERENCE

Document

Last updated 8/27/2013

Arguments
location, message, timeout

The location argument is a string that specifies a toolbar item, or is an empty string, or is one of the following
keywords: "

top"

, "

topright"

, "

right"

, "

bottomright"

, "

bottom"

, "

bottomleft"

, "

left"

, or "

topleft".

The

tooltip is placed against the specified edge or corner and is centered. An empty string causes it to be centered in the
document. To specify a toolbar item, use

"toolbar:toolbarID:itemID"

, where the toolbar ID and toolbar item

ID match the IDs in the toolbars.xml file.

The message argument is a string that contains the message.

The timeout argument is a number that specifies the milliseconds for which to display the message. The default is
0. If the value is 0, the message stays indefinitely. Dreamweaver automatically dismisses it if the user clicks it or
switches documents, or if the time out expires.

Returns
Nothing.

Example
The following example displays two tooltip messages. The first line of code displays the message

"This message is

in the center"

in the center of the document. The second call to

showInfoMessagePopup()

displays the tooltip

message

"Don't forget the title for the Window"

for the Title text edit box, which has the ID

DW_SetTitle

,

on the toolbar with the ID

DW_Toolbar_Main

.

dw.getDocumentDOM.showInfoMessagePopup('', 'This message is in the center', 5000);

dw.getDocumentDOM.showInfoMessagePopup('toolbar:DW_Toolbar_Main:DW_SetTitle', 'Don't

forget the title for the window', 5000);

See also

dom.hideInfoMessagePopup()

” on page 265.

dom.showPagePropertiesDialog()

Availability
Dreamweaver 3.

Description
Opens the Page Properties dialog box.

Arguments
None.

Returns
Nothing.

dreamweaver.doURLDecoding()

Availability
Dreamweaver MX.