beautypg.com

Getaffectedbrowserdisplaynames(), Getissueid(), Getissuename() – Adobe Extending Dreamweaver CS4 User Manual

Page 135

background image

129

EXTENDING DREAMWEAVER CS4

Browser compatibility check issues API

getAffectedBrowserDisplayNames()

Availability
Dreamweaver CS3.

Description
Provides Dreamweaver with a list of user-visible browser names for which this issue is relevant. This function is
optional; if not supplied, the profile names supplied by

getAffectedBrowserProfiles()

will be used instead.

Arguments
None.

Returns
An array of browser names. This array must be parallel to the one returned by

getAffectedBrowserProfiles()

.

Example

function getAffectedBrowsers(){

return new Array("IE/Win 5.0",

"IE/Win 5.5",
"IE/Win 6.0");


}

getIssueID()

Availability
Dreamweaver CS3.

Description
Provides Dreamweaver with a unique ID for the issue.

Arguments
None.

Returns
A string with a unique issue identifier.

Example

function getIssueID() {

return "EXPANDING_BOX_PROBLEM";

}

getIssueName()

Availability
Dreamweaver CS3.

This manual is related to the following products: