Jump to content

Proportional Image Mapping?

Guest lije

Recommended Posts

Hi all. 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. Is it possible to implement this using javascript?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...