Working with browser profiles
33
3.
Add any new tags or attributes that you know are supported by the browser, using the
syntax shown in
“About browser-profile formatting” on page 30
.
If you don’t want to receive error messages about a particular unsupported tag, add it to
the list of supported tags. If you do this, save the profile in a separate file with a new
filename (such as Browsername x.x limited). Giving this alternate profile a new name
preserves the original profile with only the tags that are truly supported.
4.
Delete any tags or attributes that are not supported by the browser.
This step is probably unnecessary if you are creating a profile for a new version of
Netscape Navigator or Internet Explorer because browsers rarely drop support for tags.
5.
Add any custom error messages according to the syntax shown in
“About browser-profile
formatting” on page 30
.
The profiles that come with Dreamweaver list all supported tags for the specified
browsers. To add a custom error message to a tag, type
!msg = "message"
after
!Error
.
The following example shows information that appears in the Netscape Navigator 3.0
profile (along with other attributes not shown here):
<!ELEMENT HR name="Horizontal Rule">
<!ATTLIST HR
COLOR !Error
>
To add a custom error message enter
!msg=
followed by your error message in quotation
marks ("):
<!ELEMENT HR name="Horizontal Rule">
<!ATTLIST HR
COLOR !Error !msg="Internet Explorer 3.0 supports the COLOR tag in
horizontal rules,but Netscape Navigator 3.0 does not."
>
6.
You can use
!Error
for all error situations, or you can use
!Warning
or
!Info
to indicate
that a tag will be ignored but will not actually cause an error.
Содержание DREAMWEAVER 8-EXTENDING DREAMWEAVER
Страница 1: ...Extending Dreamweaver...
Страница 8: ...8 Contents...
Страница 14: ...14 Introduction...
Страница 16: ......
Страница 54: ...54 Customizing Dreamweaver...
Страница 96: ...96 Customizing Code View...
Страница 98: ......
Страница 110: ...110 Extending Dreamweaver...
Страница 138: ......
Страница 166: ...166 Insert Bar Objects...
Страница 180: ...180 Commands...
Страница 248: ...248 Toolbars...
Страница 260: ...260 Reports...
Страница 278: ...278 Tag Libraries and Editors...
Страница 288: ...288 Property Inspectors...
Страница 378: ...378 Server Behaviors...
Страница 398: ...398 Data Sources...
Страница 432: ...432 Server Models...
Страница 456: ...456 Data Translators...
Страница 482: ......
Страница 492: ...492 The Shared Folder...