Changeset 1366444
- Timestamp:
- 03/08/2016 07:14:54 AM (10 years ago)
- Location:
- muki-tag-cloud/trunk
- Files:
-
- 4 edited
-
jqcloud.css (modified) (1 diff)
-
muki-tag-cloud.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
widget.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
muki-tag-cloud/trunk/jqcloud.css
r802920 r1366444 16 16 17 17 .jqcloud.fresh a[href]:hover {color:#e94252!important;} 18 .jqcloud.fresh span.w10 {color:#3aadb9!important;}19 .jqcloud.fresh span.w9 {color:#e68d15!important;}20 .jqcloud.fresh span.w8 {color:#843014!important;}21 .jqcloud.fresh span.w7 {color:#62693d!important;}22 .jqcloud.fresh span.w6 {color:#a8a852!important;}23 .jqcloud.fresh span.w5 {color:#785430!important;}24 .jqcloud.fresh span.w4 {color:#8db9aa!important;}25 .jqcloud.fresh span.w3 {color:#cc99cc!important;}26 .jqcloud.fresh span.w2 {color:#525a4b!important;}27 .jqcloud.fresh span.w1 {color:#9d88d6!important;}18 .jqcloud.fresh span.w10 a {color:#3aadb9!important;} 19 .jqcloud.fresh span.w9 a {color:#e68d15!important;} 20 .jqcloud.fresh span.w8 a {color:#843014!important;} 21 .jqcloud.fresh span.w7 a {color:#62693d!important;} 22 .jqcloud.fresh span.w6 a {color:#a8a852!important;} 23 .jqcloud.fresh span.w5 a {color:#785430!important;} 24 .jqcloud.fresh span.w4 a {color:#8db9aa!important;} 25 .jqcloud.fresh span.w3 a {color:#cc99cc!important;} 26 .jqcloud.fresh span.w2 a {color:#525a4b!important;} 27 .jqcloud.fresh span.w1 a {color:#9d88d6!important;} 28 28 .jqcloud.light a[href]:hover {color:#eced87!important;} 29 .jqcloud.light span.w10 {color:#fdaeaa!important;}30 .jqcloud.light span.w9 {color:#f0b48b!important;}31 .jqcloud.light span.w8 {color:#f0b48b!important;}32 .jqcloud.light span.w7 {color:#bade83!important;}33 .jqcloud.light span.w6 {color:#98dee0!important;}34 .jqcloud.light span.w5 {color:#bade83!important;}35 .jqcloud.light span.w4 {color:#fdaeaa!important;}36 .jqcloud.light span.w3 {color:#90aff8!important;}37 .jqcloud.light span.w2 {color:#98dee0!important;}38 .jqcloud.light span.w1 {color:#90aff8!important;}29 .jqcloud.light span.w10 a {color:#fdaeaa!important;} 30 .jqcloud.light span.w9 a {color:#f0b48b!important;} 31 .jqcloud.light span.w8 a {color:#f0b48b!important;} 32 .jqcloud.light span.w7 a {color:#bade83!important;} 33 .jqcloud.light span.w6 a {color:#98dee0!important;} 34 .jqcloud.light span.w5 a {color:#bade83!important;} 35 .jqcloud.light span.w4 a {color:#fdaeaa!important;} 36 .jqcloud.light span.w3 a {color:#90aff8!important;} 37 .jqcloud.light span.w2 a {color:#98dee0!important;} 38 .jqcloud.light span.w1 a {color:#90aff8!important;} 39 39 .jqcloud.dark a[href]:hover {color:#6b51ae!important;} 40 .jqcloud.dark span.w10 {color:#6a7a52!important;}41 .jqcloud.dark span.w9 {color:#6b51ae!important;}42 .jqcloud.dark span.w8 {color:#934c74!important;}43 .jqcloud.dark span.w7 {color:#dc001a!important;}44 .jqcloud.dark span.w6 {color:#55a9f2!important;}45 .jqcloud.dark span.w5 {color:#45ce5e!important;}46 .jqcloud.dark span.w4 {color:#cc99cc!important;}47 .jqcloud.dark span.w3 {color:#99b333!important;}48 .jqcloud.dark span.w2 {color:#6a7a52!important;}49 .jqcloud.dark span.w1 {color:#c6560c!important;}40 .jqcloud.dark span.w10 a {color:#6a7a52!important;} 41 .jqcloud.dark span.w9 a {color:#6b51ae!important;} 42 .jqcloud.dark span.w8 a {color:#934c74!important;} 43 .jqcloud.dark span.w7 a {color:#dc001a!important;} 44 .jqcloud.dark span.w6 a {color:#55a9f2!important;} 45 .jqcloud.dark span.w5 a {color:#45ce5e!important;} 46 .jqcloud.dark span.w4 a {color:#cc99cc!important;} 47 .jqcloud.dark span.w3 a {color:#99b333!important;} 48 .jqcloud.dark span.w2 a {color:#6a7a52!important;} 49 .jqcloud.dark span.w1 a {color:#c6560c!important;} 50 50 .jqcloud.blue a[href]:hover {color:#d7f1f9!important;} 51 .jqcloud.blue span.w10 {color:#0055a5!important;}52 .jqcloud.blue span.w9 {color:#76c6f0!important;}53 .jqcloud.blue span.w8 {color:#2461aa!important;}54 .jqcloud.blue span.w7 {color:#a6cae1!important;}55 .jqcloud.blue span.w6 {color:#1a4aec!important;}56 .jqcloud.blue span.w5 {color:#2ac3cf!important;}57 .jqcloud.blue span.w4 {color:#2461aa!important;}58 .jqcloud.blue span.w3 {color:#1a4aec!important;}59 .jqcloud.blue span.w2 {color:#86d7d1!important;}60 .jqcloud.blue span.w1 {color:#00d7f8!important;}51 .jqcloud.blue span.w10 a {color:#0055a5!important;} 52 .jqcloud.blue span.w9 a {color:#76c6f0!important;} 53 .jqcloud.blue span.w8 a {color:#2461aa!important;} 54 .jqcloud.blue span.w7 a {color:#a6cae1!important;} 55 .jqcloud.blue span.w6 a {color:#1a4aec!important;} 56 .jqcloud.blue span.w5 a {color:#2ac3cf!important;} 57 .jqcloud.blue span.w4 a {color:#2461aa!important;} 58 .jqcloud.blue span.w3 a {color:#1a4aec!important;} 59 .jqcloud.blue span.w2 a {color:#86d7d1!important;} 60 .jqcloud.blue span.w1 a {color:#00d7f8!important;} 61 61 .jqcloud.red a[href]:hover {color:#ffa001!important;} 62 .jqcloud.red span.w10 {color:#d64e12!important;}63 .jqcloud.red span.w9 {color:#ff660a!important;}64 .jqcloud.red span.w8 {color:#972f38!important;}65 .jqcloud.red span.w7 {color:#a11c48!important;}66 .jqcloud.red span.w6 {color:#c24b37!important;}67 .jqcloud.red span.w5 {color:#c50747!important;}68 .jqcloud.red span.w4 {color:#e85a08!important;}69 .jqcloud.red span.w3 {color:#ff0000!important;}70 .jqcloud.red span.w2 {color:#ff3333!important;}71 .jqcloud.red span.w1 {color:#c50747!important;}62 .jqcloud.red span.w10 a {color:#d64e12!important;} 63 .jqcloud.red span.w9 a {color:#ff660a!important;} 64 .jqcloud.red span.w8 a {color:#972f38!important;} 65 .jqcloud.red span.w7 a {color:#a11c48!important;} 66 .jqcloud.red span.w6 a {color:#c24b37!important;} 67 .jqcloud.red span.w5 a {color:#c50747!important;} 68 .jqcloud.red span.w4 a {color:#e85a08!important;} 69 .jqcloud.red span.w3 a {color:#ff0000!important;} 70 .jqcloud.red span.w2 a {color:#ff3333!important;} 71 .jqcloud.red span.w1 a {color:#c50747!important;} 72 72 .jqcloud.green a[href]:hover {color:#41532e!important;} 73 .jqcloud.green span.w10 {color:#233a0a!important;}74 .jqcloud.green span.w9 {color:#4d7423!important;}75 .jqcloud.green span.w8 {color:#63674c!important;}76 .jqcloud.green span.w7 {color:#6e783e!important;}77 .jqcloud.green span.w6 {color:#72c39a!important;}78 .jqcloud.green span.w5 {color:#99ac3a!important;}79 .jqcloud.green span.w4 {color:#89bd89!important;}80 .jqcloud.green span.w3 {color:#68a14a!important;}81 .jqcloud.green span.w2 {color:#70ca41!important;}82 .jqcloud.green span.w1 {color:#9eca9e!important;}73 .jqcloud.green span.w10 a {color:#233a0a!important;} 74 .jqcloud.green span.w9 a {color:#4d7423!important;} 75 .jqcloud.green span.w8 a {color:#63674c!important;} 76 .jqcloud.green span.w7 a {color:#6e783e!important;} 77 .jqcloud.green span.w6 a {color:#72c39a!important;} 78 .jqcloud.green span.w5 a {color:#99ac3a!important;} 79 .jqcloud.green span.w4 a {color:#89bd89!important;} 80 .jqcloud.green span.w3 a {color:#68a14a!important;} 81 .jqcloud.green span.w2 a {color:#70ca41!important;} 82 .jqcloud.green span.w1 a {color:#9eca9e!important;} 83 83 .jqcloud.gray a[href]:hover {color:#ccc!important;} 84 .jqcloud.gray span.w10 {color:#2c2c2c!important;}85 .jqcloud.gray span.w9 {color:#3e3d3d!important;}86 .jqcloud.gray span.w8 {color:#646464!important;}87 .jqcloud.gray span.w7 {color:#828e82!important;}88 .jqcloud.gray span.w6 {color:#99aa99!important;}89 .jqcloud.gray span.w5 {color:#a7a7a7!important;}90 .jqcloud.gray span.w4 {color:#b9b9b2!important;}91 .jqcloud.gray span.w3 {color:#c1c1c1!important;}92 .jqcloud.gray span.w2 {color:#000!important;}93 .jqcloud.gray span.w1 {color:#adadad!important;}84 .jqcloud.gray span.w10 a {color:#2c2c2c!important;} 85 .jqcloud.gray span.w9 a {color:#3e3d3d!important;} 86 .jqcloud.gray span.w8 a {color:#646464!important;} 87 .jqcloud.gray span.w7 a {color:#828e82!important;} 88 .jqcloud.gray span.w6 a {color:#99aa99!important;} 89 .jqcloud.gray span.w5 a {color:#a7a7a7!important;} 90 .jqcloud.gray span.w4 a {color:#b9b9b2!important;} 91 .jqcloud.gray span.w3 a {color:#c1c1c1!important;} 92 .jqcloud.gray span.w2 a {color:#000!important;} 93 .jqcloud.gray span.w1 a {color:#adadad!important;} 94 94 95 95 /* layout */ -
muki-tag-cloud/trunk/muki-tag-cloud.php
r1360040 r1366444 6 6 Author: Muki 7 7 Author URI: http://muki.tw 8 Version: 2. 08 Version: 2.1 9 9 */ 10 10 -
muki-tag-cloud/trunk/readme.txt
r1360040 r1366444 5 5 Requires at least: 3.5 6 6 Tested up to: 4.4.2 7 Stable tag: 2. 07 Stable tag: 2.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 33 33 34 34 == Changelog == 35 36 = 2.1 = 37 * 調整 CSS 樣式增強權重 38 * 修正 jQuery 主程式載入問題 39 * Released 2016.03.08 35 40 36 41 = 2.0 = -
muki-tag-cloud/trunk/widget.php
r1360027 r1366444 237 237 if(is_array($word_list) && count($word_list) ) 238 238 { 239 echo '<script type="text/javascript">'."\n"; 240 if(muki_tag_cloud_get_option('usejq') =='wp') 241 { 242 echo 'jQuery(function($){'."\n"; 243 }else{ 244 echo '$(function(){'."\n"; 245 } 239 if(muki_tag_cloud_get_option('usejq') =='wp') 240 { 241 echo '<script type="text/javascript" defer="defer">'."\n"; 242 echo '(function timerCheckjQuery(){if(typeof jQuery != "undefined"){muki_tag_cloud_run(jQuery);}else{var t=setTimeout(timerCheckjQuery,1000);}})();'."\n"; 243 echo 'var muki_tag_cloud_run = function($){'; 244 }else{ 245 echo '<script type="text/javascript">'."\n"; 246 echo '$(function(){'."\n"; 247 } 246 248 echo 'var word_list = '.json_encode($word_list).';'."\n"; 247 249 foreach( $word_list as $id => $data) … … 249 251 echo "\t".'$(\'#muki_tag_cloud_'.$id.'\').empty().jQCloud(word_list["'.$id.'"]);' ."\n"; 250 252 } 251 echo '})'."\n"; 253 if(muki_tag_cloud_get_option('usejq') =='wp') 254 { 255 echo '}'."\n"; 256 }else{ 257 echo '})'."\n"; 258 } 252 259 echo '</script>'; 253 260 } … … 275 282 /* head script prefix add*/ 276 283 function muki_tag_cloud_script_prefix_add() { 284 wp_enqueue_script( 'jquery' ); 277 285 $jqcloud = muki_tag_cloud_get_option('usejq') =='wp' ? 'jqcloud-1.0.4.wp.min.js' : 'jqcloud-1.0.4.min.js'; 278 wp_enqueue_script( 'muki-jqcloud-script', plugins_url(MUKI_TG_NAME.'/' . $jqcloud), array( 'jquery') );286 wp_enqueue_script( 'muki-jqcloud-script', plugins_url(MUKI_TG_NAME.'/' . $jqcloud), array( 'jquery') ,true); 279 287 /* Enqueue Styles */ 280 288 wp_register_style( 'muki-jqcloud-stylesheet', plugins_url(MUKI_TG_NAME.'/jqcloud.css') );
Note: See TracChangeset
for help on using the changeset viewer.