Ultimate Tag Cloud Widget - Version 1.3.15

Version Description

  • Bux fix; removed jquery 1.7.x dependent functions
Download this release

Release Info

Developer exz
Plugin Icon wp plugin Ultimate Tag Cloud Widget
Version 1.3.15
Comparing to
See all releases

Code changes from version 1.3.14 to 1.3.15

Files changed (4) hide show
  1. readme.txt +8 -1
  2. ultimate-tag-cloud-widget.php +1 -1
  3. utcw.js +23 -23
  4. utcw.min.js +2 -2
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: exz
3
  Tags: widget, tags, configurable, tag cloud
4
  Requires at least: 2.8
5
  Tested up to: 3.3
6
- Stable tag: 1.3.14
7
  Donate link: https://flattr.com/thing/112193/Ultimate-Tag-Cloud-Widget
8
 
9
  This plugin aims to be the most configurable tag cloud widget out there, able to suit all your weird tag cloud needs.
@@ -58,6 +58,9 @@ This is a new plugin, haven't had any questions yet. If you have any, be sure to
58
 
59
  == Changelog ==
60
 
 
 
 
61
  = 1.3.14 =
62
  * Bug fix; tag cloud showed up empty after update from 1.3.12
63
 
@@ -149,6 +152,10 @@ This is a new plugin, haven't had any questions yet. If you have any, be sure to
149
 
150
  == Upgrade Notice ==
151
 
 
 
 
 
152
  = 1.3.14 =
153
 
154
  * Bug fix; fixes problem with empty cloud after upgrade
3
  Tags: widget, tags, configurable, tag cloud
4
  Requires at least: 2.8
5
  Tested up to: 3.3
6
+ Stable tag: 1.3.15
7
  Donate link: https://flattr.com/thing/112193/Ultimate-Tag-Cloud-Widget
8
 
9
  This plugin aims to be the most configurable tag cloud widget out there, able to suit all your weird tag cloud needs.
58
 
59
  == Changelog ==
60
 
61
+ = 1.3.15 =
62
+ * Bux fix; removed jquery 1.7.x dependent functions
63
+
64
  = 1.3.14 =
65
  * Bug fix; tag cloud showed up empty after update from 1.3.12
66
 
152
 
153
  == Upgrade Notice ==
154
 
155
+ = 1.3.15 =
156
+
157
+ * Bug fix; fixes problems with javascript errors on widgets page
158
+
159
  = 1.3.14 =
160
 
161
  * Bug fix; fixes problem with empty cloud after upgrade
ultimate-tag-cloud-widget.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Ultimate tag cloud widget
4
  Plugin URI: http://www.0x539.se/wordpress/ultimate-tag-cloud-widget/
5
  Description: This plugin aims to be the most configurable tag cloud widget out there, able to suit all your wierd tag cloud needs.
6
- Version: 1.3.14
7
  Author: Rickard Andersson
8
  Author URI: http://www.0x539.se
9
  License: GPLv2
3
  Plugin Name: Ultimate tag cloud widget
4
  Plugin URI: http://www.0x539.se/wordpress/ultimate-tag-cloud-widget/
5
  Description: This plugin aims to be the most configurable tag cloud widget out there, able to suit all your wierd tag cloud needs.
6
+ Version: 1.3.15
7
  Author: Rickard Andersson
8
  Author URI: http://www.0x539.se
9
  License: GPLv2
