Skip to content

cabbiepete/jQuery-Share-Email

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A small jquery plugin to make a simple mailto link based on the current page for sharing via email.

Usage:

  1. Include the script (you'll find it in the src folder)
<script type="text/javascript" src="jquery.shareemail.js"></script>
  1. Call the plugin on the element you wish to turn into the email link.
<script type="text/javascript"> $().shareEmail(); </script>

Where "" is the jQuery selector for the element.

See the test/index.html or http://cabbiepete.github.com/jQuery-Share-Email/ for an examples.