Specifications
578
site.setConnectionState()
Availability
Dreamweaver 3
Description
Sets the connection state of the current site.
Arguments
bConnected
bConnected
is a Boolean value that indicates if there is a connection (true) or not (false) to the
current site.
Returns
Nothing.
site.setCurrentSite()
Availability
Dreamweaver 3
Description
Opens the specified site in the local pane of the Site panel.
Arguments
whichSite
whichSite
is the name of a defined site (as it appears in the Current Sites list in the Site panel or
the Edit Sites dialog box).
Returns
Nothing.
Example
If three sites are defined (for example, avocado8, dreamcentral, and testsite), a call to
site.setCurrentSite("dreamcentral"); makes dreamcentral the current site.
site.setFocus()
Availability
Dreamweaver 3
Description
Gives focus to a specified pane in the Site panel. If the specified pane is not showing, this function
displays the pane and gives it focus.
Arguments
whichPane
whichPane
must be one of the following strings: "local", "remote", or "site map".
Returns
Nothing.