Adobe Dreamweaver API Reference CS5 Manuale Utente Pagina 247

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 533
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 246
242
DREAMWEAVER API REFERENCE
Site
Last updated 8/27/2013
Arguments
whichSide
The whichSide argument must be either "local" or "remote".
Returns
Nothing.
Enabler
See “site.canSelectNewer()” on page 526.
site.serverActivity()
Availability
Dreamweaver 8.
Description
This function determines whether Dreamweaver is currently interacting with a server. Because Dreamweaver cannot
do more than one server activity at a time, this function lets you determine whether to disable functionality that
requires server interaction.
Arguments
None.
Returns
A Boolean value that indicates whether Dreamweaver is currently interacting with a server.
Example
The following example, from the menus.xml file, displays a menu item if there is no server activity (and if there is a
current site specified in Dreamweaver):
<menuitem name="Remove Connection Scripts" enabled="!site.serverActivity() &&
site.getCurrentSite() != ''" command="alert(MMDB.removeConnectionScripts())"
id="SiteOptionsSiteMenu_RemoveConnectionScripts" />
site.setCloakingEnabled()
Availability
Dreamweaver MX.
Description
Determines whether cloaking should be enabled for the current site.
Arguments
enable
The enable argument is a Boolean value that indicates whether cloaking should be enabled. A value of true enables
cloaking for the current site; a value of
false disables cloaking for the current site.
Vedere la pagina 246
1 2 ... 242 243 244 245 246 247 248 249 250 251 252 ... 532 533

Commenti su questo manuale

Nessun commento