276
Chapter 14: Document
dreamweaver.setPreferenceString()
Availability
Dreamweaver MX.
Description
Lets you write a string preference setting for an extension. This setting is stored with
Dreamweaver preferences when Dreamweaver is not running.
Arguments
section
,
key
,
new_value
•
The
section
argument is a string that specifies the Preferences category in which the option is
set. If the category does not exist, Dreamweaver creates it.
•
The
key
argument is a string that specifies the category option that the functions sets. If the
category option does not exist, Dreamweaver creates it.
•
The
new_value
argument is a string that specifies the value of the category option.
Returns
A
true
value if successful;
false
otherwise.
Example
var txtEditor = getExternalTextEditor();
dreamweaver.setPreferenceString("My Extension", "Text Editor", txtEditor);
dreamweaver.showTargetBrowsersDialog()
Availability
Dreamweaver MX 2004.
Description
Opens the Target Browsers dialog box. The Target Browsers dialog box lets a user specify which
browser versions the Browser Target Check feature should use for checking the current page’s
browser compatibility issues.
Arguments
None.
Returns
Nothing.
000_DW_API_Print.book Page 276 Wednesday, August 20, 2003 9:14 AM
Содержание DREAMWEAVER MX 2004
Страница 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...