There’s currently no option in the plugin for switching between click or hover. However, Easy Footnotes uses the qtip2 jQuery plugin for creating those hover. You could edit the qtipcall js file to have qtip show and hide on click. http://jsfiddle.net/qTip2/x0ocvp52/
One note, if you edit the plugin file directly any future updates will overwrite your changes. It’ll be a little bit before I can add it into the plugin directly.
Thanks so much! You are awesome.
I did that but I would also like the bubble to close whenever I click anywhere. How do I combine click and unfocus in the same script?
$(document).ready(function()
{
// Show tooltip on all <a/> elements with title attributes, but only when
// clicked. Clicking again will hide it.
$(‘.easy-footnote a’).qtip({
style: {
classes: ‘qtip-bootstrap’
},
show: ‘click’,
hide: {
event: ‘unfocus’,
fixed: true
}
});
});
When I do that click doesn’t work.
Ignore the last one! Fixed it.
hide: ‘unfocus, click’, is the solution. Thank you.