Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions example.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!doctype html>
<html>
<head>
<script type="text/javascript" src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
<script type="text/javascript" src="jquery.share.js"></script>
<link rel="stylesheet" href="jquery.share.css" />
<script type="text/javascript">
$(document).ready(function(){
$('#mydiv').share({
networks: ['facebook','pinterest','googleplus','twitter','linkedin','tumblr','in1','email','stumbleupon','digg'],
orientation : 'horizontal' /*vertical*/,
title : null /*update title if you dont' want to use the documents title*/,
urlToShare : null /*update urlToShare if you dont' want to use the documents location.href*/,
margin : '3px',
theme : 'icon' /*square*/,
});
});
</script>
</head>
<body>
<div id="mydiv"></div>
</body>
</html>