beginners builders masters
 
SEARCH: webmonkey  the web

 
JavaScript
-------------------------
Print
this article for free. 
-------------------------

JavaScript Subject Index

Overview

Lesson 1

Lesson 2

Lesson 3

Lesson 4
1  Lesson 4: Maps, Objects, Preloading, and Eval
2 Image Maps and JavaScript
3 Preloading Images — What's It All About?
4 Preloading Images — How's It Done?
5 Object Advantage
6 Creating Your Own Objects
7 Your Object-Oriented Virtual Pet
8 Evaluating Strings
9 Getting at Hard-to-Reach Objects
10 Another Way to Get at Hard-to-Reach Objects
11 Lesson 4 Review

Lesson 5



Advanced JavaScript Tutorial
Lesson 4

by Thau!

Page 1 — Lesson 4: Maps, Objects, Preloading, and Eval

Advanced Image and Object Work

In the previous lesson, we looked at the many different things you can do with text and strings. Today we'll focus on two different types of data: images and objects. By the end of this lesson, you'll know how to:

  • Use image maps with JavaScript
  • Preload images to speed up your image swaps
  • Create your own objects to make big scripts comprehensible
  • Use associative arrays to rapidly access all the objects in your scripts

We'll get the ball rolling with image maps.

next page»