Maximizing and Restoring HTML Images with the Image Map Method
This article is a follow up to the article "Maximizing and Restoring HTML Images with the Absolute Method." It offers an alternative method, which I call "Image Map." So if you want another way to display an image on your web page with maximization and restoration capabilities, then by all means read this article.
Maximizing and Restoring HTML Images with the Image Map Method (Page 1 of 4 )
Just as a quick review, in case you didn't read the earlier article, let me remind you of what we'll be trying to accomplish. Many web pages feature images that can be enlarged (maximized) and restored within the same page. There is normally a small clickable area on the image. When you click this area, the image is maximized. While the image is maximized, there is still a small clickable area on the image; if you click that area, the image is restored to its smaller size. This phenomenon is common in e-commerce or shopping websites.
The small triangle with a black border at the bottom right of the normal-sized image is the clickable area used to maximize the image. The same small triangle (proportionally enlarged) at the bottom right of the maximized image is the clickable area used to restore the image.