Forum Moderators: not2easy

Message Too Old, No Replies

Displaying alpha transparent PNG image with image map

         

jibonita

4:03 pm on Sep 26, 2006 (gmt 0)

10+ Year Member



Hi,

here is my image

RemImg = '<img src="images/removeTooltip.png" USEMAP="#RemImgMap">';

which i transformed in this one in order to receive tranparency of the png image in IE.

RemImg = '<span style="display:inline-block;width:77px;height:47px;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\'images/removeTooltip.png\', sizingMethod=\'scale\')"><img src="images/spacer.gif" width="77" height="47" USEMAP="#RemImgMap" ></span>';

So the tranparency works but not the image map..What am I doing wrong?

DrDoc

5:18 am on Sep 27, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



... because your PNG is not displayed as a regular image in IE. Instead, it is loaded through a filter, which means that the image map gets lost. I would recommend just using the GIF, since you appear to have one.