Plugin Directory

Changeset 3015693


Ignore:
Timestamp:
12/30/2023 07:19:03 AM (2 years ago)
Author:
mehjabin6310
Message:

modified

Location:
interactive-image-map-builder/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • interactive-image-map-builder/trunk/assets/js/main-output-file.js

    r3010579 r3015693  
    5959
    6060window.addEventListener("resize", function () {
    61   // isimb_6310_create_polygon();
     61  let mainImgList = jQuery(".isimb-6310-main-image");
     62  mainImgList.each(function () {
     63    let orgWidth = jQuery(this).width();
     64    let orgHeight = jQuery(this).height();
     65    if (orgWidth && orgHeight) {
     66      let closest = jQuery(this).closest(".isimb-6310-builder-box");
     67      closest
     68        .find(".isimb-6310-main-svg")
     69        .attr("width", orgWidth)
     70        .attr("height", orgHeight);
     71      closest.find(".isimb-6310-main-svg").css({
     72        "background-size": orgWidth + "px " + orgHeight + "px",
     73        display: "block",
     74      });
     75      jQuery(this).css({ display: "none" });
     76      isimb_6310_default_polygon(closest, orgWidth, orgHeight);
     77    }
     78  });
    6279});
     80
    6381function isimb_6310_setTooltipPosition(pointId, alwaysShow = 2, icons) {
    6482  let jsonData = JSON.parse(
  • interactive-image-map-builder/trunk/index.php

    r3010584 r3015693  
    77  Author: Mehjabin Orthi
    88  Author URI: https://www.wpmart.org/
    9   Version: 1.7
     9  Version: 1.8
    1010 */
    1111if (!defined('ABSPATH'))
     
    1818define('isimb_6310_plugin_url', plugin_dir_path(__FILE__));
    1919define('isimb_6310_plugin_dir_url', plugin_dir_url(__FILE__));
    20 define ( 'isimb_6310_PLUGIN_CURRENT_VERSION', 1.7 );
     20define ( 'isimb_6310_PLUGIN_CURRENT_VERSION', 1.8 );
    2121   
    2222add_shortcode('isimb_6310_builder', 'isimb_6310_builder_shortcode');
  • interactive-image-map-builder/trunk/readme.txt

    r3010584 r3015693  
    44Requires at least: 5.1
    55Tested up to: 6.4
    6 Stable tag: 1.7
     6Stable tag: 1.8
    77Requires PHP: 5.6
    88License: GPLv2 or later
     
    132132
    133133== Changelog ==
     134= 1.8 =
     135* Fixed responsive issue
     136
    134137= 1.7 =
    135138* Fixed image issue
Note: See TracChangeset for help on using the changeset viewer.