I'm trying to get a tooltip staying up when hoovered, but I don't know anything to identify it by. Is there some way that I can find any identifier, so that I can have it close on mouseout instead of mouseout of the link?
It is related to my other question (which is more specific about tooltipsy): How to make tooltipsy staying so a link in it can be clicked
Edit: I'm using Tooltipsy to create the tooltips (but I might change if someone can suggest another jQuery plugin that can do this for me.
What I want is for the tooltip to stay if I have the mouse on it, instead of it disappearing when the mouse leaves the element invoking the tooltip. The tooltip should contain clickable links.
js:
# NOTE: The hide property is only for me to make it stay longer, so that the links are clickable. It is not an accepted soloution.
$('.order_tooltip').tooltipsy({
delay: 0,
offset: [0,-1],
hide: function (e, $el) {
window.setTimeout(
function() {
$el.hide();
},
1000
);
}
});
html:
<a href="/order/ordernr/{{ item.order_nr }}"
title="Tooltip content"
class="order_tooltip"
>link</a>