5 <meta http-equiv="X-UA-Compatible" content="IE=edge">
6 <meta name="viewport" content="width=device-width, initial-scale=1">
7 <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
8 <meta name="description" content="">
9 <meta name="author" content="">
10 <link rel="shortcut icon" href="../../assets/ico/favicon.ico">
12 <title>Tooltip Viewport Example for Bootstrap</title>
14 <!-- Bootstrap core CSS -->
15 <link href="../../dist/css/bootstrap.min.css" rel="stylesheet">
17 <!-- Custom styles for this template -->
18 <link href="tooltip-viewport.css" rel="stylesheet">
20 <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
21 <!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
22 <script src="../../assets/js/ie-emulation-modes-warning.js"></script>
24 <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
26 <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
27 <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
33 <button type="button" class="btn btn-default pull-right tooltip-bottom" title="This should be shifted to the left">Shift Left</button>
34 <button type="button" class="btn btn-default tooltip-bottom" title="This should be shifted to the right">Shift Right</button>
35 <button type="button" class="btn btn-default tooltip-right" title="This should be shifted down">Shift Down</button>
37 <button type="button" class="btn btn-default tooltip-right btn-bottom" title="This should be shifted up">Shift Up</button>
39 <div class="container-viewport">
40 <button type="button" class="btn btn-default tooltip-viewport-bottom" title="This should be shifted to the left">Shift Left</button>
41 <button type="button" class="btn btn-default tooltip-viewport-right" title="This should be shifted down">Shift Down</button>
43 <button type="button" class="btn btn-default pull-right tooltip-viewport-bottom" title="This should be shifted to the right">Shift Right</button>
45 <button type="button" class="btn btn-default tooltip-viewport-right btn-bottom" title="This should be shifted up">Shift Up</button>
49 <!-- Bootstrap core JavaScript
50 ================================================== -->
51 <!-- Placed at the end of the document so the pages load faster -->
52 <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
53 <script src="../../dist/js/bootstrap.min.js"></script>
55 <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
56 <script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>
58 <script src="tooltip-viewport.js"></script>