score:1

Accepted answer

After googling for a few days, let me answer this question myself

use popover from bootstrap

myItem.on('click', function(params) {
    if (params.dataType === "node") {
        // popover
        $('#example').popover('show');
    };
});

In html, add this code:

<div id="example" class="btn btn-success" data-original-title="Twitter Bootstrap Popover" data-content="It's so simple to create a tooltop for my website!" rel="popover">abc</div>

You can customise the code yourself.


Related Query

More Query from same tag