"Tooltip"
Bootstrap 4.0.0 Snippet by clement-canuto

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.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"> <button id="myStaticTooltip" type="button" class="btn btn-secondary" data-toggle="tooltip" data-placement="bottom" title="Static Tooltip"> Test </button> </div>
.container{ margin : 50px; }
$(function () { $('#myStaticTooltip').tooltip() $('#myStaticTooltip').on('hide.bs.tooltip', function () { return false;}); $('#myStaticTooltip').on('show.bs.tooltip', function () { return true;}); $('#myStaticTooltip').on('shown.bs.tooltip', function () { return false;}); $('#myStaticTooltip').on('hidden.bs.tooltip', function () { return false;}); })

Related: See More


Questions / Comments: