Round buttons CYAN BLUE RED MAGENTA GREEN YELLOW

Dynamically Rescaling an Image Map

This example makes a lot of assumptions (it assumes one image map per document and that coordinates in the coords= properties are comma-delimited, and that the same scaling factor is applied for the width and height, for example). Even so, it shows it is possible to remap the coordinates. No matter what size you make the map the colored regions continue to point to the correct URL.

John S. Urban, Feb 23, 2008

BLACK

.
.
.
.
.
.

CYAN

.
.
.
.
.
.

BLUE

.
.
.
.
.
.

RED

.
.
.
.
.
.

MAGENTA

.
.
.
.
.
.

GREEN

.
.
.
.
.
.

YELLOW

.
.
.
.
.
.