Adobe Dreamweaver API Reference CS5 Manuale Utente Pagina 342

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 533
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 341
337
DREAMWEAVER API REFERENCE
Page content
Last updated 8/27/2013
Returns
An array of strings that are expressed as file://URLs. Each string represents a file that was included in the head of the
document through a script or a link tag.
Example
function objectTag()
{
.
.
.
var dom = dw.getDocumentDOM();
var assetList = new Array();
var assetInfo = new AssetInfo("Objects/Ajax/Accordion.css",
"Objects/Ajax/Accordion.css",
"Accordion.css", "link");
assetList.push(assetInfo);
assetInfo = new AssetInfo("Objects/Ajax/Accordion.js", "Accordion.js",
"javascript");
assetList.push(assetInfo);
assetInfo = new AssetInfo("Objects/Ajax/Images", "Images", "");
assetList.push(assetInfo);
dom.copyAssets(assetList);
return retVal;
}
dom.getDefaultAssetFolder()
Availability
Dreamweaver CS3.
Description
Gets the default asset folder of the document.
Arguments
None.
Returns
A string that is the default asset folder name.
Example
function objectTag()
{
.
.
.
var defaultAssetFolder = dom.getDefaultAssetFolder();
.
.
.
return retVal;
}
Vedere la pagina 341
1 2 ... 337 338 339 340 341 342 343 344 345 346 347 ... 532 533

Commenti su questo manuale

Nessun commento