Skip to main content

Common Uses of JavaScript: Images and Windows

  • Chapter
  • First Online:
Beginning JavaScript with DOM Scripting and Ajax

Abstract

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 34.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Russ Ferguson

About this chapter

Cite this chapter

Ferguson, R., Heilmann, C. (2013). Common Uses of JavaScript: Images and Windows. In: Beginning JavaScript with DOM Scripting and Ajax. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-5093-7_6

Download citation

Publish with us

Policies and ethics