Bootstrap 实例 - 弹出框(Popover)插件
2014-08-08 11:51
429 查看
源网址: http://www.w3cschool.cc/try/tryit.php?filename=bootstrap3-plugin-popover
<!DOCTYPE html> <html> <head> <title>Bootstrap 实例 - 弹出框(Popover)插件</title> <link href="http://libs.baidu.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet"> <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script> <script src="http://libs.baidu.com/bootstrap/3.0.3/js/bootstrap.min.js"></script> </head> <body> <div class="container" style="padding: 100px 50px 10px;" > <button type="button" class="btn btn-default" title="Popover title" data-container="body" data-toggle="popover" data-placement="left" data-content="左侧的 Popover 中的一些内容"> 左侧的 Popover </button> <button type="button" class="btn btn-primary" title="Popover title" data-container="body" data-toggle="popover" data-placement="top" data-content="顶部的 Popover 中的一些内容"> 顶部的 Popover </button> <button type="button" class="btn btn-success" title="Popover title" data-container="body" data-toggle="popover" data-placement="bottom" data-content="底部的 Popover 中的一些内容"> 底部的 Popover </button> <button type="button" class="btn btn-warning" title="Popover title" data-container="body" data-toggle="popover" data-placement="right" data-content="右侧的 Popover 中的一些内容"> 右侧的 Popover </button> </div> <script>$(function () { $("[data-toggle='popover']").popover(); }); </script> </div> </body> </html>
相关文章推荐
- BootStrap弹出框插件popover简单实例
- Bootstrap 提示工具和弹出框(Popover)插件
- Bootstrap 弹出提示插件Popover 的方法
- Bootstrap历练实例:弹出框(popover)事件
- Bootstrap 弹出框(Popover)插件
- Bootstrap的js插件之弹出框(popover)
- Bootstrap中的弹出框插件popover.js中的参数title、content不能使用html代码
- bootstrap 点击空白处popover弹出框隐藏实例
- Bootstrap 弹出提示插件Popover 的选项
- Bootstrap 弹出框(Popover)插件
- Bootstrap插件(五)——弹出框(popover.js)
- Bootstrap历练实例:popover插件中的方法
- Bootstrap 弹出框(Popover)插件
- Bootstrap每天必学之弹出框(Popover)插件
- rails4使用bootstrap的模态框插件,结合ajax做出从弹出框选取内容返回给原页面的效果
- Bootstrap3.0学习第二十二轮(JavaScript插件——弹出框)
- Bootstrap历练实例:弹出提示信息的样式按钮
- 气泡 弹出 bootstrap-popover的配置与灵活应用
- Bootstrap JS插件使用实例(10)-附加导航(affix)