bootstrap中的popovers
来源:互联网 发布:2016年全年经济数据 编辑:程序博客网 时间:2024/05/20 23:03
代码段:
效果图:
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <link rel="stylesheet" href="./public/bootstrap/css/bootstrap.css">
- <script type="text/javascript" src="public/bootstrap/js/bootstrap.js"></script>
- <script type="text/javascript" src="public/bootstrap/js/jquery.js"></script>
- <script type="text/javascript" src="bootstrap/js/tooltip.js"></script>
- <script type="text/javascript" src="bootstrap/js/button.js"></script>
- <script type="text/javascript" src="bootstrap/js/popover.js"></script>
- </head>
- <body>
- <div class="container" style="margin:90px;">
- <a style="margin:30px;" href="#" data-toggle="popover" class="btn btn-danger" data-original-title="标题" data-content="内容" data-placement="top">向上显示</a>
- <a style="margin:30px;" href="#" data-toggle="popover" class="btn btn-danger" data-original-title="标题" data-content="内容" data-placement="bottom">向下显示</a>
- <a style="margin:30px;" href="#" data-toggle="popover" class="btn btn-danger" data-original-title="标题" data-content="内容" data-placement="left">向左显示</a>
- <a style="margin:30px;" href="#" data-toggle="popover" class="btn btn-danger" data-original-title="标题" data-content="内容" data-placement="right">向右显示</a>
- </div>
- <script>
- $('a').popover()
- </script>
- </body>
- </html>
效果图:
- bootstrap中的popovers
- bootstrap中的popovers
- AngularStrap -- Popovers
- 2.27 Displaying Popovers with UIPopoverController
- Implementing Multiple Scenes and Popovers
- bootstrap中的button groups
- bootstrap 中的 button dropdowns
- bootstrap中的badges
- bootstrap中的thumbnails
- bootstrap中的alerts
- bootstrap中的alerts
- bootstrap中的thumbnails
- bootstrap中的badges
- bootstrap 中的 button dropdowns
- bootstrap中的button groups
- bootstrap中的 progress bar
- bootstrap中的modals
- bootstrap中的dropdown
- Notepad++使用技巧
- hdu 1711
- Wireshark基本介绍和学习TCP三次握手(转)
- 如何在工作线程中创建窗口?
- Java选择排序
- bootstrap中的popovers
- C#WebBrowser控件使用教程与技巧收集
- MinGW介绍及安装和配置
- bootstrap中的tooltip
- Mysql explain用法和性能分析
- Hdu 1072 Nightmare[Bfs]
- ACM-DP之Common Subsequence——HDU1159
- Django 学习笔记(七)
- Mysql导出表结构及表数据的方法