bootstrap设置鼠标悬停提示的方法-创新互联

这篇文章主要介绍bootstrap设置鼠标悬停提示的方法,文中介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们一定要看完!

创新互联建站专注为客户提供全方位的互联网综合服务,包含不限于成都做网站、成都网站建设、成都外贸网站建设、林周网络推广、微信小程序、林周网络营销、林周企业策划、林周品牌公关、搜索引擎seo、人物专访、企业宣传片、企业代运营等,从售前售中售后,我们都将竭诚为您服务,您的肯定,是我们大的嘉奖;创新互联建站为所有大学生创业者提供林周建站搭建服务,24小时服务热线:18980820575,官方网址:www.cdcxhl.com

1、     

2、

$(function () { $("[data-toggle='popover']").popover(); });    
    $("[rel=drevil]").popover({
                      trigger:'manual',
                      //placement : 'bottom', //placement of the popover. also can use top, bottom, 
                      left or right
                      //天title : '
Muah ha ha
', //this is the top title bar of the popover. add some basic css html: 'true', //needed to show html of course //content : '
', //this is the content of the html box. add the image here or anything you want really. animation: false }).on("mouseenter", function () { var _this = this; $(this).popover("show"); $(this).siblings(".popover").on("mouseleave", function () { $(_this).popover('hide'); }); }).on("mouseleave", function () { var _this = this; setTimeout(function () { if (!$(".popover:hover").length) { $(_this).popover("hide") } }, 300); });

以上是bootstrap设置鼠标悬停提示的方法的所有内容,感谢各位的阅读!希望分享的内容对大家有帮助,更多相关知识,欢迎关注创新互联网站制作公司行业资讯频道!


网站名称:bootstrap设置鼠标悬停提示的方法-创新互联
浏览地址:http://myzitong.com/article/deiogi.html