Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • glcdelivers Friend
    #201575

    The link for each pointer opens in the parent window. How to set the target to “_blank”?

    TomC Moderator
    #550647

    Perhaps the following resource may be of some assistance . . . . .

    glcdelivers Friend
    #550649

    I’m talking about the link in the JA Hotspot Module. (the field that says “link”).

    Adam M Moderator
    #550810

    Hi,

    Please open file root_folder/modules/mod_jaimagehotspot/tmpl/default.php, look for this code and add target attribute there :

    <a style="top:<?php echo $des->offsety; ?>%;left:<?php echo $des->offsetx; ?>%"
    class="point <?php echo $classpoint.' point'.$i; ?>"
    href="<?php echo trim($des->link) ? $des->link : 'javascript:void(0)' ?>"
    id="<?php echo 'ja-marker-'.$des->imgid; ?>"
    data-toggle="popover"
    data-placement="top"
    title="<?php echo $des->title; ?>"
    data-content="<?php echo htmlspecialchars($des->details, ENT_COMPAT, 'UTF-8'); ?>" data-html="true">
    <span class="hidden">Point</span>
    </a>
    <?php else: ?>
    <a style="top:<?php echo $des->offsety; ?>%;left:<?php echo $des->offsetx; ?>%"
    class="point <?php echo $classpoint.' point'.$i; ?>"
    href="<?php echo trim($des->link) ? $des->link : 'javascript:void(0)' ?>"
    id="<?php echo 'ja-marker-'.$des->imgid; ?>"
    title="">
    <span class="hidden">Point</span>
    </a>

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 3 voices, and was last updated by  Adam M 10 years, 2 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum