Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #383596

    Hey there,
    I see this has been requested before on a closed topic here: https://kriesi.at/support/topic/make-hotspots-links/

    but I see in my enfold theme now, you CAN make the hotspots links, but they just open in the same window. Is it possible that when you hover over a hotspot, a tool tip will come up with the title of the link and description and if you click the hotspot, it will open in a new window?

    Also, is it possible that you can mouse over the actual tooltip and click a link within that?

    Any help would be appreciated.

    #383814

    Hey cormie!

    Please add following code to Functions.php file in Appearance > Editor

    function add_custom_target(){
    ?>
    <script>
    jQuery(window).load(function(){
    jQuery('.av-hotspot-container-inner-cell a ').attr('target','_blank');
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'add_custom_target');

    Best regards,
    Yigit

    #383950

    Thanks a lot for the reply. I haven’t tried your solution, but I actually managed to get it by simply choosing the add link option and then putting this in the manual field:

    http://www.url.com target="_blank"

    and it works perfect :)

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Hot Spot Links (and open in new window?)’ is closed to new replies.