Viewing 1 replies (of 1 total)
  • swatitomar

    (@swatitomar)

    You can do this by editing script/jquery.imagemapster.min.js file. In function on line number 1419.
    function i(e, t) {
    var r = {
    left: t.left + “px”,
    top: t.top + “px”
    },
    i = e.attr(“data-opacity”) || 0,
    s = e.css(“z-index”);
    if (parseInt(s, 10) === 0 || s === “auto”) r[“z-index”] = 9999;
    e.css(r).addClass(“mapster_tooltip”), t.fadeDuration && t.fadeDuration > 0 ? n.fader(e[0], 0, i, t.fadeDuration) : n.setOpacity(e[0], i)
    }

    Replace this by

    function i(e, t) {
    var r = {
    left: “100px”,
    top: “100px”
    },
    i = e.attr(“data-opacity”) || 0,
    s = e.css(“z-index”);
    if (parseInt(s, 10) === 0 || s === “auto”) r[“z-index”] = 9999;
    e.css(r).addClass(“mapster_tooltip”), t.fadeDuration && t.fadeDuration > 0 ? n.fader(e[0], 0, i, t.fadeDuration) : n.setOpacity(e[0], i)
    }

    You can change left and top according to your need.

Viewing 1 replies (of 1 total)
  • The topic ‘I need to fix the popup top and left’ is closed to new replies.