How Detection Works - Adobe 38040334 - Dreamweaver CS3 User Manual

Extending dreamweaver
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

Chapter 8: Browser
compatibility check issues API
In Adobe Dreamweaver CS3, the browser compatibility check (BCC) feature helps you create
page layouts that work well (that is, that both look and function the same) across multiple
browsers by locating combinations of HTML and CSS that can trigger browser rendering bugs.
The feature uses JavaScript to search the user's document for the problematic combinations of
HTML and CSS. The JavaScript code is stored in HTML files called Issue detection files; these
files must be saved in the Configuration/BrowserProfiles/Issues/ folder to work properly.

How detection works

The first time a user chooses to run a browser compatibility check (and anytime the user clicks
OK in the Target Browsers dialog), the following events occur:
Dreamweaver reads in the profiles for the chosen browsers from the
1
Configuration/BrowserProfiles/ folder.
2
Dreamweaver calls the
Configuration/BrowserProfiles/Issues/ folder to get the unique ID of each Issue.
Dreamweaver calls the
3
getAffectedBrowserDisplayNames()
Issue.
4
Dreamweaver calls the
determine whether the Issue affects one or more of the chosen browsers.
Dreamweaver calls the
5
display in the Results panel when the Issue is detected.
6
Dreamweaver calls the
to display in the right side of the Results panel and in the tool tip when the user mouses over an
Issue squiggly in Code view, if the Issue is detected.
The following events occur for each browser chosen in the BCC Settings dialog box after step 6
in the preceding procedure and for each subsequent browser compatibility check.
function in each Issue file in the
getIssueID()
getAffectedBrowserProfiles()
function for each Issue to determine the name to
getIssueName()
function for each Issue to determine the text
getIssueDescription
function, if defined, for each
function for each Issue to

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents