Class 17
Class 17
Class 17
IE4 not only supports CSS-P, but also allows you to apply
CSS-P attributes to individual HTML elements (can assign
visibility and position to an image even if it is not
surrounded by <DIV> or <SPAN> tag)
Support for DOM via JavaScript
IE’s rendering engine is capable of quickly re-rendering
modified HTML content (unlike Netscape’s rendering
engine). Therefore, most properties can be changed on
the fly: can increase the size of text within <H3></H3>
tags to <H1></H1>.
Internal Branching
see internal-branching.html example (look at the page source inside
browser)
Common Denominator Design
use only features supported by ALL major browsers
Custom API
design a set of library functions (in JavaScript) and reference them from
all HTML files. each function contains code for Netscape and IE4 and
extends the vocabulary of the language.
Cross-Platform Strategies
What’s the best strategy?
Limitations of JavaScript
Can not do anything beyond HTML- and browser-related
tasks