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

  • 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 186
182
DREAMWEAVER API REFERENCE
Workspace
Last updated 8/27/2013
Returns
A Boolean value: true if the floating panel is visible and in the front; false otherwise or if Dreamweaver cannot find
a floating panel named
floaterName.
dreamweaver.getFocus()
Availability
Dreamweaver 4.
Description
This function determines what part of the application is currently in focus.
Arguments
bAllowFloaters
The bAllowFloaters argument is a Boolean value: true if you want the function to return the name of the floating
panel, if a floating panel has focus;
false otherwise.
Returns
One of the following strings:
The "document" string if the document window is in focus
The "site" string if the Site panel is in focus
The "textView" string if the Text view is in focus
The "html" string if the Code inspector is in focus
The floaterName string, if bAllowFloaters is true and a floating panel has focus, where floaterName is
"objects", "properties", "launcher", "library", "css styles", "html styles", "behaviors",
"timelines", "layers", "frames", "templates", or "history"
(Macintosh) The "none" string if neither the Site panel nor any document windows are open
dreamweaver.getPrimaryView()
Availability
Dreamweaver 4.
Description
This function determines which view is visible as the primary view in the front.
Site Files = "site files"
Snippets = "snippets"
Browser Compatibility Check = "bcc"
Validation Results = "validation"
Zobrazit stránku 186
1 2 ... 182 183 184 185 186 187 188 189 190 191 192 ... 532 533

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

Žádné komentáře