Image Gallery example from "DOM Scripting: Web Design with JavaScript and the Document Object Model" by Jeremy Keith. This particular exercise is from Chapter 4. The example is built and modified gradually based on the text of chapter 4. This is currently a work-in-progress as I follow the chapter, and will end up as the final result. Problem is, the finished example is truly an evolution of code and does not seem to be listed in its entirety anywhere in the chapter.

This Version

This version has a placeholder image at the bottom of the page. The link to each image includes a snippet of JavaScript which calls a JavaScript function, showPic(whichpic), to extract the image URL and overlay the placeholder image with the selected image URL. AND OTHER CHANGES. SEE PAGE 66.

Pros and Cons

describe the pros and cons of this approach...

Simple Test

The following link has been disabled by including the JavaScript command onclick="return false;"


my image gallery