Here is a bit of JavaScript that can be used by a site visitor to email a page. Nothing fancy - just a plain ol' mailto command.
1: <script type="text/javascript">
2: function mailThisPage()
3: {
4: var link = window.location;
5: var emailSubject = "Check this out: "+ document.title;
6: var emailAddress=prompt("Please enter the recipients email address","");
7: window.location = "mailto:"+emailAddress+"?Subject="+emailSubject+"&body="+link
8: }
9: </script>
Technorati Tags:
javascript