Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

bootstrap with iframe in left panel

By: gatoatigrado3 on Nov 23rd, 2012  |  syntax: None  |  size: 6.96 KB  |  views: 1,490  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <!DOCTYPE html>
  2. <html lang="en">
  3.   <head>
  4.     <meta charset="utf-8">
  5.     <title>Bootstrap, from Twitter</title>
  6.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7.     <meta name="description" content="">
  8.     <meta name="author" content="">
  9.  
  10.     <!-- Le styles -->
  11.     <link href="http://twitter.github.com/bootstrap/assets/css/bootstrap.css" rel="stylesheet">
  12.     <style type="text/css">
  13.       body {
  14.         padding-top: 60px;
  15.         padding-bottom: 40px;
  16.       }
  17.       .sidebar-nav {
  18.         padding: 9px 0;
  19.       }
  20.     </style>
  21.     <link href="http://twitter.github.com/bootstrap/assets/css/bootstrap-responsive.css" rel="stylesheet">
  22.  
  23.     <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
  24.     <!--[if lt IE 9]>
  25.       <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
  26.     <![endif]-->
  27.  
  28.     <!-- Fav and touch icons -->
  29.     <link rel="shortcut icon" href="../assets/ico/favicon.ico">
  30.     <link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
  31.     <link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
  32.     <link rel="apple-touch-icon-precomposed" sizes="72x72" href="../assets/ico/apple-touch-icon-72-precomposed.png">
  33.     <link rel="apple-touch-icon-precomposed" href="../assets/ico/apple-touch-icon-57-precomposed.png">
  34.   </head>
  35.  
  36.   <body>
  37.  
  38.     <div class="navbar navbar-inverse navbar-fixed-top">
  39.       <div class="navbar-inner">
  40.         <div class="container-fluid">
  41.           <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
  42.             <span class="icon-bar"></span>
  43.             <span class="icon-bar"></span>
  44.             <span class="icon-bar"></span>
  45.           </a>
  46.           <a class="brand" href="#">Project name</a>
  47.           <div class="nav-collapse collapse">
  48.             <p class="navbar-text pull-right">
  49.               Logged in as <a href="#" class="navbar-link">Username</a>
  50.             </p>
  51.             <ul class="nav">
  52.               <li class="active"><a href="#">Home</a></li>
  53.               <li><a href="#about">About</a></li>
  54.               <li><a href="#contact">Contact</a></li>
  55.             </ul>
  56.           </div><!--/.nav-collapse -->
  57.         </div>
  58.       </div>
  59.     </div>
  60.  
  61.     <div class="container-fluid">
  62.       <div class="row-fluid">
  63.         <div class="span3">
  64.           <div class="well sidebar-nav">
  65.             <ul class="nav nav-list">
  66.               <li class="nav-header">Sidebar</li>
  67.               <li class="active"><a href="#">Link</a></li>
  68.               <li><a href="#">Link</a></li>
  69.               <li><a href="#">Link</a></li>
  70.               <li><a href="#">Link</a></li>
  71.               <li class="nav-header">Sidebar</li>
  72.               <li><a href="#">Link</a></li>
  73.               <li><a href="#">Link</a></li>
  74.               <li><a href="#">Link</a></li>
  75.               <li><a href="#">Link</a></li>
  76.               <li><a href="#">Link</a></li>
  77.               <li><a href="#">Link</a></li>
  78.               <li class="nav-header">Sidebar</li>
  79.               <li><a href="#">Link</a></li>
  80.               <li><a href="#">Link</a></li>
  81.               <li><a href="#">Link</a></li>
  82.             </ul>
  83.           </div><!--/.well -->
  84.           <iframe class="container well well-small"
  85.               style="width: 80%; height: 400px; background-color: #f5e5c5;"
  86.               src="https://mail.google.com/tasks/ig">
  87.           </iframe>
  88.  
  89.         </div><!--/span-->
  90.         <div class="span9">
  91.           <div class="hero-unit">
  92.             <h1>Hello, world!</h1>
  93.             <p>This is a template for a simple marketing or informational website. It includes a large callout called the hero unit and three supporting pieces of content. Use it as a starting point to create something more unique.</p>
  94.             <p><a class="btn btn-primary btn-large">Learn more &raquo;</a></p>
  95.           </div>
  96.           <div class="row-fluid">
  97.             <div class="span4">
  98.               <h2>Heading</h2>
  99.               <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
  100.               <p><a class="btn" href="#">View details &raquo;</a></p>
  101.             </div><!--/span-->
  102.             <div class="span4">
  103.               <h2>Heading</h2>
  104.               <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
  105.               <p><a class="btn" href="#">View details &raquo;</a></p>
  106.             </div><!--/span-->
  107.             <div class="span4">
  108.               <h2>Heading</h2>
  109.               <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
  110.               <p><a class="btn" href="#">View details &raquo;</a></p>
  111.             </div><!--/span-->
  112.           </div><!--/row-->
  113.           <div class="row-fluid">
  114.             <div class="span4">
  115.               <h2>Heading</h2>
  116.               <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
  117.               <p><a class="btn" href="#">View details &raquo;</a></p>
  118.             </div><!--/span-->
  119.             <div class="span4">
  120.               <h2>Heading</h2>
  121.               <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
  122.               <p><a class="btn" href="#">View details &raquo;</a></p>
  123.             </div><!--/span-->
  124.             <div class="span4">
  125.               <h2>Heading</h2>
  126.               <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
  127.               <p><a class="btn" href="#">View details &raquo;</a></p>
  128.             </div><!--/span-->
  129.           </div><!--/row-->
  130.         </div><!--/span-->
  131.       </div><!--/row-->
  132.  
  133.       <hr>
  134.  
  135.       <footer>
  136.         <p>&copy; Company 2012</p>
  137.       </footer>
  138.  
  139.     </div><!--/.fluid-container-->
  140.  
  141.     <!-- Le javascript
  142.     ================================================== -->
  143.     <!-- Placed at the end of the document so the pages load faster -->
  144.     <script src="http://twitter.github.com/bootstrap/assets/js/jquery.js"></script>
  145.  
  146.   </body>
  147. </html>