MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Reference page 290

Dreamweaver api reference
Table of Contents

Advertisement

Arguments
whichSide
The
argument must be either
whichSide
Returns
Nothing.
Enabler
See
"site.canSelectNewer()" on page
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" />
290
Site
or
"local"
595.
.
"remote"

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER 8-DREAMWEAVER API and is the answer not in the manual?

This manual is also suitable for:

Dreamweaver 8

Table of Contents