<!doctype html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Tooltip</title> <link href="../bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css"> <!--[if lt IE 9]> <script src="../bootstrap/js/html5.js"></script> <![endif]--> </head> <body> <div class="container"> <h1 class="page-header">Tooltip</h1> <p><a title="This is a tooltip" rel="tooltip" href="#">Tooltip</a></p> <p><a title="This is the title" data-content="This is the main content of the prompt" rel="popover" href="#">Popover</a></p> </div> <script src="../bootstrap/js/jquery-1.7.2.min.js"></script> <script src="../bootstrap/js/bootstrap.js"></script> <script> $("a[rel=tooltip]").tooltip() $("a[rel=popover]").popover() </script> </body> </html>
Bootstrap tooltip
tooltips-and-popovers-finish.html
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=326378039&siteId=291194637
Ranking