After looking at the whole answer, I did it, I think it will be useful. You can manage everything you need. Many answers do not delay display, I use this. His work is very pleasant in my project.
/ ****** / *************************.... ******* ************ /
<div class='thumbnail' data-original-title='' style='width:50%'> <div id='item_details' class='popper-content hide'> <div> <div style='height:10px'> </div> <div class='title'>Bad blood </div> <div class='catagory'>Music </div> </div> </div> HELLO POPOVER </div>"
/ **************** SCRIPT CODE ****************** PLEASE USE FROM HEART **** ** /
$(".thumbnail").popover({ trigger: "manual" , html: true, animation:true, container: 'body', placement: 'auto right', content: function () { return $(this).children('.popper-content').html(); }}) .on("mouseenter", function () { var _this = this; $('.thumbnail').each(function () { $(this).popover('hide'); }); setTimeout(function(){ if ($(_this).is(':hover')) { $(_this).popover("show"); } },1000); $(".popover").on("mouseleave", function () { $('.thumbnail').each(function () { $(this).popover('hide'); }); $(_this).popover('hide'); }); }).on("mouseleave", function () { var _this = this; setTimeout(function () { if (!$(".popover:hover").length) { $(_this).popover("hide"); } }, 100); });
Ashaduzaman Bhuiyan Jun 24 '15 at 8:51 2015-06-24 08:51
source share