![MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Скачать руководство пользователя страница 358](http://html1.mh-extra.com/html/macromedia/dreamweaver-8-dreamweaver-api/dreamweaver-8-dreamweaver-api_reference_3332054358.webp)
358
Page Content
dreamweaver.assetPalette.getSelectedCategory()
Availability
Dreamweaver 4.
Description
Returns the currently selected category.
Arguments
None.
Returns
The currently selected category, which can be one of the following:
"templates"
,
"library"
,
"images"
,
"movies"
,
"shockwave"
,
"flash"
,
"scripts"
,
"colors"
, or
"urls"
.
dreamweaver.assetPalette.getSelectedItems()
Availability
Dreamweaver 4.
Description
Returns an array of the selected items in the Assets panel, either in the Site or Favorites list.
Arguments
None.
Returns
An array of the following three strings for each selected item:
■
The
name
string, which is the name/filename or nickname that appears in the Assets
panel.
■
The
value
string, which is the full path, full URL, or color value, depending on the
selected item.
■
The
type
string, which is either
"folder"
or one of the following categories:
"templates"
,
"library"
,
"images"
,
"movies"
,
"shockwave"
,
"flash"
,
"scripts"
,
"colors"
, or
"urls"
.
NO
T
E
If nothing is selected in the Assets panel, this function returns an array that contains one
empty string.
000_DW_API_Print.book Page 358 Wednesday, July 20, 2005 11:58 AM
Содержание DREAMWEAVER 8-DREAMWEAVER API
Страница 1: ...Dreamweaver API Reference...
Страница 16: ......
Страница 28: ...28 The File I O API...
Страница 38: ...38 The HTTP API...
Страница 68: ...68 Flash Integration...
Страница 100: ...100 The Database API...
Страница 116: ...116 The JavaBeans API...
Страница 144: ...144 The Source Control Integration API...
Страница 146: ......
Страница 254: ...254 Workspace...
Страница 298: ...298 Site...
Страница 354: ...354 Document...
Страница 396: ...396 Page Content...
Страница 488: ...488 Design...
Страница 550: ...550 Code...