Reputation: 4617
I'm using the qtip nightly version released on 2012. Unfortunately, I have downloaded the min version and, I'm not able to find the version in qtip2, And I do not want to upgrade the plugin as well :(
The qtip tooltip seems to close when I click on somewhere outside the tooltip, I want to implement a feature where, when the tooltip is displayed, it never hides, unless I explicitly execute a .qtip("destroy")
on it. I'm not able to find which method is hiding the qtip.
This link (http://dpaste.com/1208548/) contains the comments from the plugin. It does not seem to have the api callbacks etc.
Upvotes: 2
Views: 928
Reputation: 6769
Have you tried this?
$('#myTooltip').qtip({
// Other options..
hide: false
});
Upvotes: 1
Reputation: 7746
You can add the hide option.
var tipOptions = {
content: 'Some basic content for the tooltip',
show: 'focus',
hide: {
when: {
event: 'unfocus'
}
}
};
Refer jsFiddle Link
Upvotes: 0