View Full Version : Email this URL script

03-19-2006, 10:46 PM
I am wanting an easy way for site visitors to tell others about the site. I found this script and modified it for my purposes. It works on mozilla browsers such as FireFox but not on IE.

<img src="images/mail6.jpg" width="88" height="31" border="0" alt="Email a friend" <A href="mailto:?Subject=I found a website that you may find useful.&Body=I thought you might find this URL interesting. It tells how to use food to control diabetes, cholesterol, weight and other health related issues. http://www.nutricoach.net" class="index" onMouseover="window.status='RECOMMEND this page to your friends'; return true;" onMouseout="window.status=''; return true" title="Recommend the URL for this page here to your friends. It is as easy as sending an e-mail">Email This URL</A>

On Ie it shows the email graphic and wording that says Email This URL but is not a clickable link. How does this code need to be changed so it will work on all browsers?


03-19-2006, 10:59 PM
I'd say you need to close the image tag:

<img src="images/mail6.jpg" width="88" height="31" border="0" alt="Email a friend"> <!-- see this red arrow? -->