Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #814852

    hey there,

    i got a few month ago a snippet from josue for my functions.php, to make the tooltip (image hotspot) stay on click.

    function add_custom_script(){
    ?>
    <script>
    (function($){
        $(window).load(function() {
        	new $.AviaTooltip({'class': "avia-tooltip avia-icon-tooltip", event: "click", data: "avia-icon-tooltip", delay:0, scope: "body"});
        });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'add_custom_script');

    but somehow it doesnt work anymore

    • This topic was modified 7 years, 5 months ago by volmering.
    #815031

    Hey volmering,

    Could you please give us a link to your website, we need more context to be able to help you.
    Best regards,
    Victoria

    #816652

    oh sorry. see below plz

    #817238

    Hi volmering,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
    Best regards,
    Victoria

    #817240

    sure, and thx for your assistance

    #818158

    Hi volmering,

    Try this tooltip initiation instead

    
    new $.AviaTooltip({'class': "av-image-hotspot av-display-hotspot", event: "click", data: "avia-icon-tooltip", delay:0, scope: "body"});
    

    Best regards,
    Victoria

    #818164

    hey victoria, thank you.

    but didnt work. sorry

    #818587

    Hi,

    Have you added any updates or additional plugins that may have effected the original solution given to you?

    Best regards,
    Jordan Shannon

    #818632

    hey jordan, no, all the plugins were installed before. i disabled all. still no effect

    #818845

    Hi,

    And there was no theme update either?

    Best regards,
    Jordan Shannon

    #818847

    yes, theme updates sure. but i cant remeber how many

    • This reply was modified 7 years, 5 months ago by volmering.
    #818989

    Hi,

    Okay I see. Just so I understand the original function of the script that your were given, when you click on a hotspot on the map, the pop will stay loaded. Would it close when you clicked on another hotspot?

    Best regards,
    Jordan Shannon

    #819001

    yes, or when you click the hotspot again, it close

    #819407

    Hi,

    I attempted to look into this further, but the file is not writable. Would you be able to make it so, or provide ftp info so I can trouble shoot this further. I will need to edit functions.php.

    Best regards,
    Jordan Shannon

    #819526

    see below pls

    #821473

    Hi,

    Apologies for the late reply on this. Thank you for getting me the log in data. I will continue to troubleshoot this.

    Best regards,
    Jordan Shannon

Viewing 16 posts - 1 through 16 (of 16 total)
  • You must be logged in to reply to this topic.