Prev Demo
Tooltip With Placement
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html lang="en"> <head> <title>Bootstrap navbar</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script> <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $(".well-bottom").tooltip({placement:'bottom'}); $(".well-left").tooltip({placement:'left'}); $(".well-top").tooltip({placement:'top'}); $(".well-right").tooltip({placement:'right'}); }); </script> </head> <body> <h2>Tooltips with placement using closing alert</h2> <div class=" alert alert-success"> <div class="well"> <a href="#" class="close" data-dismiss="alert">×</a> <ul class="list-inline"> <li><a href="#" class="btn btn-primary well-bottom" data-toggle="tooltip" data-original-title="Forums">DotNetFunda</a></li> <li><a href="#" class="btn btn-danger well-left" data-toggle="tooltip" data-original-title="Tutorials">TechFunda</a></li> <li><a href="#" class="btn btn-warning well-top" data-toggle="tooltip" data-original-title="Online Training">ITFunda</a></li> <li><a href="#" class="btn btn-warning well-right" data-toggle="tooltip" data-original-title="Online Training">ITFunda</a></li> </ul> </div> </div> </body> </html>
Note: We DO NOT save your trial code in our database.
Output