MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER Specifikace Strana 415

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 504
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 414
Components panel API functions 415
getSetupSteps()
Availability
Dreamweaver MX.
Description
Dreamweaver calls this function if the setupStepsCompleted() function returns zero or a
positive integer. This function controls the server-side setup instructions, which can be
implemented using extensions that use a modal dialog box and extensions that use server
components.
This function returns an array of the strings for Dreamweaver to display in either the Setup
Steps dialog box or the Components panel, depending on the extension type.
Arguments
None.
Returns
An array of n+1 strings, where n is the number of steps, as described in the following list:
The title that appears above the list of setup steps
For each step, the text instructions, which can include any HTML markup that is legal
inside a
li tag
You can include hypertext links (
a tags) in the list of steps by using the following form:
<a href=”#” onMouseDown="handler">Blue Underlined Text</a>
The "handler" value can be replaced by any of the following strings or any JavaScript
expression, such as "
dw.browseDocument('http://www.macromedia.com')":
An "Event:SetCurSite" handler opens a dialog box to set the current site.
An "Event:CreateSite" handler opens a dialog box to create a new site.
An "Event:SetDocType" handler opens a dialog box to change the document type of the
user’s document.
An "Event:CreateConnection" handler opens a dialog box to create a new
database connection.
An "Event:SetRDSPassword" handler opens a dialog box to set the Remote
Development Service (RDS) user name and password (ColdFusion only).
An "Event:CreateCFDataSource" handler opens the ColdFusion administrator in a
browser.
Zobrazit stránku 414
1 2 ... 410 411 412 413 414 415 416 417 418 419 420 ... 503 504

Komentáře k této Příručce

Žádné komentáře