Forum Moderators: open

Message Too Old, No Replies

image maps

coordinates expressed as percentages

         

gstick

7:11 pm on Oct 17, 2009 (gmt 0)

10+ Year Member



I am using spatial/geographic imagery. User maps would be perfect for linking to different areas of the site. Coordinates in pixels do not seem to work across different resolutions and zoom settings. Yet coordinates in percentages do not seem to work at all.

Is there any way around the problem?

tedster

12:05 am on Oct 18, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



How about using a script to generate the image map code. Then the script could use the visitor's resolution as a variable and output the coordinates to the map's area attribute as pixels.

gstick

11:42 am on Oct 19, 2009 (gmt 0)

10+ Year Member



Thanks Tedster. I'm off in that direction.