Adobe Dreamweaver API Reference CS5 Uživatelský manuál Strana 276

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 533
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 275
271
DREAMWEAVER API REFERENCE
Document
Last updated 8/27/2013
dreamweaver.setPreferenceString()
Availability
Dreamweaver MX.
Note: To access the preferences for sites, you must have version 7.0.1. Check dw.appVersion for the correct version before
accessing site information.
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.
Zobrazit stránku 275
1 2 ... 271 272 273 274 275 276 277 278 279 280 281 ... 532 533

Komentáře k této Příručce

Žádné komentáře