Tool Tip

Sunny.Sagar
Posted by Sunny.Sagar under Bootstrap category on | Points: 40 | Views : 336
<head>
<title>Bootstrap Example</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.5/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
</head>
<body>

<div class="container">
<h3>Tooltip Example</h3>
<a href="#" data-toggle="tooltip" title="I am hovered!">Hover over me</a>
</div>

<script>
$(document).ready(function(){
$('[data-toggle="tooltip"]').tooltip();
});
</script>

</body>


Run the code in the browser

Comments or Responses

Login to post response