Hi all, I have an image that I generate dynamically. The thing is, I want to use this image as a image map! So I can click many parts of this image to load a javascript function. The thing is, how can I tell the image to use the right map? Can I put the "<img map>" on the html part of the aspx? The thing is,
I don't see anything like: imgName.usemap="theMapName";
Here's how I generate the image:
/*********************************************
System.Web.UI.WebControls.Image imgZoom;
imgZoom = new System.Web.UI.WebControls.Image();
imgZoom.ImageUrl = "../images/zoom.jpg";
imgZoom.ID = "theZoom";
**********************************************/
I hope my english is not too bad and I it's clear to understand what I mean!
Thanks in advance...
McKaulick
I don't see anything like: imgName.usemap="theMapName";
Here's how I generate the image:
/*********************************************
System.Web.UI.WebControls.Image imgZoom;
imgZoom = new System.Web.UI.WebControls.Image();
imgZoom.ImageUrl = "../images/zoom.jpg";
imgZoom.ID = "theZoom";
**********************************************/
I hope my english is not too bad and I it's clear to understand what I mean!
Thanks in advance...
McKaulick