Variable-sized Image Map, version 0.01

/ Published in: JavaScript
Save to your folder(s)


I just thought I would share something I made that I tested in IE6, IE8, Firefox 3.6, and Chrome 4. It allows you to resize a client-side image map based on the size of the image, so when your image resizes, your map still works how you want it to.

This is my first revision. There are a lot of easy improvements to be made. I'll post them sometime later. It should support "rect" but I only tested it with "poly". Might even work with "circle".

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.