Site functions
243
Returns
None.
site.setConnectionState()
Availability
Dreamweaver 3.
Description
Sets the connection state of the current site.
Arguments
bConnected
•
The
bConnected
argument 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
•
The
whichSite
argument 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.
000_DW_API_Print.book Page 243 Wednesday, August 20, 2003 9:14 AM
Summary of Contents for DREAMWEAVER MX 2004-DREAMWEAVER API
Page 1: ...Dreamweaver API Reference...
Page 24: ...24 Contents...
Page 32: ......
Page 70: ...70 Chapter 5 Fireworks Integration...
Page 76: ...76 Chapter 6 Flash Integration...
Page 116: ...116 Chapter 9 The JavaBeans API...
Page 140: ......
Page 152: ...152 Chapter 11 Application...
Page 218: ...218 Chapter 12 Workspace...
Page 248: ...248 Chapter 13 Site...
Page 292: ...292 Chapter 14 Document...
Page 378: ...378 Chapter 17 Design...
Page 430: ...430 Chapter 18 Code...
Page 486: ...486 Index...