-
AuthorPosts
-
June 30, 2017 at 8:25 am #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.
June 30, 2017 at 4:30 pm #815031Hey volmering,
Could you please give us a link to your website, we need more context to be able to help you.
Best regards,
VictoriaJuly 5, 2017 at 7:51 am #816652oh sorry. see below plz
July 6, 2017 at 1:35 pm #817238Hi 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,
VictoriaJuly 6, 2017 at 1:37 pm #817240sure, and thx for your assistance
July 8, 2017 at 2:09 pm #818158Hi 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,
VictoriaJuly 8, 2017 at 2:42 pm #818164hey victoria, thank you.
but didnt work. sorry
July 10, 2017 at 8:14 am #818587Hi,
Have you added any updates or additional plugins that may have effected the original solution given to you?
Best regards,
Jordan ShannonJuly 10, 2017 at 11:10 am #818632hey jordan, no, all the plugins were installed before. i disabled all. still no effect
July 10, 2017 at 4:36 pm #818845Hi,
And there was no theme update either?
Best regards,
Jordan ShannonJuly 10, 2017 at 4:39 pm #818847yes, theme updates sure. but i cant remeber how many
- This reply was modified 7 years, 5 months ago by volmering.
July 10, 2017 at 9:24 pm #818989Hi,
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 ShannonJuly 10, 2017 at 10:14 pm #819001yes, or when you click the hotspot again, it close
July 11, 2017 at 3:16 pm #819407Hi,
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 ShannonJuly 11, 2017 at 5:09 pm #819526see below pls
July 14, 2017 at 11:01 pm #821473Hi,
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 -
AuthorPosts
- You must be logged in to reply to this topic.