![Check out Enfold](https://kriesi.at/wp-content/themes/kriesi/images/banner-enfold.jpg)
Tagged: tooltip
-
AuthorPosts
-
January 27, 2019 at 12:01 pm #1059332
Hoi, I am using version 4.5.
Tried to change the on mouseenter for the tooltip into on click.
Therefore I changed in the avia-modal.js at line 892
/*add behavior that connects hotspot and modal subelements*/
general_behavior: function()
{
/*trigger click event*/
_self.hotspot_container.on(‘mouse enter’, ‘.av-image-hotspot’, function()
{
var el = $(this).data(‘modal_sub_el’);
if(el) el.find(‘.avia-modal-group-element-inner’).trigger(‘click’);
});
into
/*add behavior that connects hotspot and modal subelements*/
general_behavior: function()
{
/*trigger click event*/
_self.hotspot_container.on(‘click’, ‘.av-image-hotspot’, function()
{
var el = $(this).data(‘modal_sub_el’);
if(el) el.find(‘.avia-modal-group-element-inner’).trigger(‘click’);
});In avia.js at line 1575 I also changed
event: ‘mouseenter’, //mousenter and leave or click and leave
into
event: ‘click’, //mousenter and leave or click and leaveI did both at the same time, but it has no affect
-
This topic was modified 5 years, 7 months ago by
Woutski.
January 31, 2019 at 5:36 pm #1061073Hey Woutski,
Please check this thread:
I added an issue to our repo – maybe we will add a solution to the core in a future release.
Best regards,
GünterJanuary 31, 2019 at 9:33 pm #1061229Thank you Günter for your reply,
I am afraid that I have to look for another solution. Not only is this not clear for me ( I am not a programmer ) but I now understand that there is no way that I can use a tooltip on text either. Maybe I have to look for another solution.
Thanks anyway and best regards,Woutski
February 2, 2019 at 9:06 am #1061922 -
This topic was modified 5 years, 7 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.