Adobe Dreamweaver API Reference CS5 Manual do Utilizador Página 312

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 533
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 311
307
DREAMWEAVER API REFERENCE
Page content
Last updated 8/27/2013
The type string, which is either "folder" or one of the following categories: "templates", "library", "images",
"movies", "shockwave", "flash", "scripts", "colors", or "urls".
Note: If nothing is selected in the Assets panel, this function returns an array that contains one empty string.
Example
If URLs is the category, and a folder MyFolderName and a URL MyFavoriteURL are both selected in the Favorites list,
the function returns the following list:
items[0] = "MyFolderName"
items[1] = "//path/FolderName"
items[2] = "folder"
items[3] = "MyFavoriteURL"
items[4] = "http://www.MyFavoriteURL.com"
items[5] = "urls"
dreamweaver.assetPalette.getSelectedView()
Availability
Dreamweaver 4.
Description
Indicates which list is currently shown in the Assets panel.
Arguments
None.
Returns
Returns a string that has a value of either "site" or "favorites".
dreamweaver.assetPalette.insertOrApply()
Availability
Dreamweaver 4.
Description
Inserts selected elements or applies the element to the current selection. It applies templates, colors, and URLs to the
selection; it also inserts URLs and other elements at the insertion point. If a document isn’t open, the function is not
available.
Arguments
None.
Returns
Nothing.
Enabler
See “dreamweaver.assetPalette.canInsertOrApply()” on page 503.
Vista de página 311
1 2 ... 307 308 309 310 311 312 313 314 315 316 317 ... 532 533

Comentários a estes Manuais

Sem comentários