我使用了qtip2 jquery plugin.How来使qTip在单击另一个qTip时不会消失。
发布于 2015-07-09 03:45:41
您必须使用hide: fixed属性。这使您可以在工具提示上单击,而不会消失。- http://qtip2.com/options#hide.fixed
通常,它也与hide: delay属性一起使用,以便当用户将鼠标从触发器移动到工具提示时,他有时间移动到工具提示,而不会首先隐藏它。
$("#red-box").qtip({
content: "this will stay for 1 second after you leave the box or tooltip",
hide: {
delay: 1000,
fixed: true
}
});小提琴: http://jsfiddle.net/25eydrn3/1/
https://stackoverflow.com/questions/31242851
复制相似问题