0

如标题中所述,我需要始终显示使用 opentip 创建的消息工具提示。但默认情况下,当鼠标光标离开消息框所附加的 HTML 元素时,消息框将消失。

请帮忙修改下面的代码(或访问https://jsfiddle.net/671ptukx/直接编辑代码)达到上述效果。非常感谢您提前。

var myOpentip = new Opentip($("#targetTag"),"Need to prevent this tooltip message from disappearing when mouse leaves the \"Example Text\" area",{target:"#targetTag", tipJoint: "top" ,background:"wheat",showOn: 'creation'});
4

1 回答 1

1

var myOpentip = new Opentip($("#targetTag"),"Need to prevent this tooltip message from disappearing when mouse leaves the \"Example Text\" area",{target:"#targetTag", tipJoint: "top" ,background:"wheat",showOn: 'creation',
 
    target: true,
    fixed: true,
    hideTrigger: "closeButton"});

使用此脚本或检查更新的小提琴,https://jsfiddle.net/Hema_Nandagopal/671ptukx/2/

于 2017-07-06T07:29:25.317 回答