/ Published in: JavaScript

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function mailpage() { mail_str = "mailto:?subject=Link from Yourwebsite.com"; mail_str += "&body=I thought you would enjoy looking at this page."; mail_str += " " + parent.location.href; location.href = mail_str; } <a href="javascript:mailpage()">E-mail this page</a>
Comments
