141
CHAPTER 11
Application
The application functions perform operations related to Macromedia Dreamweaver MX 2004’s
interaction with other applications or Dreamweaver operations independent of individual
documents (setting preferences, exiting Dreamweaver, and other functions).
External application functions
External application functions handle operations that are related to the Macromedia Flash MX
2004 application and to the browsers and external editors that are defined in the Preview in
Browser and External Editors preferences. These functions let you get information about these
external applications and open files with them.
dreamweaver.browseDocument()
Availability
Dreamweaver 2; enhanced in 3 and 4.
Description
Opens the specified URL in the specified browser.
Arguments
fileName
,
{browser}
•
The
fileName
argument is the name of the file to open, which is expressed as an
absolute URL.
Note:
Some browsers cannot locate the file if the URL contains an anchor, such as
"Configuration/ExtensionHelp/browseHelp.htm#helpyou".
•
The
browser
argument, which was added in Dreamweaver 3, specifies a browser. This
argument can be the name of a browser, as defined in the Preview in Browser preferences or
either
'primary'
or
'secondary'
. If the argument is omitted, the URL opens in the user’s
primary browser.
Returns
Nothing.
000_DW_API_Print.book Page 141 Wednesday, August 20, 2003 9:14 AM
Содержание DREAMWEAVER MX 2004
Страница 1: ...Dreamweaver API Reference...
Страница 24: ...24 Contents...
Страница 32: ......
Страница 70: ...70 Chapter 5 Fireworks Integration...
Страница 76: ...76 Chapter 6 Flash Integration...
Страница 116: ...116 Chapter 9 The JavaBeans API...
Страница 140: ......
Страница 152: ...152 Chapter 11 Application...
Страница 218: ...218 Chapter 12 Workspace...
Страница 248: ...248 Chapter 13 Site...
Страница 292: ...292 Chapter 14 Document...
Страница 378: ...378 Chapter 17 Design...
Страница 430: ...430 Chapter 18 Code...
Страница 486: ...486 Index...