O'Reilly logo

Beginning JavaScript with DOM Scripting and Ajax, Second Edition by Christian Heilmann, Russ Ferguson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 6

image

Common Uses of JavaScript: Images and Windows

If you read the last few chapters, you should be well equipped now with your knowledge of JavaScript and its interaction with cascading style sheets (CSS) and HTML. Now you will learn about some of the most common uses of JavaScript on the Web these days, and we’ll go through some examples. In these examples, you’ll see how to ensure that these implementations of JavaScript work independently of other scripts on the page, and I’ll explain what problems might occur. I’ll also touch on functionality that is tempting to use but might not be the safest of options.

 Note  This chapter has a ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required