Hi
I was wanting to use a javascript encrypted email link on my website ie.
somebody@veryhotmail.com which would be written as: -
<script type="text/javascript">
spam='.com'
no='veryhotmail'
email=('somebody' + '@' + no + spam)
document.write('<A href="mailto:' + email + '">' + email + '</a>')
</script>
However if I want to use an image in place of "somebody@veryhotmail.com", how would I incorporate <img src="pic.gif">, for example, into the script?.
I can't seem to get this to work at all. Obviously some additional code is required to indentify the image for use within the script.
Hope someone can help out
Thanks Pundit.