Horje Website
Bootstrap 3 Ref Js Tooltip Selector Stacked – Bootstrap Ref Js Tooltip – Bootstrap JS Tooltip Reference – Bootstrap Code

Bootstrap 3 Ref Js Tooltip Selector Stacked – Bootstrap Ref Js Tooltip

Bootstrap 3 Ref Js Tooltip Selector Stacked - Bootstrap Ref Js Tooltip - Bootstrap JS Tooltip Reference - Bootstrap Code


 
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <title>Bootstrap Example</title>
  5. <meta charset="utf-8">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
  8. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
  9. <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
  10. </head>
  11. <body>
  12. <div class="container">
  13. <h3>Tooltip Options</h3>
  14. <p>The <strong>selector</strong> option adds a tooltip to a specified selector.</p>
  15. <button class="btn btn-success btn-md">Hover over me</button>
  16. </div>
  17. <script>
  18. $(document).ready(function(){
  19. $('body').tooltip({title: "Hooray!", selector: ".btn"});
  20. });
  21. </script>
  22. </body>
  23. </html>



Try Your Self ->



Published:
October 6, 2020
Author:
admin
Category:
Bootstrap 3 JavaScript Reference, Bootstrap Source Code
Views:
20

This article was posted in Bootstrap 3 JavaScript Reference, Bootstrap Source Code and tagged , , . Bookmark the permalink. Follow comments with the RSS feed for this post.Post a Comment or leave a trackback: Trackback URL.

Leave a Reply

Your email address will not be published. Required fields are marked *

 

Horje © 2011 - 2023