- Insert the below line of code between the <head> and </head> of your page.
If on homepages.wmich.edu use:
- Next, in code view, replace your <a href="/%3Ca%20href%3D"mailto:firstname.lastname@example.org">email@example.com">firstname.lastname@example.org</a> text with:
(replace items shown in red with your specific information)
To add a subject line to the email address that is written on the fly, use this code instead of the code in step 2 above:
Instead of displaying a linked email@example.com address on the page, a linked First Last (or use any other text you wish to have displayed as a link) will display.
<script>safemail("firstname.lastname","wmich.edu"," ","First Last")</script>