JavaScript Editor JavaScript Debugger     JavaScript Editor 



Team LiB
Previous Section Next Section

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.


Team LiB
Previous Section Next Section


JavaScript Editor JavaScript Debugger     JavaScript Editor


©