快上网专注成都网站设计 成都网站制作 成都网站建设
成都网站建设公司服务热线:028-86922220

网站建设知识

十年网站开发经验 + 多家企业客户 + 靠谱的建站团队

量身定制 + 运营维护+专业推广+无忧售后,网站问题一站解决

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://6mz.cn/article/deiogi.html

其他资讯