Image mapping in JavaScript
Through this article you will learn how to map multiple images in JavaScript.
The text of this article is not in this database — only its details are. The old site it was published on is gone, but the Internet Archive kept a copy: Image mapping in JavaScript


Eliyahu SidikmanPosted Feb 27, 2010, 10:27 PM EST
Hi. I am trying to integrate image mapping with a panning and zooming script (shiftzoom.js). Obviously, hostpots defined by absolute x,y coordinates will not work on a dynamically resizable image - the only thing that would work is some kind of proportional percentage-based coordinate mapping (i.e., X% from the left, Y% from the top). The HTML coords property doesn't support this. Do you know if it is possible to implement this in javascript? Thanks