2014-01-20 20:54:22 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
2015-10-06 13:35:39 +02:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
2015-01-23 20:34:52 +01:00
|
|
|
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
2014-01-20 20:54:22 +01:00
|
|
|
<meta name="description" content="">
|
|
|
|
<meta name="author" content="">
|
2015-09-20 18:05:41 +02:00
|
|
|
<link rel="shortcut icon" href="../../favicon.ico">
|
2014-01-20 20:54:22 +01:00
|
|
|
|
|
|
|
<title>Tooltip Viewport Example for Bootstrap</title>
|
|
|
|
|
|
|
|
<!-- Bootstrap core CSS -->
|
2014-03-28 12:48:19 +01:00
|
|
|
<link href="../../dist/css/bootstrap.min.css" rel="stylesheet">
|
|
|
|
|
|
|
|
<!-- Custom styles for this template -->
|
|
|
|
<link href="tooltip-viewport.css" rel="stylesheet">
|
2014-01-20 20:54:22 +01:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
2016-11-28 07:23:12 +01:00
|
|
|
<button class="btn btn-secondary float-right tooltip-bottom" title="This should be shifted to the left">Shift Left</button>
|
2014-07-09 02:14:14 +02:00
|
|
|
<button class="btn btn-secondary tooltip-bottom" title="This should be shifted to the right">Shift Right</button>
|
|
|
|
<button class="btn btn-secondary tooltip-right" title="This should be shifted down">Shift Down</button>
|
2014-01-20 20:54:22 +01:00
|
|
|
|
2014-07-09 02:14:14 +02:00
|
|
|
<button class="btn btn-secondary tooltip-right btn-bottom" title="This should be shifted up">Shift Up</button>
|
2014-01-20 20:54:22 +01:00
|
|
|
|
|
|
|
<div class="container-viewport">
|
2014-07-09 02:14:14 +02:00
|
|
|
<button class="btn btn-secondary tooltip-viewport-bottom" title="This should be shifted to the left">Shift Left</button>
|
|
|
|
<button class="btn btn-secondary tooltip-viewport-right" title="This should be shifted down">Shift Down</button>
|
2014-01-20 20:54:22 +01:00
|
|
|
|
2016-11-28 07:23:12 +01:00
|
|
|
<button class="btn btn-secondary float-right tooltip-viewport-bottom" title="This should be shifted to the right">Shift Right</button>
|
2014-01-20 20:54:22 +01:00
|
|
|
|
2014-07-09 02:14:14 +02:00
|
|
|
<button class="btn btn-secondary tooltip-viewport-right btn-bottom" title="This should be shifted up">Shift Up</button>
|
2014-01-20 20:54:22 +01:00
|
|
|
</div>
|
|
|
|
|
2014-03-28 12:48:19 +01:00
|
|
|
|
2014-01-20 20:54:22 +01:00
|
|
|
<!-- Bootstrap core JavaScript
|
|
|
|
================================================== -->
|
|
|
|
<!-- Placed at the end of the document so the pages load faster -->
|
2016-06-29 07:19:46 +02:00
|
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.0.0/jquery.min.js" integrity="sha384-THPy051/pYDQGanwU6poAc/hOdQxjnOEXzbT+OuUAFqNqFjL+4IGLBgCJC3ZOShY" crossorigin="anonymous"></script>
|
2015-07-25 23:25:00 +02:00
|
|
|
<script>window.jQuery || document.write('<script src="../../assets/js/vendor/jquery.min.js"><\/script>')</script>
|
2016-03-07 19:11:41 +01:00
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.2.0/js/tether.min.js" integrity="sha384-Plbmg8JY28KFelvJVai01l8WyZzrYWG825m+cZ0eDDS1f7d/js6ikvy1+X+guPIB" crossorigin="anonymous"></script>
|
2014-03-28 12:48:19 +01:00
|
|
|
<script src="../../dist/js/bootstrap.min.js"></script>
|
2015-09-20 18:05:41 +02:00
|
|
|
<script src="../../assets/js/vendor/tether.min.js"></script>
|
2014-07-28 02:01:34 +02:00
|
|
|
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
|
|
|
|
<script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>
|
2014-03-28 12:48:19 +01:00
|
|
|
<script src="tooltip-viewport.js"></script>
|
2014-01-20 20:54:22 +01:00
|
|
|
</body>
|
|
|
|
</html>
|