| 
									
										
										
										
											2014-01-21 03:54:22 +08:00
										 |  |  | <!DOCTYPE html> | 
					
						
							|  |  |  | <html lang="en"> | 
					
						
							|  |  |  |   <head> | 
					
						
							|  |  |  |     <meta charset="utf-8"> | 
					
						
							|  |  |  |     <meta http-equiv="X-UA-Compatible" content="IE=edge"> | 
					
						
							| 
									
										
										
										
											2014-03-28 19:48:19 +08:00
										 |  |  |     <meta name="viewport" content="width=device-width, initial-scale=1"> | 
					
						
							| 
									
										
										
										
											2015-01-24 03:34:52 +08:00
										 |  |  |     <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> | 
					
						
							| 
									
										
										
										
											2014-01-21 03:54:22 +08:00
										 |  |  |     <meta name="description" content=""> | 
					
						
							|  |  |  |     <meta name="author" content=""> | 
					
						
							| 
									
										
										
										
											2014-05-22 15:55:28 +08:00
										 |  |  |     <link rel="shortcut icon" href="../../assets/ico/favicon.ico"> | 
					
						
							| 
									
										
										
										
											2014-01-21 03:54:22 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  |     <title>Tooltip Viewport Example for Bootstrap</title> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <!-- Bootstrap core CSS --> | 
					
						
							| 
									
										
										
										
											2014-03-28 19:48:19 +08:00
										 |  |  |     <link href="../../dist/css/bootstrap.min.css" rel="stylesheet"> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <!-- Custom styles for this template --> | 
					
						
							|  |  |  |     <link href="tooltip-viewport.css" rel="stylesheet"> | 
					
						
							| 
									
										
										
										
											2014-01-21 03:54:22 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-04-21 07:09:47 +08:00
										 |  |  |     <!-- IE10 viewport hack for Surface/desktop Windows 8 bug --> | 
					
						
							|  |  |  |     <script src="../../assets/js/ie10-viewport-bug-workaround.js"></script> | 
					
						
							| 
									
										
										
										
											2014-01-21 03:54:22 +08:00
										 |  |  |   </head> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   <body> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-07-09 08:14:14 +08:00
										 |  |  |     <button class="btn btn-secondary pull-right tooltip-bottom" title="This should be shifted to the left">Shift Left</button> | 
					
						
							|  |  |  |     <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-21 03:54:22 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-07-09 08:14:14 +08:00
										 |  |  |     <button class="btn btn-secondary tooltip-right btn-bottom" title="This should be shifted up">Shift Up</button> | 
					
						
							| 
									
										
										
										
											2014-01-21 03:54:22 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  |     <div class="container-viewport"> | 
					
						
							| 
									
										
										
										
											2014-07-09 08:14:14 +08: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-21 03:54:22 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-07-09 08:14:14 +08:00
										 |  |  |       <button class="btn btn-secondary pull-right tooltip-viewport-bottom" title="This should be shifted to the right">Shift Right</button> | 
					
						
							| 
									
										
										
										
											2014-01-21 03:54:22 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-07-09 08:14:14 +08:00
										 |  |  |       <button class="btn btn-secondary tooltip-viewport-right btn-bottom" title="This should be shifted up">Shift Up</button> | 
					
						
							| 
									
										
										
										
											2014-01-21 03:54:22 +08:00
										 |  |  |     </div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-03-28 19:48:19 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2014-01-21 03:54:22 +08:00
										 |  |  |     <!-- Bootstrap core JavaScript
 | 
					
						
							|  |  |  |     ================================================== --> | 
					
						
							|  |  |  |     <!-- Placed at the end of the document so the pages load faster --> | 
					
						
							| 
									
										
										
										
											2015-05-10 06:04:14 +08:00
										 |  |  |     <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> | 
					
						
							| 
									
										
										
										
											2015-07-26 05:25:00 +08:00
										 |  |  |     <script>window.jQuery || document.write('<script src="../../assets/js/vendor/jquery.min.js"><\/script>')</script> | 
					
						
							| 
									
										
										
										
											2014-03-28 19:48:19 +08:00
										 |  |  |     <script src="../../dist/js/bootstrap.min.js"></script> | 
					
						
							| 
									
										
										
										
											2014-07-28 08:01:34 +08:00
										 |  |  |     <!-- IE10 viewport hack for Surface/desktop Windows 8 bug --> | 
					
						
							|  |  |  |     <script src="../../assets/js/ie10-viewport-bug-workaround.js"></script> | 
					
						
							| 
									
										
										
										
											2014-03-28 19:48:19 +08:00
										 |  |  |     <script src="tooltip-viewport.js"></script> | 
					
						
							| 
									
										
										
										
											2014-01-21 03:54:22 +08:00
										 |  |  |   </body> | 
					
						
							|  |  |  | </html> |