jQuery Pin It Button for Images - Version 1.11

Version Description

  • Released 2013-08-25
  • Two minor bugs fixed
Download this release

Release Info

Developer mrsztuczkens
Plugin Icon wp plugin jQuery Pin It Button for Images
Version 1.11
Comparing to
See all releases

Code changes from version 1.10 to 1.11

jquery-pin-it-button-for-images.php CHANGED
@@ -1,11 +1,11 @@
1
<?php
2
/*
3
Plugin Name: jQuery Pin It Button For Images
4
- Plugin URI: http://wordpress.org/extend/plugins/jquery-pin-it-button-for-images/
5
Description: Highlights images on hover and adds a "Pin It" button over them for easy pinning.
6
Author: Marcin Skrzypiec
7
- Version: 1.10
8
- Author URI: http://profiles.wordpress.org/mrsztuczkens
9
*/
10
11
if ( ! function_exists( 'add_action' ) ) {
@@ -18,7 +18,7 @@ if ( ! function_exists( 'add_action' ) ) {
18
* CONSTANTS
19
*
20
*/
21
- define( "JPIBFI_VERSION", "1.1" );
22
define( "JPIBFI_METADATA", "jpibfi_meta" );
23
define( "JPIBFI_SELECTION_OPTIONS", "jpibfi_selection_options" );
24
define( "JPIBFI_VISUAL_OPTIONS", "jpibfi_visual_options" );
1
<?php
2
/*
3
Plugin Name: jQuery Pin It Button For Images
4
+ Plugin URI: http://mrsztuczkens.me/jpibfi/
5
Description: Highlights images on hover and adds a "Pin It" button over them for easy pinning.
6
Author: Marcin Skrzypiec
7
+ Version: 1.11
8
+ Author URI: http://mrsztuczkens.me/
9
*/
10
11
if ( ! function_exists( 'add_action' ) ) {
18
* CONSTANTS
19
*
20
*/
21
+ define( "JPIBFI_VERSION", "1.11" );
22
define( "JPIBFI_METADATA", "jpibfi_meta" );
23
define( "JPIBFI_SELECTION_OPTIONS", "jpibfi_selection_options" );
24
define( "JPIBFI_VISUAL_OPTIONS", "jpibfi_visual_options" );
js/script.js CHANGED
@@ -1,4 +1,5 @@
1
;(function($){
2
3
var jpibfi_debug = false;
4
@@ -61,42 +62,6 @@
61
62
//EVENT HANDLING
63
64
- //handles all click on the pin it button
65
- $( document ).delegate( 'a.pinit-button', 'click', function() {
66
- jpibfiLog( 'Pin In button clicked' );
67
- var index = $(this).attr("data-jpibfi-indexer");
68
- var $image = $('img[data-jpibfi-indexer="' + index+ '"]');
69
-
70
- //Bookmark description is created on click because sometimes it's lazy loaded
71
- var bookmarkDescription = "", descriptionForUrl = "", bookmarkUrl = "";
72
-
73
- //if usePostUrl feature is active, we need to get the data
74
- if ( settings.usePostUrl ) {
75
- var $inputWithData = $image.closest("div.jpibfi_container").children("input.jpibfi").first();
76
-
77
- if ( $inputWithData.length ) {
78
- descriptionForUrl = $inputWithData.attr("data-jpibfi-description")
79
- bookmarkUrl = $inputWithData.attr("data-jpibfi-url");
80
- }
81
- }
82
- bookmarkUrl = bookmarkUrl || settings.pageUrl;
83
-
84
- if ( settings.descriptionOption == 3 )
85
- bookmarkDescription = $image.attr('title') || $image.attr('alt');
86
- else if ( settings.descriptionOption == 2 )
87
- bookmarkDescription = descriptionForUrl || settings.pageDescription;
88
- else if ( settings.descriptionOption == 4 )
89
- bookmarkDescription = settings.siteTitle;
90
-
91
- bookmarkDescription = bookmarkDescription || ( descriptionForUrl || settings.pageTitle );
92
-
93
- var imageUrl = 'http://pinterest.com/pin/create/bookmarklet/?is_video=' + encodeURI('false') + "&url=" + encodeURI(bookmarkUrl) + "&media=" + encodeURI ( $image.data('media') || $image[0].src )
94
- + '&description=' + encodeURIComponent(bookmarkDescription);
95
-
96
- window.open(imageUrl, 'Pinterest', 'width=632,height=253,status=0,toolbar=0,menubar=0,location=1,scrollbars=1');
97
- return false;
98
- });
99
-
100
if ( 'static' == settings.mode) {
101
102
jpibfiLog( 'Adding static mode delegates');
@@ -218,6 +183,86 @@
218
jpibfiAddElements();
219
});
220
221
});
222
223
//UTILITY FUNCTIONS
@@ -238,47 +283,6 @@
238
}
239
};
240
241
- function jpibfiCreateAndShowOverlayDiv( $image, buttonPosition ) {
242
- var position = $image.offset();
243
-
244
- var $overlay = jpibfiCreateOverlayDiv( $image, buttonPosition );
245
-
246
- $image.after( $overlay );
247
-
248
- $overlay
249
- .css({
250
- height: $image.get(0).clientHeight + 'px',
251
- width: $image.get(0).clientWidth + 'px'
252
- })
253
- .show()
254
- .offset({ left: position.left, top: position.top });
255
-
256
- return $overlay;
257
- }
258
-
259
- //function creates an overlay div that covers the image
260
- function jpibfiCreateOverlayDiv( $image, buttonPosition ) {
261
-
262
- var indexer = $image.attr("data-jpibfi-indexer");
263
-
264
- return jQuery('<div/>', {
265
- "class": 'pinit-overlay',
266
- "data-jpibfi-indexer": indexer,
267
- title: $image.attr( 'title' ) || ( $image.attr( 'alt' ) || '' ),
268
- html: jpibfiCreatePinitButton( indexer).addClass( jpibfiButtonPositionToClass( buttonPosition ))
269
- })
270
- }
271
-
272
- function jpibfiCreatePinitButton( indexer ){
273
-
274
- return jQuery('<a/>', {
275
- href: '#',
276
- "class": 'pinit-button',
277
- "data-jpibfi-indexer": indexer,
278
- text: "Pin It"
279
- });
280
- }
281
-
282
//returns class name based on given button position
283
function jpibfiButtonPositionToClass( buttonPosition ) {
284
switch( buttonPosition ){
@@ -293,13 +297,13 @@
293
294
//function creates a selector from a list of semicolon separated classes
295
function createSelectorFromList(classes) {
296
- var arrayOfClasses = classes.split(';');
297
298
var selector = "";
299
300
- for (var index in arrayOfClasses) {
301
- if (arrayOfClasses[index])
302
- selector += '.' + arrayOfClasses[index] + ',';
303
}
304
305
if (selector)
1
;(function($){
2
+ "use strict";
3
4
var jpibfi_debug = false;
5
62
63
//EVENT HANDLING
64
65
if ( 'static' == settings.mode) {
66
67
jpibfiLog( 'Adding static mode delegates');
183
jpibfiAddElements();
184
});
185
186
+ //UTILITY FUNCTIONS
187
+
188
+ function jpibfiCreateAndShowOverlayDiv( $image, buttonPosition ) {
189
+ var position = $image.offset();
190
+
191
+ var $overlay = jpibfiCreateOverlayDiv( $image, buttonPosition );
192
+
193
+ $image.after( $overlay );
194
+
195
+ $overlay
196
+ .css({
197
+ height: $image.get(0).clientHeight + 'px',
198
+ width: $image.get(0).clientWidth + 'px'
199
+ })
200
+ .show()
201
+ .offset({ left: position.left, top: position.top });
202
+
203
+ return $overlay;
204
+ }
205
+
206
+ //function creates an overlay div that covers the image
207
+ function jpibfiCreateOverlayDiv( $image, buttonPosition ) {
208
+
209
+ var indexer = $image.attr("data-jpibfi-indexer");
210
+
211
+ return jQuery('<div/>', {
212
+ "class": 'pinit-overlay',
213
+ "data-jpibfi-indexer": indexer,
214
+ title: $image.attr( 'title' ) || ( $image.attr( 'alt' ) || '' ),
215
+ html: jpibfiCreatePinitButton( indexer).addClass( jpibfiButtonPositionToClass( buttonPosition ))
216
+ })
217
+ }
218
+
219
+ function jpibfiCreatePinitButton( indexer ){
220
+
221
+ var $anchor = jQuery('<a/>', {
222
+ href: '#',
223
+ "class": 'pinit-button',
224
+ "data-jpibfi-indexer": indexer,
225
+ text: "Pin It"
226
+ });
227
+
228
+ $anchor.click( function(e) {
229
+ jpibfiLog( 'Pin In button clicked' );
230
+ var index = $(this).attr("data-jpibfi-indexer");
231
+ var $image = $('img[data-jpibfi-indexer="' + index+ '"]');
232
+
233
+ //Bookmark description is created on click because sometimes it's lazy loaded
234
+ var bookmarkDescription = "", descriptionForUrl = "", bookmarkUrl = "";
235
+
236
+ //if usePostUrl feature is active, we need to get the data
237
+ if ( settings.usePostUrl ) {
238
+ var $inputWithData = $image.closest("div.jpibfi_container").children("input.jpibfi").first();
239
+
240
+ if ( $inputWithData.length ) {
241
+ descriptionForUrl = $inputWithData.attr("data-jpibfi-description")
242
+ bookmarkUrl = $inputWithData.attr("data-jpibfi-url");
243
+ }
244
+ }
245
+ bookmarkUrl = bookmarkUrl || settings.pageUrl;
246
+
247
+ if ( settings.descriptionOption == 3 )
248
+ bookmarkDescription = $image.attr('title') || $image.attr('alt');
249
+ else if ( settings.descriptionOption == 2 )
250
+ bookmarkDescription = descriptionForUrl || settings.pageDescription;
251
+ else if ( settings.descriptionOption == 4 )
252
+ bookmarkDescription = settings.siteTitle;
253
+
254
+ bookmarkDescription = bookmarkDescription || ( descriptionForUrl || settings.pageTitle );
255
+
256
+ var imageUrl = 'http://pinterest.com/pin/create/bookmarklet/?is_video=' + encodeURI('false') + "&url=" + encodeURI(bookmarkUrl) + "&media=" + encodeURI ( $image.data('media') || $image[0].src )
257
+ + '&description=' + encodeURIComponent(bookmarkDescription);
258
+
259
+ window.open(imageUrl, 'Pinterest', 'width=632,height=253,status=0,toolbar=0,menubar=0,location=1,scrollbars=1');
260
+ return false;
261
+ });
262
+
263
+ return $anchor;
264
+ }
265
+
266
});
267
268
//UTILITY FUNCTIONS
283
}
284
};
285
286
//returns class name based on given button position
287
function jpibfiButtonPositionToClass( buttonPosition ) {
288
switch( buttonPosition ){
297
298
//function creates a selector from a list of semicolon separated classes
299
function createSelectorFromList(classes) {
300
+ var arrayOfClasses = classes.split( ';' );
301
302
var selector = "";
303
304
+ for (var i = 0; i < arrayOfClasses.length; i++) {
305
+ if ( arrayOfClasses[i] )
306
+ selector += '.' + arrayOfClasses[i] + ',';
307
}
308
309
if (selector)
js/script.min.js CHANGED
@@ -1 +1 @@
1
- (function(e){function n(e){if(t&&console&&console.log){if("string"==typeof e||e instanceof String){console.log("jpibfi debug: "+e)}else if("object"==typeof e&&typeof JSON!=="undefined"&&typeof JSON.stringify==="function"){console.log("jpibfi debug: "+JSON.stringify(e,null,4))}else if("object"==typeof e){var n="";for(var r in e)n+=r+": "+e[r]+"\n";console.log("jpibfi debug: "+n)}}}function r(e,t){var n=e.offset();var r=i(e,t);e.after(r);r.css({height:e.get(0).clientHeight+"px",width:e.get(0).clientWidth+"px"}).show().offset({left:n.left,top:n.top});return r}function i(e,t){var n=e.attr("data-jpibfi-indexer");return jQuery("<div/>",{"class":"pinit-overlay","data-jpibfi-indexer":n,title:e.attr("title")||e.attr("alt")||"",html:s(n).addClass(o(t))})}function s(e){return jQuery("<a/>",{href:"#","class":"pinit-button","data-jpibfi-indexer":e,text:"Pin It"})}function o(e){switch(e){case"0":return"pinit-top-left";case"1":return"pinit-top-right";case"2":return"pinit-bottom-left";case"3":return"pinit-bottom-right";case"4":return"pinit-middle";default:return""}}function u(e){var t=e.split(";");var n="";for(var r in t){if(t[r])n+="."+t[r]+","}if(n)n=n.substr(0,n.length-1);return n}var t=false;e(document).ready(function(){function p(){n("Add Elements called");var t=0;e("img[data-jpibfi-indexer]").each(function(){var n=e(this);if(this.clientWidth<i.minImageWidth||this.clientHeight<i.minImageHeight){n.removeAttr("data-jpibfi-indexer");return}if(i.mode=="static")r(n,i.buttonPosition);t++});n("Images caught after filtering: "+t)}function d(){n("Remove Elements called");e("div.pinit-overlay").remove()}var i={pageUrl:document.URL,pageTitle:document.title,pageDescription:e('meta[name="description"]').attr("content")||"",siteTitle:jpibfi_options.site_title,imageSelector:jpibfi_options.image_selector,disabledClasses:jpibfi_options.disabled_classes,enabledClasses:jpibfi_options.enabled_classes,descriptionOption:jpibfi_options.description_option,usePostUrl:jpibfi_options.use_post_url=="1",minImageHeight:jpibfi_options.min_image_height,minImageWidth:jpibfi_options.min_image_width,mode:jpibfi_options.mode,buttonPosition:jpibfi_options.button_position};var o={height:parseInt(jpibfi_options.pin_image_height),width:parseInt(jpibfi_options.pin_image_width)};var a={top:parseInt(jpibfi_options.button_margin_top),right:parseInt(jpibfi_options.button_margin_right),bottom:parseInt(jpibfi_options.button_margin_bottom),left:parseInt(jpibfi_options.button_margin_left)};t="1"==jpibfi_options.debug;n(i);n(o);n(a);var f=e(".jpibfi").closest("div").addClass("jpibfi_container");n("Number of containers added: "+f.length);var l=u(i.disabledClasses);var c=u(i.enabledClasses)||"*";n("Image selector: "+i.imageSelector);n("Filter selector: "+c);n("Not selector: "+l);var h=0;e(i.imageSelector).not(l).filter(c).each(function(t){e(this).attr("data-jpibfi-indexer",t);h++});n("Images caught by selectors: "+h);e(document).delegate("a.pinit-button","click",function(){n("Pin In button clicked");var t=e(this).attr("data-jpibfi-indexer");var r=e('img[data-jpibfi-indexer="'+t+'"]');var s="",o="",u="";if(i.usePostUrl){var a=r.closest("div.jpibfi_container").children("input.jpibfi").first();if(a.length){o=a.attr("data-jpibfi-description");u=a.attr("data-jpibfi-url")}}u=u||i.pageUrl;if(i.descriptionOption==3)s=r.attr("title")||r.attr("alt");else if(i.descriptionOption==2)s=o||i.pageDescription;else if(i.descriptionOption==4)s=i.siteTitle;s=s||o||i.pageTitle;var f="http://pinterest.com/pin/create/bookmarklet/?is_video="+encodeURI("false")+"&url="+encodeURI(u)+"&media="+encodeURI(r.data("media")||r[0].src)+"&description="+encodeURIComponent(s);window.open(f,"Pinterest","width=632,height=253,status=0,toolbar=0,menubar=0,location=1,scrollbars=1");return false});if("static"==i.mode){n("Adding static mode delegates");e(document).delegate("div.pinit-overlay","hover",function(){var t=e(this).attr("data-jpibfi-indexer");e('.pinit-button[data-jpibfi-indexer="'+t+'"]').toggle();e('img[data-jpibfi-indexer="'+t+'"]').toggleClass("pinit-hover")})}else if("dynamic"==i.mode){n("Adding dynamic mode delegates");e(document).delegate("a.pinit-button","mouseenter",function(){var t=e(this);clearTimeout(t.data("jpibfi-timeoutId"))});e(document).delegate("a.pinit-button","mouseleave",function(){var t=e(this);var n=setTimeout(function(){t.remove();e('img[data-jpibfi-indexer="'+t.attr("data-jpibfi-indexer")+'"]').removeClass("pinit-hover")},100);t.data("jpibfi-timeoutId",n)});e(document).delegate("img[data-jpibfi-indexer]","mouseenter",function(){var t=e(this);var n=t.attr("data-jpibfi-indexer");var r=e('a.pinit-button[data-jpibfi-indexer="'+n+'"]');if(r.length==0){var r=s(n);var u=t.offset();var f={width:t.get(0).clientWidth,height:t.get(0).clientHeight};switch(i.buttonPosition){case"0":u.left+=a.left;u.top+=a.top;break;case"1":u.top+=a.top;u.left=u.left+f.width-a.right-o.width;break;case"2":u.left+=a.left;u.top=u.top+f.height-a.bottom-o.height;break;case"3":u.left=u.left+f.width-a.right-o.width;u.top=u.top+f.height-a.bottom-o.height;break;case"4":u.left=Math.round(u.left+f.width/2-o.width/2);u.top=Math.round(u.top+f.height/2-o.height/2);break}t.after(r);r.show().offset({left:u.left,top:u.top})}else{clearTimeout(r.data("jpibfi-timeoutId"))}e('img[data-jpibfi-indexer="'+r.attr("data-jpibfi-indexer")+'"]').addClass("pinit-hover")});e(document).delegate("img[data-jpibfi-indexer]","mouseleave",function(){var t=e(this).attr("data-jpibfi-indexer");var n=e('a.pinit-button[data-jpibfi-indexer="'+t+'"]');var r=setTimeout(function(){n.remove();e('img[data-jpibfi-indexer="'+n.attr("data-jpibfi-indexer")+'"]').removeClass("pinit-hover")},100);n.data("jpibfi-timeoutId",r)})}e(window).load(p);e(window).resize(function(){d();p()})});})(jQuery)
1
+ (function(e){"use strict";function n(e){if(t&&console&&console.log){if("string"==typeof e||e instanceof String){console.log("jpibfi debug: "+e)}else if("object"==typeof e&&typeof JSON!=="undefined"&&typeof JSON.stringify==="function"){console.log("jpibfi debug: "+JSON.stringify(e,null,4))}else if("object"==typeof e){var n="";for(var r in e)n+=r+": "+e[r]+"\n";console.log("jpibfi debug: "+n)}}}function r(e){switch(e){case"0":return"pinit-top-left";case"1":return"pinit-top-right";case"2":return"pinit-bottom-left";case"3":return"pinit-bottom-right";case"4":return"pinit-middle";default:return""}}function i(e){var t=e.split(";");var n="";for(var r=0;r<t.length;r++){if(t[r])n+="."+t[r]+","}if(n)n=n.substr(0,n.length-1);return n}var t=false;e(document).ready(function(){function h(){n("Add Elements called");var t=0;e("img[data-jpibfi-indexer]").each(function(){var n=e(this);if(this.clientWidth<s.minImageWidth||this.clientHeight<s.minImageHeight){n.removeAttr("data-jpibfi-indexer");return}if(s.mode=="static")d(n,s.buttonPosition);t++});n("Images caught after filtering: "+t)}function p(){n("Remove Elements called");e("div.pinit-overlay").remove()}function d(e,t){var n=e.offset();var r=v(e,t);e.after(r);r.css({height:e.get(0).clientHeight+"px",width:e.get(0).clientWidth+"px"}).show().offset({left:n.left,top:n.top});return r}function v(e,t){var n=e.attr("data-jpibfi-indexer");return jQuery("<div/>",{"class":"pinit-overlay","data-jpibfi-indexer":n,title:e.attr("title")||e.attr("alt")||"",html:m(n).addClass(r(t))})}function m(t){var r=jQuery("<a/>",{href:"#","class":"pinit-button","data-jpibfi-indexer":t,text:"Pin It"});r.click(function(t){n("Pin In button clicked");var r=e(this).attr("data-jpibfi-indexer");var i=e('img[data-jpibfi-indexer="'+r+'"]');var o="",u="",a="";if(s.usePostUrl){var f=i.closest("div.jpibfi_container").children("input.jpibfi").first();if(f.length){u=f.attr("data-jpibfi-description");a=f.attr("data-jpibfi-url")}}a=a||s.pageUrl;if(s.descriptionOption==3)o=i.attr("title")||i.attr("alt");else if(s.descriptionOption==2)o=u||s.pageDescription;else if(s.descriptionOption==4)o=s.siteTitle;o=o||u||s.pageTitle;var l="http://pinterest.com/pin/create/bookmarklet/?is_video="+encodeURI("false")+"&url="+encodeURI(a)+"&media="+encodeURI(i.data("media")||i[0].src)+"&description="+encodeURIComponent(o);window.open(l,"Pinterest","width=632,height=253,status=0,toolbar=0,menubar=0,location=1,scrollbars=1");return false});return r}var s={pageUrl:document.URL,pageTitle:document.title,pageDescription:e('meta[name="description"]').attr("content")||"",siteTitle:jpibfi_options.site_title,imageSelector:jpibfi_options.image_selector,disabledClasses:jpibfi_options.disabled_classes,enabledClasses:jpibfi_options.enabled_classes,descriptionOption:jpibfi_options.description_option,usePostUrl:jpibfi_options.use_post_url=="1",minImageHeight:jpibfi_options.min_image_height,minImageWidth:jpibfi_options.min_image_width,mode:jpibfi_options.mode,buttonPosition:jpibfi_options.button_position};var o={height:parseInt(jpibfi_options.pin_image_height),width:parseInt(jpibfi_options.pin_image_width)};var u={top:parseInt(jpibfi_options.button_margin_top),right:parseInt(jpibfi_options.button_margin_right),bottom:parseInt(jpibfi_options.button_margin_bottom),left:parseInt(jpibfi_options.button_margin_left)};t="1"==jpibfi_options.debug;n(s);n(o);n(u);var a=e(".jpibfi").closest("div").addClass("jpibfi_container");n("Number of containers added: "+a.length);var f=i(s.disabledClasses);var l=i(s.enabledClasses)||"*";n("Image selector: "+s.imageSelector);n("Filter selector: "+l);n("Not selector: "+f);var c=0;e(s.imageSelector).not(f).filter(l).each(function(t){e(this).attr("data-jpibfi-indexer",t);c++});n("Images caught by selectors: "+c);if("static"==s.mode){n("Adding static mode delegates");e(document).delegate("div.pinit-overlay","hover",function(){var t=e(this).attr("data-jpibfi-indexer");e('.pinit-button[data-jpibfi-indexer="'+t+'"]').toggle();e('img[data-jpibfi-indexer="'+t+'"]').toggleClass("pinit-hover")})}else if("dynamic"==s.mode){n("Adding dynamic mode delegates");e(document).delegate("a.pinit-button","mouseenter",function(){var t=e(this);clearTimeout(t.data("jpibfi-timeoutId"))});e(document).delegate("a.pinit-button","mouseleave",function(){var t=e(this);var n=setTimeout(function(){t.remove();e('img[data-jpibfi-indexer="'+t.attr("data-jpibfi-indexer")+'"]').removeClass("pinit-hover")},100);t.data("jpibfi-timeoutId",n)});e(document).delegate("img[data-jpibfi-indexer]","mouseenter",function(){var t=e(this);var n=t.attr("data-jpibfi-indexer");var r=e('a.pinit-button[data-jpibfi-indexer="'+n+'"]');if(r.length==0){var r=m(n);var i=t.offset();var a={width:t.get(0).clientWidth,height:t.get(0).clientHeight};switch(s.buttonPosition){case"0":i.left+=u.left;i.top+=u.top;break;case"1":i.top+=u.top;i.left=i.left+a.width-u.right-o.width;break;case"2":i.left+=u.left;i.top=i.top+a.height-u.bottom-o.height;break;case"3":i.left=i.left+a.width-u.right-o.width;i.top=i.top+a.height-u.bottom-o.height;break;case"4":i.left=Math.round(i.left+a.width/2-o.width/2);i.top=Math.round(i.top+a.height/2-o.height/2);break}t.after(r);r.show().offset({left:i.left,top:i.top})}else{clearTimeout(r.data("jpibfi-timeoutId"))}e('img[data-jpibfi-indexer="'+r.attr("data-jpibfi-indexer")+'"]').addClass("pinit-hover")});e(document).delegate("img[data-jpibfi-indexer]","mouseleave",function(){var t=e(this).attr("data-jpibfi-indexer");var n=e('a.pinit-button[data-jpibfi-indexer="'+t+'"]');var r=setTimeout(function(){n.remove();e('img[data-jpibfi-indexer="'+n.attr("data-jpibfi-indexer")+'"]').removeClass("pinit-hover")},100);n.data("jpibfi-timeoutId",r)})}e(window).load(h);e(window).resize(function(){p();h()})});})(jQuery)
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://bit.ly/Uw2mEP
4
Tags: pinterest, pin it, button, image, images, pinit, social media, hover, click, photo, photos
5
Requires at least: 3.3.0
6
Tested up to: 3.6
7
- Stable tag: 1.10
8
License: GPLv2 or later
9
10
Highlights images on hover and adds a Pinterest "Pin It" button over them for easy pinning.
@@ -69,6 +69,10 @@ Please report them in the plugin's support forum on Wordpress.org.
69
70
== Changelog ==
71
72
= 1.10 =
73
* Released 2013-08-21
74
* Added dynamic mode that allows users to download the image and fixes many issues with the transparency layer
@@ -143,6 +147,9 @@ Please report them in the plugin's support forum on Wordpress.org.
143
144
== Upgrade Notice ==
145
146
= 1.10 =
147
This update is recommended for people who had issues with version 1.00 but version 0.99 worked flawlessly. It adds a new mode that allows users to download images and fixes those issues related to version 1.00.
148
4
Tags: pinterest, pin it, button, image, images, pinit, social media, hover, click, photo, photos
5
Requires at least: 3.3.0
6
Tested up to: 3.6
7
+ Stable tag: 1.11
8
License: GPLv2 or later
9
10
Highlights images on hover and adds a Pinterest "Pin It" button over them for easy pinning.
69
70
== Changelog ==
71
72
+ = 1.11 =
73
+ * Released 2013-08-25
74
+ * Two minor bugs fixed
75
+
76
= 1.10 =
77
* Released 2013-08-21
78
* Added dynamic mode that allows users to download the image and fixes many issues with the transparency layer
147
148
== Upgrade Notice ==
149
150
+ = 1.11 =
151
+ Two minor bug fixes, that's all.
152
+
153
= 1.10 =
154
This update is recommended for people who had issues with version 1.00 but version 0.99 worked flawlessly. It adds a new mode that allows users to download images and fixes those issues related to version 1.00.
155