Colin Brazier
asked on
javascript email link with image
Hi experts,
I have this code that works fine
but I wanted to spice it up with an image, rather than just "Email us!" text...how would I do that please?
Cheers,
Col
I have this code that works fine
<p>
<script language=javascript>
<!--
var contact = "Email us!"
var email = "mailbox"
var emailHost = "fobgfc.org"
document.write("<a href=" + "mail" + "to:" + email + "@" + emailHost+ ">" + contact + "</a>")
//-->
</script>
</p>
but I wanted to spice it up with an image, rather than just "Email us!" text...how would I do that please?
Cheers,
Col
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER