Summary


This chapter presented some common applications of the Image object as well as other visual effects commonly associated with JavaScript. We saw that while many of these effects are relatively easy to implement, the scripting and style sheet variations among the browsers require defensive programming techniques to prevent errors from being thrown in browsers that do not support the required technology. DHTML effects, such as animations, visibility changes, and movement, demonstrate the high degree of effort required to make cross-browser “compliant code. While all the effects demonstrated in this chapter are relatively simple, developers should not necessarily add them to their site.




JavaScript 2.0
JavaScript: The Complete Reference, Second Edition
ISBN: 0072253576
EAN: 2147483647
Year: 2004
Pages: 209

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net