Adobe 38040334 API Reference - Page 310
dom.getDefaultAssetFolder
UPC - 883919090467
View all Adobe 38040334 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 310 highlights
DREAMWEAVER CS3 305 API Reference • "javascript" to insert a SCRIPT tag with type=text/javascript • "vbscript" to insert a SCRIPT tag with type=text/vbscript • "" not to insert a reference in the head • "useDefault" is a Boolean value that determines how the value set in "destURL" is interpreted. The default is true. If true, Dreamweaver treats "destURL" as a relative path to the Spry assets folder of the site. If false, "destURL" is a relative path to the site root. • "useRelativeSrc" is a Boolean value that determines how the value set in "destURL" is interpreted. The default value is false. If false, "srcURL" is inserted as an absolute path when "referenceType" is specified. Returns Nothing. 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() { . .