Responsive Animated Image Pinning Plugin For jQuery Easypin - Download Responsive Animated Image Pinning Plugin For jQuery - Easypin

Download Responsive Animated Image Pinning Plugin For jQuery – Easypin

Posted on

This time I will share jQuery Plugin and tutorial about Responsive Animated Image Pinning Plugin For jQuery – Easypin, hope it will help you in programming stack.

Responsive Animated Image Pinning Plugin For jQuery Easypin - Download Responsive Animated Image Pinning Plugin For jQuery - Easypin
File Size: 48.6 KB
Views Total: 4838
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   



An easy-to-use jQuery image pinning plugin used for adding customizable, interactive notes / markers to your images. The pin content can be viewed via either modal or popover when you click on the image notes / markers.

Basic usage:

1. Load the jQuery Easypin plugin and other required resources into the html page.

1 <script src="/path/to/jquery.min.js"></script>
2 <script src="/path/to/jquery.easing.min.js"></script>
3 <script src="/path/to/jquery.easypin.min.js"></script>

2. Add an image with an unique easypin ID to your webpage.

1 <img src="1.jpg" class="pin" easypin-id="example">

3. Add your custom pin content to the popover as follows:

1 <div style="display:none;" popover>
2   <div>{[content]}</div>
3 </div>

4. Initialize the plugin and adds your image markers to the image.

1 $('.pin').easypinShow({
2   data: '{"example":{/*pin data here*/}}',
3   // more options here
4 });

5. Configuration options.

01 $('.pin').easypinShow({
02  
03   // Pin data and coordinates
04   data: '',
05    
06   // Enable responsive
07   responsive: false,
08  
09   // Set callback all template variables
10   variables: null,
11  
12   popover: {
13     show: false,
14     animate: true
15   },
16  
17   // Each element works before replacing
18   each: null,
19  
20   // Process error event
21   error: null,
22  
23   // Process success event
24   success: null
25    
26 });

About Author:

Author: atayahmet

Website: https://github.com/atayahmet/jquery.easypin


This awesome jQuery plugin is developed by atayahmet. For more Advanced Usages, please check the demo page or visit the official website.




source : jqueryscript.net