Adding close button to tooltips
-
In the tooltip, I have added a close class
<div class=”float-right clickable closeme”>x</div>
And in custom js I have added the following code
$(this).closest(‘div.imgl-tooltip-wrap’).removeClass(‘imgl-show’).addClass(‘imgl-hide’);
This hides the open tooltip, however it does not trigger the correct event as I then need to click the hotspot twice in order to open it again.
How can I manually trigger the tooltip close event?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Adding close button to tooltips’ is closed to new replies.