Changeset 772050
- Timestamp:
- 09/14/2013 04:51:31 AM (12 years ago)
- Location:
- tippy
- Files:
-
- 2 deleted
- 5 edited
- 7 copied
Legend:
- Unmodified
- Added
- Removed
-
tippy/tags/6.1.0/jquery.tippy.css
r757687 r772050 77 77 width: 420px; 78 78 max-height: 275px; 79 overflow: auto;80 79 81 80 border-radius: 0 0 5px 5px; 81 position: relative; 82 82 } 83 83 -
tippy/tags/6.1.0/jquery.tippy.js
r758617 r772050 1 1 /* 2 2 * jQuery Tippy 3 * Version 1. 2.53 * Version 1.3.0 4 4 * By Chris Roberts, [email protected] 5 5 * http://croberts.me/ … … 244 244 .appendTo(tipBox); 245 245 246 // Move body content 247 $('#' + tipId).appendTo(tipBody).show(); 246 if (tippy_state[tipId].options.htmlentities == false) { 247 // Move body content 248 $('#' + tipId).appendTo(tipBody).show(); 249 } 248 250 249 251 if (tippy_state[tipId].options.height != false) { … … 438 440 // Check on a swapimg/swaptitle to use if img/title is set 439 441 if (typeof tippy_state[tipId].options.swapimg != 'undefined' && typeof tippy_state[tipId].options.img != 'undefined') { 440 441 442 // If we have a swapimg, just fade it in. 442 443 tippy_state[tipId].swapimg.fadeIn(); … … 447 448 if (!tippy_state[tipId].options.multitip && tippy_showing) { 448 449 doHideTooltip(tippy_showing); 450 } 451 452 // See if we need to decode and pull in content 453 if (tippy_state[tipId].options.htmlentities == true) { 454 var convertMarkup = $("<div/>").html($('#' + tipId).html()).text(); 455 $('.tippy_body', tippy_state[tipId].tipBox).html(convertMarkup).show(); 449 456 } 450 457 … … 486 493 } 487 494 488 tippy_state[tipId].tipBox.fadeOut(tippy_state[tipId].options.hidespeed); 495 tippy_state[tipId].tipBox.fadeOut(tippy_state[tipId].options.hidespeed, function() { 496 // See if we need to clear content 497 if (tippy_state[tipId].options.htmlentities == true) { 498 $('.tippy_body', tippy_state[tipId].tipBox).html(''); 499 } 500 }); 489 501 } 490 502 … … 520 532 dragheader: true, // If dragging is enabled should the visitor only be able to drag from the header? If false, user can move the tooltip from any part. 521 533 autoshow: false, // Should tooltips automatically be displayed when the page is loaded? 522 calcpos: 'parent' // Should the tooltip position be calculated relative to the parent or to the document? 534 calcpos: 'parent', // Should the tooltip position be calculated relative to the parent or to the document? 535 htmlentities: false // If false, Tippy assumes the tooltip content is straight html. If true, assumes it is encoded as entities and needs to be decoded. 523 536 } 524 537 }(jQuery)); -
tippy/tags/6.1.0/readme.txt
r758871 r772050 4 4 Tags: tooltip, popup 5 5 Requires at least: 2.5 6 Tested up to: 3.6 7 Stable tag: 6. 0.76 Tested up to: 3.6.1 7 Stable tag: 6.1.0 8 8 License: MIT 9 9 License URI: https://github.com/jquery/jquery-color/blob/2.1.2/MIT-LICENSE.txt … … 76 76 == Changelog == 77 77 78 = 6.1.0 = 79 * Filters tooltip text through force_balance_tags() to ensure tags are balanced 80 * Add support for nested tooltips. To add a nested tooltip, use the shortcode [subtippy] inside [tippy]. Multiple levels can be added by using a number: [subtippy1]...[/subtippy1], etc. 81 * Fixed a glitch with the initial jQuery load 82 78 83 = 6.0.7 = 79 84 * Tweak to allow shortcode to work in sidebar widgets. -
tippy/tags/6.1.0/tippy.php
r758871 r772050 4 4 Plugin URI: http://croberts.me/tippy/ 5 5 Description: Simple plugin to display tooltips within your WordPress blog. 6 Version: 6. 0.76 Version: 6.1.0 7 7 Author: Chris Roberts 8 8 Author URI: http://croberts.me/ … … 49 49 'hidespeed' => 200, 50 50 'showheader' => true, 51 'calcpos' => 'parent'); 51 'calcpos' => 'parent', 52 'htmlentities' => false); 52 53 53 54 // List all options possible for Tippy. Used to verify valid attributes … … 90 91 'id', 91 92 'name', 92 'calcpos'); 93 'calcpos', 94 'htmlentities'); 93 95 94 96 // Various helper properties … … 281 283 } 282 284 283 if ( Tippy::getOption('linkWindow') == "new") {285 if (self::getOption('linkWindow') == "new") { 284 286 $setOptions .= ', target: "_blank"'; 285 287 } 286 288 287 if ( Tippy::getOption('showTitle')) {289 if (self::getOption('showTitle')) { 288 290 $setOptions .= ', showtitle: true'; 289 291 } else { … … 291 293 } 292 294 293 if ( Tippy::getOption('openTip') == "hover") {295 if (self::getOption('openTip') == "hover") { 294 296 $setOptions .= ', hoverpopup: true'; 295 297 } else { … … 297 299 } 298 300 299 if ( Tippy::getOption('dragTips')) {301 if (self::getOption('dragTips')) { 300 302 $setOptions .= ', draggable: true'; 301 303 } else { … … 303 305 } 304 306 305 if ( Tippy::getOption('dragHeader')) {307 if (self::getOption('dragHeader')) { 306 308 $setOptions .= ', dragheader: true'; 307 309 } else { … … 309 311 } 310 312 311 if ( Tippy::getOption('multitip')) {313 if (self::getOption('multitip')) { 312 314 $setOptions .= ', multitip: true'; 313 315 } else { … … 315 317 } 316 318 317 if ( Tippy::getOption('autoshow')) {319 if (self::getOption('autoshow')) { 318 320 $setOptions .= ', autoshow: true'; 319 321 } else { … … 322 324 323 325 324 if ( Tippy::getOption('showheader')) {326 if (self::getOption('showheader')) { 325 327 $setOptions .= ', showheader: true'; 326 328 } else { … … 328 330 } 329 331 330 if ( Tippy::getOption('showClose')) {332 if (self::getOption('showClose')) { 331 333 $setOptions .= ', showclose: true'; 332 334 } else { 333 335 $setOptions .= ', showclose: false'; 336 } 337 338 if (self::getOption('htmlentities')) { 339 $setOptions .= ', htmlentities: true'; 340 } else { 341 $setOptions .= ', htmlentities: false'; 334 342 } 335 343 336 344 echo ' 337 345 <script type="text/javascript"> 338 jQuery( \'document\').ready(function() {346 jQuery(document).ready(function() { 339 347 jQuery(\'.tippy\').tippy({ '. $setOptions .' }); 340 348 }); … … 382 390 self::$tippyGlobalOptions['showTitle'] = isset($_POST['showTitle']) ? true : false; 383 391 self::$tippyGlobalOptions['showClose'] = isset($_POST['showClose']) ? true : false; 392 self::$tippyGlobalOptions['htmlentities'] = isset($_POST['htmlentities']) ? false : true; 384 393 self::$tippyGlobalOptions['closeLinkText'] = isset($_POST['closeLinkText']) ? sanitize_text_field($_POST['closeLinkText']) : 'X'; 385 394 self::$tippyGlobalOptions['delay'] = isset($_POST['delay']) ? intval($_POST['delay']) : 900; … … 441 450 } 442 451 452 // See if we are converting to htmlentities 453 if ((isset($attributes['htmlentities']) && $attributes['htmlentities'] == "true") || (!isset($attributes['htmlentities']) && self::getOption('htmlentities'))) { 454 $text = htmlentities($text); 455 } 456 443 457 // Loop through $attributes and make sure they are in self::tippyOptionNames 444 458 // then add them to our data set … … 453 467 454 468 // Create the div with the text in place 455 $tooltipContent = self::addContent($text, $tippyId); 469 if (!in_the_loop() || (isset($attributes['subtip']) && $attributes['subtip'] == true)) { 470 $storeContent = false; 471 } else { 472 $storeContent = true; 473 } 474 475 $tooltipContent = self::addContent($text, $tippyId, $storeContent); 456 476 457 477 self::$countTips++; … … 459 479 $returnTip = '<a id="'. $tippyId .'_anchor"></a>'; 460 480 461 if (! in_the_loop()) {481 if (!$storeContent) { 462 482 $returnTip .= ' '. $tooltipContent; 463 483 } … … 471 491 } 472 492 473 private static function addContent($contentText, $contentId )493 private static function addContent($contentText, $contentId, $storeContent = true) 474 494 { 475 495 // Put the attributes together … … 480 500 } 481 501 482 $tooltipDiv = '<div class="tippy" '. $tooltipAttributes .'>'. do_shortcode($contentText) .'</div>'; 483 484 self::$tippyContent[$contentId] = $tooltipDiv; 502 // Balance tags 503 $contentText = force_balance_tags($contentText); 504 505 // Check for nested tooltips 506 $contentText = self::getNested($contentText); 507 508 // Process shortcodes 509 $contentText = do_shortcode($contentText); 510 511 $tooltipDiv = '<div class="tippy" '. $tooltipAttributes .'>'. $contentText .'</div>'; 512 513 if ($storeContent) { 514 self::$tippyContent[$contentId] = $tooltipDiv; 515 } 485 516 486 517 return $tooltipDiv; 518 } 519 520 // Looks inside a tooltip for any nested tooltips. Because of the tag matching, 521 // the ShortCode API is deficient and we need our own approach. 522 private static function getNested($contentText) 523 { 524 // Look for subtippy matches, including those with numeric suffixes. 525 preg_match_all('/\[subtippy([1-9])?([^\]]+)?\](.*)(?!\[subtippy)\[\/subtippy\1?\]/', $contentText, $matchNested); 526 527 if (!empty($matchNested[0])) { 528 for ($i = 0 ; $i < sizeof($matchNested[0]) ; $i++) { 529 $subTag = $matchNested[0][$i]; 530 $subAttributes = shortcode_parse_atts(trim($matchNested[2][$i])); 531 532 // Flag this so other parts of the script know we're dealing with a nested tooltip 533 $subAttributes['subtip'] = true; 534 $subContent = trim($matchNested[3][$i]); 535 536 $replaceText = self::getLink($subAttributes, $subContent); 537 $contentText = str_replace($subTag, $replaceText, $contentText); 538 } 539 } 540 541 return $contentText; 487 542 } 488 543 -
tippy/tags/6.1.0/tippy_admin.php
r758617 r772050 100 100 <div class="tippyHeader"><span>Close Link</span> (<?php echo do_shortcode('[tippy title="info" header="off" autoclose="true" position="link" delay="900" offsetx="0" offsety="10" width="400"]Do you want to display a Close link so visitors can manually close the tooltip? If so, what should the Close link say?[/tippy]'); ?>)</div> 101 101 <div class="tippyOptions"> 102 <input id="tippy_showClose" name="showClose" type="checkbox" value="true" <?php if (Tippy::getOption('showClose') == 'true') echo "checked" ?> />102 <input id="tippy_showClose" name="showClose" type="checkbox" value="true" <?php if (Tippy::getOption('showClose') == true) echo "checked" ?> /> 103 103 <label for="tippy_showClose"> 104 104 Show close link on tooltips … … 109 109 </label> 110 110 <input id="tippy_closeLinkText" name="closeLinkText" size="15" type="text" value="<?php echo Tippy::getOption('closeLinkText'); ?>" /> 111 </div> 112 113 <div class="tippyHeader"><span>Autoload Content</span> (<?php echo do_shortcode('[tippy title="info" header="off" autoclose="true" position="link" delay="900" offsetx="0" offsety="10" width="400"]Should tooltip content automatically load with the page? Typically this is desirable, but if you have something like audio set to autoplay when the tooltip opens, you might want to turn off autoload.[/tippy]'); ?>)</div> 114 <div class="tippyOptions"> 115 <input id="tippy_autoload" name="htmlentities" type="checkbox" value="false" <?php if (Tippy::getOption('htmlentities') == false) echo "checked" ?> /> 116 <label for="tippy_autoload"> 117 Autoload Content 118 </label> 111 119 </div> 112 120 </div><!-- .tippyOptionSection --> -
tippy/trunk/jquery.tippy.css
r757687 r772050 77 77 width: 420px; 78 78 max-height: 275px; 79 overflow: auto;80 79 81 80 border-radius: 0 0 5px 5px; 81 position: relative; 82 82 } 83 83 -
tippy/trunk/jquery.tippy.js
r758617 r772050 1 1 /* 2 2 * jQuery Tippy 3 * Version 1. 2.53 * Version 1.3.0 4 4 * By Chris Roberts, [email protected] 5 5 * http://croberts.me/ … … 244 244 .appendTo(tipBox); 245 245 246 // Move body content 247 $('#' + tipId).appendTo(tipBody).show(); 246 if (tippy_state[tipId].options.htmlentities == false) { 247 // Move body content 248 $('#' + tipId).appendTo(tipBody).show(); 249 } 248 250 249 251 if (tippy_state[tipId].options.height != false) { … … 438 440 // Check on a swapimg/swaptitle to use if img/title is set 439 441 if (typeof tippy_state[tipId].options.swapimg != 'undefined' && typeof tippy_state[tipId].options.img != 'undefined') { 440 441 442 // If we have a swapimg, just fade it in. 442 443 tippy_state[tipId].swapimg.fadeIn(); … … 447 448 if (!tippy_state[tipId].options.multitip && tippy_showing) { 448 449 doHideTooltip(tippy_showing); 450 } 451 452 // See if we need to decode and pull in content 453 if (tippy_state[tipId].options.htmlentities == true) { 454 var convertMarkup = $("<div/>").html($('#' + tipId).html()).text(); 455 $('.tippy_body', tippy_state[tipId].tipBox).html(convertMarkup).show(); 449 456 } 450 457 … … 486 493 } 487 494 488 tippy_state[tipId].tipBox.fadeOut(tippy_state[tipId].options.hidespeed); 495 tippy_state[tipId].tipBox.fadeOut(tippy_state[tipId].options.hidespeed, function() { 496 // See if we need to clear content 497 if (tippy_state[tipId].options.htmlentities == true) { 498 $('.tippy_body', tippy_state[tipId].tipBox).html(''); 499 } 500 }); 489 501 } 490 502 … … 520 532 dragheader: true, // If dragging is enabled should the visitor only be able to drag from the header? If false, user can move the tooltip from any part. 521 533 autoshow: false, // Should tooltips automatically be displayed when the page is loaded? 522 calcpos: 'parent' // Should the tooltip position be calculated relative to the parent or to the document? 534 calcpos: 'parent', // Should the tooltip position be calculated relative to the parent or to the document? 535 htmlentities: false // If false, Tippy assumes the tooltip content is straight html. If true, assumes it is encoded as entities and needs to be decoded. 523 536 } 524 537 }(jQuery)); -
tippy/trunk/readme.txt
r758871 r772050 4 4 Tags: tooltip, popup 5 5 Requires at least: 2.5 6 Tested up to: 3.6 7 Stable tag: 6. 0.76 Tested up to: 3.6.1 7 Stable tag: 6.1.0 8 8 License: MIT 9 9 License URI: https://github.com/jquery/jquery-color/blob/2.1.2/MIT-LICENSE.txt … … 76 76 == Changelog == 77 77 78 = 6.1.0 = 79 * Filters tooltip text through force_balance_tags() to ensure tags are balanced 80 * Add support for nested tooltips. To add a nested tooltip, use the shortcode [subtippy] inside [tippy]. Multiple levels can be added by using a number: [subtippy1]...[/subtippy1], etc. 81 * Fixed a glitch with the initial jQuery load 82 78 83 = 6.0.7 = 79 84 * Tweak to allow shortcode to work in sidebar widgets. -
tippy/trunk/tippy.php
r758871 r772050 4 4 Plugin URI: http://croberts.me/tippy/ 5 5 Description: Simple plugin to display tooltips within your WordPress blog. 6 Version: 6. 0.76 Version: 6.1.0 7 7 Author: Chris Roberts 8 8 Author URI: http://croberts.me/ … … 49 49 'hidespeed' => 200, 50 50 'showheader' => true, 51 'calcpos' => 'parent'); 51 'calcpos' => 'parent', 52 'htmlentities' => false); 52 53 53 54 // List all options possible for Tippy. Used to verify valid attributes … … 90 91 'id', 91 92 'name', 92 'calcpos'); 93 'calcpos', 94 'htmlentities'); 93 95 94 96 // Various helper properties … … 281 283 } 282 284 283 if ( Tippy::getOption('linkWindow') == "new") {285 if (self::getOption('linkWindow') == "new") { 284 286 $setOptions .= ', target: "_blank"'; 285 287 } 286 288 287 if ( Tippy::getOption('showTitle')) {289 if (self::getOption('showTitle')) { 288 290 $setOptions .= ', showtitle: true'; 289 291 } else { … … 291 293 } 292 294 293 if ( Tippy::getOption('openTip') == "hover") {295 if (self::getOption('openTip') == "hover") { 294 296 $setOptions .= ', hoverpopup: true'; 295 297 } else { … … 297 299 } 298 300 299 if ( Tippy::getOption('dragTips')) {301 if (self::getOption('dragTips')) { 300 302 $setOptions .= ', draggable: true'; 301 303 } else { … … 303 305 } 304 306 305 if ( Tippy::getOption('dragHeader')) {307 if (self::getOption('dragHeader')) { 306 308 $setOptions .= ', dragheader: true'; 307 309 } else { … … 309 311 } 310 312 311 if ( Tippy::getOption('multitip')) {313 if (self::getOption('multitip')) { 312 314 $setOptions .= ', multitip: true'; 313 315 } else { … … 315 317 } 316 318 317 if ( Tippy::getOption('autoshow')) {319 if (self::getOption('autoshow')) { 318 320 $setOptions .= ', autoshow: true'; 319 321 } else { … … 322 324 323 325 324 if ( Tippy::getOption('showheader')) {326 if (self::getOption('showheader')) { 325 327 $setOptions .= ', showheader: true'; 326 328 } else { … … 328 330 } 329 331 330 if ( Tippy::getOption('showClose')) {332 if (self::getOption('showClose')) { 331 333 $setOptions .= ', showclose: true'; 332 334 } else { 333 335 $setOptions .= ', showclose: false'; 336 } 337 338 if (self::getOption('htmlentities')) { 339 $setOptions .= ', htmlentities: true'; 340 } else { 341 $setOptions .= ', htmlentities: false'; 334 342 } 335 343 336 344 echo ' 337 345 <script type="text/javascript"> 338 jQuery( \'document\').ready(function() {346 jQuery(document).ready(function() { 339 347 jQuery(\'.tippy\').tippy({ '. $setOptions .' }); 340 348 }); … … 382 390 self::$tippyGlobalOptions['showTitle'] = isset($_POST['showTitle']) ? true : false; 383 391 self::$tippyGlobalOptions['showClose'] = isset($_POST['showClose']) ? true : false; 392 self::$tippyGlobalOptions['htmlentities'] = isset($_POST['htmlentities']) ? false : true; 384 393 self::$tippyGlobalOptions['closeLinkText'] = isset($_POST['closeLinkText']) ? sanitize_text_field($_POST['closeLinkText']) : 'X'; 385 394 self::$tippyGlobalOptions['delay'] = isset($_POST['delay']) ? intval($_POST['delay']) : 900; … … 441 450 } 442 451 452 // See if we are converting to htmlentities 453 if ((isset($attributes['htmlentities']) && $attributes['htmlentities'] == "true") || (!isset($attributes['htmlentities']) && self::getOption('htmlentities'))) { 454 $text = htmlentities($text); 455 } 456 443 457 // Loop through $attributes and make sure they are in self::tippyOptionNames 444 458 // then add them to our data set … … 453 467 454 468 // Create the div with the text in place 455 $tooltipContent = self::addContent($text, $tippyId); 469 if (!in_the_loop() || (isset($attributes['subtip']) && $attributes['subtip'] == true)) { 470 $storeContent = false; 471 } else { 472 $storeContent = true; 473 } 474 475 $tooltipContent = self::addContent($text, $tippyId, $storeContent); 456 476 457 477 self::$countTips++; … … 459 479 $returnTip = '<a id="'. $tippyId .'_anchor"></a>'; 460 480 461 if (! in_the_loop()) {481 if (!$storeContent) { 462 482 $returnTip .= ' '. $tooltipContent; 463 483 } … … 471 491 } 472 492 473 private static function addContent($contentText, $contentId )493 private static function addContent($contentText, $contentId, $storeContent = true) 474 494 { 475 495 // Put the attributes together … … 480 500 } 481 501 482 $tooltipDiv = '<div class="tippy" '. $tooltipAttributes .'>'. do_shortcode($contentText) .'</div>'; 483 484 self::$tippyContent[$contentId] = $tooltipDiv; 502 // Balance tags 503 $contentText = force_balance_tags($contentText); 504 505 // Check for nested tooltips 506 $contentText = self::getNested($contentText); 507 508 // Process shortcodes 509 $contentText = do_shortcode($contentText); 510 511 $tooltipDiv = '<div class="tippy" '. $tooltipAttributes .'>'. $contentText .'</div>'; 512 513 if ($storeContent) { 514 self::$tippyContent[$contentId] = $tooltipDiv; 515 } 485 516 486 517 return $tooltipDiv; 518 } 519 520 // Looks inside a tooltip for any nested tooltips. Because of the tag matching, 521 // the ShortCode API is deficient and we need our own approach. 522 private static function getNested($contentText) 523 { 524 // Look for subtippy matches, including those with numeric suffixes. 525 preg_match_all('/\[subtippy([1-9])?([^\]]+)?\](.*)(?!\[subtippy)\[\/subtippy\1?\]/', $contentText, $matchNested); 526 527 if (!empty($matchNested[0])) { 528 for ($i = 0 ; $i < sizeof($matchNested[0]) ; $i++) { 529 $subTag = $matchNested[0][$i]; 530 $subAttributes = shortcode_parse_atts(trim($matchNested[2][$i])); 531 532 // Flag this so other parts of the script know we're dealing with a nested tooltip 533 $subAttributes['subtip'] = true; 534 $subContent = trim($matchNested[3][$i]); 535 536 $replaceText = self::getLink($subAttributes, $subContent); 537 $contentText = str_replace($subTag, $replaceText, $contentText); 538 } 539 } 540 541 return $contentText; 487 542 } 488 543 -
tippy/trunk/tippy_admin.php
r758617 r772050 100 100 <div class="tippyHeader"><span>Close Link</span> (<?php echo do_shortcode('[tippy title="info" header="off" autoclose="true" position="link" delay="900" offsetx="0" offsety="10" width="400"]Do you want to display a Close link so visitors can manually close the tooltip? If so, what should the Close link say?[/tippy]'); ?>)</div> 101 101 <div class="tippyOptions"> 102 <input id="tippy_showClose" name="showClose" type="checkbox" value="true" <?php if (Tippy::getOption('showClose') == 'true') echo "checked" ?> />102 <input id="tippy_showClose" name="showClose" type="checkbox" value="true" <?php if (Tippy::getOption('showClose') == true) echo "checked" ?> /> 103 103 <label for="tippy_showClose"> 104 104 Show close link on tooltips … … 109 109 </label> 110 110 <input id="tippy_closeLinkText" name="closeLinkText" size="15" type="text" value="<?php echo Tippy::getOption('closeLinkText'); ?>" /> 111 </div> 112 113 <div class="tippyHeader"><span>Autoload Content</span> (<?php echo do_shortcode('[tippy title="info" header="off" autoclose="true" position="link" delay="900" offsetx="0" offsety="10" width="400"]Should tooltip content automatically load with the page? Typically this is desirable, but if you have something like audio set to autoplay when the tooltip opens, you might want to turn off autoload.[/tippy]'); ?>)</div> 114 <div class="tippyOptions"> 115 <input id="tippy_autoload" name="htmlentities" type="checkbox" value="false" <?php if (Tippy::getOption('htmlentities') == false) echo "checked" ?> /> 116 <label for="tippy_autoload"> 117 Autoload Content 118 </label> 111 119 </div> 112 120 </div><!-- .tippyOptionSection -->
Note: See TracChangeset
for help on using the changeset viewer.