Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #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 leave

    I did both at the same time, but it has no affect

    • This topic was modified 5 years, 9 months ago by Woutski.
    #1061073

    Hey 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ünter

    #1061229

    Thank 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

    #1061922

    Hi,

    Thanks for the update. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

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