User Guide

156 Application
dreamweaver.beep()
Availability
Dreamweaver MX.
Description
Creates a system beep.
Arguments
None.
Returns
Nothing.
Example
The following example calls dw.beep() to call the users attention to a message that the
alert() function displays:
beep(){
if(confirm(“Is your order complete?”)
{
dreamweaver.beep();
alert(“Click OK to submit your order”);
}
}
dreamweaver.getShowDialogsOnInsert()
Availability
Dreamweaver 3.
Description
Checks whether the Show Dialog When Inserting Objects option is turned on in the General
category of Preferences.
Arguments
None.
Returns
A Boolean value that indicates whether the option is on.
000_DW_API_Print.book Page 156 Wednesday, July 20, 2005 11:58 AM