Adobe Extending Dreamweaver CS4 Instrukcja Użytkownika Strona 133

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 387
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 132
127
EXTENDING DREAMWEAVER CS4
Browser compatibility check issues API
// if styles are declared for any colgroup or col
// tag in this table, we have a problem node. don't
// bother looking further.
props = window.getDeclaredStyle(allcol[x]);
property = "";
definedStyles.length = 0;
for (property in props) {
definedStyles.push(property);
}
if (definedStyles.length > 0){
issueNodes.push(currCap);
break;
}
}
}
}
}
return issueNodes;
}
function getAffectedBrowserDisplayNames(){
return new Array("Safari 2.0");
}
function getAffectedBrowserProfiles(){
return new Array("Safari 2.0");
}
function getIssueID(){
return "COL_AND_COLGROUP_CAPTURED_BY_CAPTION";
}
function getIssueName(){
return ISSUE_NAME;
}
function getIssueDescription(){
return ISSUE_DESC;
}
function getConfidenceLevel(){
//DETCON 4
return issueUtils.CONFIDENCE_HIGH;
}
The issues API functions
All of the functions in the issues API are required except for getAffectedBrowserDisplayNames(). As with all
extension APIs, you are responsible for writing the body of each function and returning an appropriate value to
Dreamweaver. For information about browser compatibility check functions, see the “Page Content” topic in the
Dreamweaver API Reference.
findIssue()
Availability
Dreamweaver CS3.
Przeglądanie stron 132
1 2 ... 128 129 130 131 132 133 134 135 136 137 138 ... 386 387

Komentarze do niniejszej Instrukcji

Brak uwag