You've re-activated my curiosity! I've just written a piece of code that handle on the fly image map creation & binding in JavaScript :
Code:
<img src='test.png' id='testPicture' width='756' height='161' alt='' class='pChartPicture'/>
<script>
createMap('pictureMap');
bindMap('testPicture','pictureMap');
addArea('pictureMap','RECT','0,0,20,20','alert("Rect area");');
addArea('pictureMap','CIRCLE','30,30,10','alert("Circle area");');
</script>
I'll use it as a base to rewrite this functionnality in the v2 trunk. I have some other ideas that will make it better and easier to use than in the v1 (no need anymore to create temporary files, better code integration,.. )
Thank you!
JD.