I want to make something to what has been done here:
http://www.cw-internetdienste.de/pixelselection/
However, it doesn't work if I just copy the pixelSelection.js file from this site. I would really like to make my own, not just something somebody else wrote, but am clueless how to do it.
I've tried .svg and image mapping together, but even if I image map I can't hover the background image within the foreground transparent area, and it's really difficult to map every image in detail.