What this chapter covers:Beginning with a well-marked-up document
Triggering the function from within the markup
Expanding the function using some new methods
There are a number of ways to put a gallery of images online. You could simply put all the images on one web page, for example. However, if you want to display more than a handful of images, the page is going to get big and bloated fairly quickly. The weight of the markup by itself might not be all that much, but the combined weight of the markup and images can ...