Adobe Dreamweaver API Reference CS5 Instrukcja Użytkownika Strona 400

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 533
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 399
395
DREAMWEAVER API REFERENCE
Design
Last updated 8/27/2013
Arguments
{pane}
The pane argument, which is optional, is a string that specifies the pane of the Styles panel to which this function
applies. Possible values are
"stylelist", which is the list of styles in “All” mode; "cascade", which is the list of
applicable, relevant rules in “Current” mode;
"summary", which is the list of properties for the current selection in
“Current” mode; and
"ruleInspector", which is the editable list or grid of properties in “Current” mode. The
default value is
"stylelist".
Returns
Nothing.
Enabler
See “dreamweaver.cssStylePalette.canRenameSelectedStyle()” on page 514.
dreamweaver.cssStylePalette.setDisplayStyles()
Availability
Dreamweaver 8.
Description
This function determines whether to render CSS styles and refreshes the rendering of all open documents.
Arguments
display
The display argument is a Boolean value: true to render CSS styles; false otherwise.
Returns
Nothing.
Example
The following example turns off rendering of CSS styles:
dw.cssStylePalette.setDisplayStyles(false);
dreamweaver.cssStylePalette.setMediaType()
Availability
Dreamweaver MX 2004.
Description
Sets the target media type for rendering. Refreshes the rendering of all open documents.
Arguments
mediaType
The mediaType argument specifies the new target media type.
Przeglądanie stron 399
1 2 ... 395 396 397 398 399 400 401 402 403 404 405 ... 532 533

Komentarze do niniejszej Instrukcji

Brak uwag