"TEST Tool Tip and jQuery"
Bootstrap 3.3.0 Snippet by MatthewTallari

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <h2>Bootstrap Tooltips with jQuery by Mr. M. </h2> <hr> <a title="tooltip for text" data-html="true" rel="tooltip" href="#">Works on links too!</a> <button type="button" class="btn btn-default" data-toggle="tooltip" data-placement="left" title="Tooltip on left"><h3>Tooltip on left</h3></button> <button type="button" class="btn btn-default" data-toggle="tooltip" data-placement="top" title="Tooltip on top"><h2>Tooltip on top</h2></button> <button type="button" class="tooltip-bottom" data-toggle="tooltip" data-placement="bottom" title="Tooltip on bottom"><h2>Tooltip on bottom</h2></button> <button type="button" class="btn btn-default" data-toggle="tooltip" data-placement="right" title="Tooltip on right"><h3>Tooltip on right</h3></button> </div> </div>
.tooltip-bottom + .tooltip > .tooltip-inner{ background-color: #ff0000; } .tooltip-bottom + .tooltip > .tooltip-arrow{ border-bottom-color:#0000ff; }
$(function () { $('[data-toggle="tooltip"]').tooltip(), $("[rel=tooltip]").tooltip({html:true}); })

Related: See More


Questions / Comments: