Changeset 3158849
- Timestamp:
- 09/27/2024 02:57:20 PM (16 months ago)
- Location:
- interactive-image-map-builder/trunk
- Files:
-
- 3 edited
-
assets/js/main-output-file.js (modified) (2 diffs)
-
index.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
interactive-image-map-builder/trunk/assets/js/main-output-file.js
r3147856 r3158849 234 234 let topPos; 235 235 if (toolTipPosition == 1 || alwaysShow == 1) { 236 fromTop -=contentHeight;236 fromTop = fromTop + areaHeight / 2 - contentHeight; 237 237 topPos = fromTop + "px"; 238 238 } else if (toolTipPosition == 2) { … … 470 470 maxY = 0, 471 471 minY = 0, 472 coords = coords.split(" "); 473 474 for (var j = 0; j < coords.length; j++) { 475 var tempCords = coords[j].split(","); 472 coordsArray = coords.split(" "); 473 474 for (var j = 0; j < coordsArray.length; j++) { 475 var tempCords = coordsArray[j].split(","); 476 var x = parseFloat(tempCords[0]); 477 var y = parseFloat(tempCords[1]); 478 476 479 if (j == 0) { 477 maxX = tempCords[0];478 minX = tempCords[0];479 maxY = tempCords[1];480 minY = tempCords[1];480 maxX = x; 481 minX = x; 482 maxY = y; 483 minY = y; 481 484 } else { 482 if (tempCords[0] > maxX) maxX = tempCords[0]; 483 if (tempCords[0] < minX) minX = tempCords[0]; 484 485 if (tempCords[1] > maxY) maxY = tempCords[1]; 486 if (tempCords[1] < minY) minY = tempCords[1]; 485 if (x > maxX) maxX = x; 486 if (x < minX) minX = x; 487 if (y > maxY) maxY = y; 488 if (y < minY) minY = y; 487 489 } 488 490 } -
interactive-image-map-builder/trunk/index.php
r3147856 r3158849 7 7 Author: Mehjabin Orthi 8 8 Author URI: https://www.wpmart.org/ 9 Version: 2. 19 Version: 2.2 10 10 */ 11 11 if (!defined('ABSPATH')) … … 18 18 define('isimb_6310_plugin_url', plugin_dir_path(__FILE__)); 19 19 define('isimb_6310_plugin_dir_url', plugin_dir_url(__FILE__)); 20 define('isimb_6310_PLUGIN_CURRENT_VERSION', 2. 1);20 define('isimb_6310_PLUGIN_CURRENT_VERSION', 2.2); 21 21 22 22 add_shortcode('isimb_6310_builder', 'isimb_6310_builder_shortcode'); -
interactive-image-map-builder/trunk/readme.txt
r3147859 r3158849 4 4 Requires at least: 5.4 5 5 Tested up to: 6.6 6 Stable tag: 2. 16 Stable tag: 2.2 7 7 Requires PHP: 5.6 8 8 License: GPLv2 or later … … 132 132 133 133 == Changelog == 134 = 2.2 = 135 * Tooltip Position Fixed 136 134 137 = 2.1 = 135 138 * Zoom feature added
Note: See TracChangeset
for help on using the changeset viewer.