Skip to content

Simple share plugin for Facebook, Twitter, Google+ and Linkedin.

Notifications You must be signed in to change notification settings

urazkines/checkpoint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

checkpoint

Simple share plugin for Facebook, Twitter, Google+ and Linkedin.

Usage

Download the minified library and include it in your html.

<script src="js/checkpoint.min.js"></script>

Here is boilerplate html for checkpoint.js:

<!doctype html>
<html>
<head>
	<script src="js/checkpoint.min.js"></script>
	<script>
		$('.facebook').checkpoint('facebook');
		$('.twitter').checkpoint('twitter');
		$('.google').checkpoint('google');
		$('.linkedin').checkpoint('linkedin');
	</script>
</head>
<body>
	<a href="#" class="facebook" data-title="title" data-text="text" data-url="url" data-img="image">Facebook</a>
	<a href="#" class="twitter" data-text="text" data-url="url">Twitter</a>
	<a href="#" class="google" data-url="url">Google</a>
	<a href="#" class="linkedin" data-title="title" data-text="text" data-url="url">Linkedin</a>
</body>
</html>

Options

You can change attributes from options in plugin.

About

Simple share plugin for Facebook, Twitter, Google+ and Linkedin.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published