使用jstree添加交互式工具提示

时间:2014-07-01 18:54:05

标签: tooltip jstree

我希望在jstree中的选定节点旁边添加工具提示/弹出窗口。所以我正在寻找的功能是当点击一个节点时,这个工具提示会弹出到节点的右边。

我正在考虑使用select_node.jstree:

$('#jstree').bind('select_node.jstree', function(e){
//Some tooltip code
    $("#jstree").append("<div class='tooltip'>I am a tooltip!</div>");
});

我知道select_node.jstree函数有效,我只是不确定如何或在何处添加工具提示。

谢谢你的时间!

0 个答案:

没有答案
相关问题