🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

socialpic is a tiny jQuery plugin allows to show social share buttons in the overlay as you hover over an image.

hover social-share Overlay social-button image-hover

Documentation

Socialpic

A jquery plugin to share images on social media from your website. Users will be able to hover over an image on your site and share the image on popular social media platforms.

Getting Started

  1. Link to JQuery
  2. Link to Font Awesome
  3. Link to the JS File
  4. Link to the CSS file
  5. Call the function on any img object!
  <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">   <script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>   <script src="./socialpic.min.js" type="text/javascript"></script>   <link href="./socialpic.min.css" rel="stylesheet">  	<script> 	$(function(){ 		$('img').socialpic(); 	}); 	</script> 

License

Code released under MIT License


You May Also Like