I don't know if this can even be done.
On this web page I'm developing there is an image with imagemaps and one of the hotspots is a contact link with an email. I'm trying to hide this email from spam harvesting robots and the usual javascript I use to scramble the address simply does not work in this case. The imagemap maps the coordinates of the hot spot and then has a href="#" where the link should go. If I insert the javascript code there ("#") it simply doesn't work.
I'm not a javascript programmer, so if somebody can guide me through this It will be greatly appreciated. If anyone has anyother method to achieve the same result, I will be more than glad to try it out.
Somebody already mentioned to me that it was not necessary to hide the email from spammers in this case, because being that the mailto link is within the image and there is no text involved, the bots can't harvest it. His explanation does not have me totally convinced...but if somebody else can corroborate this, it will be interesting (and make my life easier).
To all this, I hope I've made myself clear in explaining my predicament.
TIA
On this web page I'm developing there is an image with imagemaps and one of the hotspots is a contact link with an email. I'm trying to hide this email from spam harvesting robots and the usual javascript I use to scramble the address simply does not work in this case. The imagemap maps the coordinates of the hot spot and then has a href="#" where the link should go. If I insert the javascript code there ("#") it simply doesn't work.
I'm not a javascript programmer, so if somebody can guide me through this It will be greatly appreciated. If anyone has anyother method to achieve the same result, I will be more than glad to try it out.
Somebody already mentioned to me that it was not necessary to hide the email from spammers in this case, because being that the mailto link is within the image and there is no text involved, the bots can't harvest it. His explanation does not have me totally convinced...but if somebody else can corroborate this, it will be interesting (and make my life easier).
To all this, I hope I've made myself clear in explaining my predicament.
TIA