utcw.js CHANGED
@@ -11,38 +11,38 @@ var wTooltipStyle={border:"solid 1px #6295fb",background:"#fff",color:"#000",pad
11
 
12
  (function($){
13
 
14
- $(document).ready(function() {
15
 
16
- $(document).on('click', 'input[id$=-color_none], input[id$=-color_random], input[id$=-color_set], input[id$=-color_span]', function() {
17
 
18
- $("div[id$='set_chooser']").addClass('utcw-hidden');
19
- $("div[id$='span_chooser']").addClass('utcw-hidden');
20
 
21
- if ($(this).val() == 'set') {
22
- $("div[id$='set_chooser']").removeClass('utcw-hidden');
23
- } else if ($(this).val() == 'span') {
24
- $("div[id$='span_chooser']").removeClass('utcw-hidden');
25
- }
26
- });
27
 
28
- $(document).on('click', '.utcw-tab-button', function() {
29
 
30
- var $this = $(this);
31
 
32
- if ( $this.data('id') == "utcw-__i__" ) {
33
- return false;
34
- }
35
 
36
- $this.parent().find(".utcw-tab-button").removeClass("utcw-active");
37
- $this.addClass("utcw-active");
38
 
39
- $this.parent().find("fieldset.utcw").addClass("hidden");
40
- $("#" + $this.data('tab') ).removeClass("hidden");
41
 
42
- utcwActiveTab[ $this.data('id') ] = $this.data('tab');
43
 
44
- return false;
45
- });
46
- });
47
  })(jQuery);
48
 
11
 
12
  (function($){
13
 
14
+ $(document).ready(function() {
15
 
16
+ $('input[id$=-color_none], input[id$=-color_random], input[id$=-color_set], input[id$=-color_span]').live('click', function() {
17
 
18
+ $("div[id$='set_chooser']").addClass('utcw-hidden');
19
+ $("div[id$='span_chooser']").addClass('utcw-hidden');
20
 
21
+ if ($(this).val() == 'set') {
22
+ $("div[id$='set_chooser']").removeClass('utcw-hidden');
23
+ } else if ($(this).val() == 'span') {
24
+ $("div[id$='span_chooser']").removeClass('utcw-hidden');
25
+ }
26
+ });
27
 
28
+ $('.utcw-tab-button').live('click', function() {
29
 
30
+ var $this = $(this);
31
 
32
+ if ( $this.data('id') == "utcw-__i__" ) {
33
+ return false;
34
+ }
35
 
36
+ $this.parent().find(".utcw-tab-button").removeClass("utcw-active");
37
+ $this.addClass("utcw-active");
38
 
39
+ $this.parent().find("fieldset.utcw").addClass("hidden");
40
+ $("#" + $this.data('tab') ).removeClass("hidden");
41
 
42
+ utcwActiveTab[ $this.data('id') ] = $this.data('tab');
43
 
44
+ return false;
45
+ });
46
+ });
47
  })(jQuery);
48
 
utcw.min.js CHANGED
@@ -6,5 +6,5 @@
6
  */
7
  (function(a){a.fn.wTooltip=function(f,r){f=a.extend({content:null,ajax:null,follow:true,auto:true,fadeIn:0,fadeOut:0,appendTip:document.body,degrade:false,offsetY:10,offsetX:1,style:{},className:null,id:null,callBefore:function(t,p,o){},callAfter:function(t,p,o){},clickAction:function(p,o){a(p).hide()},delay:0,timeout:0},f||{});if(!f.style&&typeof f.style!="object"){f.style={};f.style.zIndex="1000"}else{f.style=a.extend({border:"1px solid gray",background:"#edeef0",color:"#000",padding:"10px",zIndex:"1000",textAlign:"left"},f.style||{})}if(typeof r=="function"){f.callAfter=r||f.callAfter}f.style.display="none",f.style.position="absolute";var m,l,q,c,k={},b=true,e=false,n=false,s=document.createElement("div"),g=(typeof document.body.style.maxWidth=="undefined")?true:false,j=(typeof a.talk=="function"&&typeof a.listen=="function")?true:false;if(f.id){s.id=f.id}if(f.className){s.className=f.className}f.degrade=(f.degrade&&g)?true:false;for(var d in f.style){s.style[d]=f.style[d]}function i(o){if(o){if(f.degrade){a(s).html(f.content.replace(/<\/?[^>]+>/gi,""))}else{a(s).html(f.content)}}}if(f.ajax){a.get(f.ajax,function(o){if(o){f.content=o}i(f.content)})}function h(p){function t(u){if(m&&!f.content){m=""}}function o(){if(!e&&f.auto){clearInterval(c);if(f.fadeOut){a(s).fadeOut(f.fadeOut,function(){t(p)})}else{t(p);s.style.display="none"}}if(typeof f.callAfter=="function"){f.callAfter(s,p,f)}if(j){f=a.listen(f)}}if(f.timeout>0){q=setTimeout(function(){o()},f.timeout)}else{o()}}a(s).hover(function(){e=true},function(){e=false;h(k)});if(j){f.key=s;f.plugin="wTooltip";f.channel="wayfarer";a.talk(f)}i(f.content&&!f.ajax);a(s).appendTo(f.appendTip);return this.each(function(){a(this).hover(function(){var p=this;clearTimeout(q);if((this.title||this.titleMemKeep)&&!f.degrade&&!f.content){m=this.title||this.titleMemKeep;if(this.title){this.titleMemKeep=this.title;this.title=""}}if(f.content&&f.degrade){this.title=s.innerHTML}function o(){if(typeof f.callBefore=="function"){f.callBefore(s,p,f)}if(j){f=a.listen(f)}var t;if(f.content){if(!f.degrade){t="block"}}else{if(m&&!f.degrade){a(s).html(unescape(m));t="block";m=""}else{t="none"}}if(f.auto){if(t=="block"&&f.fadeIn){a(s).fadeIn(f.fadeIn)}else{s.style.display=t}}}if(f.delay>0){l=setTimeout(function(){o()},f.delay)}else{o()}},function(){clearTimeout(l);var o=this;b=true;if(!f.follow||n||((f.offsetX<0&&(0-f.offsetX<a(s).outerWidth()))&&(f.offsetY>0&&0-f.offsetY<a(s).outerHeight()))){setTimeout(function(){c=setInterval(function(){h(o)},1)},1)}else{h(this)}});a(this).mousemove(function(v){k=this;if(f.follow||b){var y=a(window).scrollTop(),z=a(window).scrollLeft(),w=v.clientY+y+f.offsetY,t=v.clientX+z+f.offsetX,x=a(f.appendTip).outerHeight(),p=a(f.appendTip).innerHeight(),o=a(window).width()+z-a(s).outerWidth(),u=a(window).height()+y-a(s).outerHeight();w=(x>p)?w-(x-p):w;n=(w>u||t>o)?true:false;if(t-z<=0&&f.offsetX<0){t=z}else{if(t>o){t=o}}if(w-y<=0&&f.offsetY<0){w=y}else{if(w>u){w=u}}s.style.top=w+"px";s.style.left=t+"px";b=false}});if(typeof f.clickAction=="function"){a(this).click(function(){f.clickAction(s,this)})}})}})(jQuery);
8
  var utcwActiveTab=[],wTooltipStyle={border:"solid 1px #6295fb",background:"#fff",color:"#000",padding:"5px",zIndex:1E3};
9
- (function(a){a(document).ready(function(){a(document).on("click","input[id$=-color_none], input[id$=-color_random], input[id$=-color_set], input[id$=-color_span]",function(){a("div[id$='set_chooser']").addClass("utcw-hidden");a("div[id$='span_chooser']").addClass("utcw-hidden");"set"==a(this).val()?a("div[id$='set_chooser']").removeClass("utcw-hidden"):"span"==a(this).val()&&a("div[id$='span_chooser']").removeClass("utcw-hidden")});a(document).on("click",".utcw-tab-button",function(){var b=a(this);
10
- if("utcw-__i__"==b.data("id"))return!1;b.parent().find(".utcw-tab-button").removeClass("utcw-active");b.addClass("utcw-active");b.parent().find("fieldset.utcw").addClass("hidden");a("#"+b.data("tab")).removeClass("hidden");utcwActiveTab[b.data("id")]=b.data("tab");return!1})})})(jQuery);
6
  */
7
  (function(a){a.fn.wTooltip=function(f,r){f=a.extend({content:null,ajax:null,follow:true,auto:true,fadeIn:0,fadeOut:0,appendTip:document.body,degrade:false,offsetY:10,offsetX:1,style:{},className:null,id:null,callBefore:function(t,p,o){},callAfter:function(t,p,o){},clickAction:function(p,o){a(p).hide()},delay:0,timeout:0},f||{});if(!f.style&&typeof f.style!="object"){f.style={};f.style.zIndex="1000"}else{f.style=a.extend({border:"1px solid gray",background:"#edeef0",color:"#000",padding:"10px",zIndex:"1000",textAlign:"left"},f.style||{})}if(typeof r=="function"){f.callAfter=r||f.callAfter}f.style.display="none",f.style.position="absolute";var m,l,q,c,k={},b=true,e=false,n=false,s=document.createElement("div"),g=(typeof document.body.style.maxWidth=="undefined")?true:false,j=(typeof a.talk=="function"&&typeof a.listen=="function")?true:false;if(f.id){s.id=f.id}if(f.className){s.className=f.className}f.degrade=(f.degrade&&g)?true:false;for(var d in f.style){s.style[d]=f.style[d]}function i(o){if(o){if(f.degrade){a(s).html(f.content.replace(/<\/?[^>]+>/gi,""))}else{a(s).html(f.content)}}}if(f.ajax){a.get(f.ajax,function(o){if(o){f.content=o}i(f.content)})}function h(p){function t(u){if(m&&!f.content){m=""}}function o(){if(!e&&f.auto){clearInterval(c);if(f.fadeOut){a(s).fadeOut(f.fadeOut,function(){t(p)})}else{t(p);s.style.display="none"}}if(typeof f.callAfter=="function"){f.callAfter(s,p,f)}if(j){f=a.listen(f)}}if(f.timeout>0){q=setTimeout(function(){o()},f.timeout)}else{o()}}a(s).hover(function(){e=true},function(){e=false;h(k)});if(j){f.key=s;f.plugin="wTooltip";f.channel="wayfarer";a.talk(f)}i(f.content&&!f.ajax);a(s).appendTo(f.appendTip);return this.each(function(){a(this).hover(function(){var p=this;clearTimeout(q);if((this.title||this.titleMemKeep)&&!f.degrade&&!f.content){m=this.title||this.titleMemKeep;if(this.title){this.titleMemKeep=this.title;this.title=""}}if(f.content&&f.degrade){this.title=s.innerHTML}function o(){if(typeof f.callBefore=="function"){f.callBefore(s,p,f)}if(j){f=a.listen(f)}var t;if(f.content){if(!f.degrade){t="block"}}else{if(m&&!f.degrade){a(s).html(unescape(m));t="block";m=""}else{t="none"}}if(f.auto){if(t=="block"&&f.fadeIn){a(s).fadeIn(f.fadeIn)}else{s.style.display=t}}}if(f.delay>0){l=setTimeout(function(){o()},f.delay)}else{o()}},function(){clearTimeout(l);var o=this;b=true;if(!f.follow||n||((f.offsetX<0&&(0-f.offsetX<a(s).outerWidth()))&&(f.offsetY>0&&0-f.offsetY<a(s).outerHeight()))){setTimeout(function(){c=setInterval(function(){h(o)},1)},1)}else{h(this)}});a(this).mousemove(function(v){k=this;if(f.follow||b){var y=a(window).scrollTop(),z=a(window).scrollLeft(),w=v.clientY+y+f.offsetY,t=v.clientX+z+f.offsetX,x=a(f.appendTip).outerHeight(),p=a(f.appendTip).innerHeight(),o=a(window).width()+z-a(s).outerWidth(),u=a(window).height()+y-a(s).outerHeight();w=(x>p)?w-(x-p):w;n=(w>u||t>o)?true:false;if(t-z<=0&&f.offsetX<0){t=z}else{if(t>o){t=o}}if(w-y<=0&&f.offsetY<0){w=y}else{if(w>u){w=u}}s.style.top=w+"px";s.style.left=t+"px";b=false}});if(typeof f.clickAction=="function"){a(this).click(function(){f.clickAction(s,this)})}})}})(jQuery);
8
  var utcwActiveTab=[],wTooltipStyle={border:"solid 1px #6295fb",background:"#fff",color:"#000",padding:"5px",zIndex:1E3};
9
+ (function(a){a(document).ready(function(){a("input[id$=-color_none], input[id$=-color_random], input[id$=-color_set], input[id$=-color_span]").live("click",function(){a("div[id$='set_chooser']").addClass("utcw-hidden");a("div[id$='span_chooser']").addClass("utcw-hidden");"set"==a(this).val()?a("div[id$='set_chooser']").removeClass("utcw-hidden"):"span"==a(this).val()&&a("div[id$='span_chooser']").removeClass("utcw-hidden")});a(".utcw-tab-button").live("click",function(){var b=a(this);if("utcw-__i__"==
10
+ b.data("id"))return!1;b.parent().find(".utcw-tab-button").removeClass("utcw-active");b.addClass("utcw-active");b.parent().find("fieldset.utcw").addClass("hidden");a("#"+b.data("tab")).removeClass("hidden");utcwActiveTab[b.data("id")]=b.data("tab");return!1})})})(jQuery);