Damir Nurgaliev
Damir Nurgaliev

Reputation: 351

How to make tooltip did not disappear until the mouse on it

i'm using the foundation zurb 6 tooltips. I want to add the button to the tooltip but I dont know how to make it apperance until the mouse in the tooltip. Sorry for my english, but I try to explain the problem. For example this is my tooltip:

<span data-tooltip aria-haspopup="true" class="has-tip" data-disable-hover="false" tabindex="1" title="Fancy word for a beetle.">TOUCH HERE</span>

When my mouse on the TOUCH HERE tooltip appears and after I move the mouse out of TOUCH HERE tooltip disappear. I want to make next: when mouse moved into tooltip, it should not disappear until mouse moving out from tooltip too( because I want to click any button on tooltip). How can I do this? I don't find any solutions in documentation

Upvotes: 0

Views: 841

Answers (1)

Nigrimmist
Nigrimmist

Reputation: 12386

You are right, foundation zurb 6 haven't any possibility to do not hide it except of span clicking. You need to extend/rewrite source codes to handle it. Or you just can choose other tooltip plugin supported required behavior.

Upvotes: 1

Related Questions