Chuck Easttom's Learn Javascript PDF

" onClick="MoveNext()"> If you do this properly, it will produce the image you see here. Figure 4-6 In case the HTML

tag is new to you, let’s examine it.

Then we are setting the src 46 n Chapter 4 property (the source) for those image objects, equal to some picture on your hard drive. gif”. The space where that image is located, we have named “pic”. When the mouse moves over the image/link we change the image space named pic, to contain the image in image1. When we move the mouse out of the image, we change it back to the picture in image2. The document keyword is a new keyword for you. It refers to the current HTML document that is loaded in the browser.

Download PDF sample

Learn Javascript by Chuck Easttom


by Ronald
4.4

Rated 4.86 of 5 – based on 12 votes