5 <meta http-equiv="X-UA-Compatible" content="IE=edge">
6 <meta name="viewport" content="width=device-width, initial-scale=1.0">
7 <meta name="description" content="">
8 <meta name="author" content="">
9 <link rel="shortcut icon" href="../../docs-assets/ico/favicon.png">
11 <title>Static Top Navbar Example for Bootstrap</title>
13 <!-- Bootstrap core CSS -->
14 <link href="../../dist/css/bootstrap.css" rel="stylesheet">
16 <!-- Custom styles for this template -->
17 <link href="navbar-static-top.css" rel="stylesheet">
19 <!-- Just for debugging purposes. Don't actually copy this line! -->
20 <!--[if lt IE 9]><script src="../../docs-assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
22 <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
24 <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
25 <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
31 <!-- Static navbar -->
32 <div class="navbar navbar-default navbar-static-top">
33 <div class="container">
34 <div class="navbar-header">
35 <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
36 <span class="icon-bar"></span>
37 <span class="icon-bar"></span>
38 <span class="icon-bar"></span>
40 <a class="navbar-brand" href="#">Project name</a>
42 <div class="navbar-collapse collapse">
43 <ul class="nav navbar-nav">
44 <li class="active"><a href="#">Home</a></li>
45 <li><a href="#about">About</a></li>
46 <li><a href="#contact">Contact</a></li>
48 <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
49 <ul class="dropdown-menu">
50 <li><a href="#">Action</a></li>
51 <li><a href="#">Another action</a></li>
52 <li><a href="#">Something else here</a></li>
53 <li class="divider"></li>
54 <li class="dropdown-header">Nav header</li>
55 <li><a href="#">Separated link</a></li>
56 <li><a href="#">One more separated link</a></li>
60 <ul class="nav navbar-nav navbar-right">
61 <li><a href="../navbar/">Default</a></li>
62 <li class="active"><a href="./">Static top</a></li>
63 <li><a href="../navbar-fixed-top/">Fixed top</a></li>
65 </div><!--/.nav-collapse -->
70 <div class="container">
72 <!-- Main component for a primary marketing message or call to action -->
73 <div class="jumbotron">
74 <h1>Navbar example</h1>
75 <p>This example is a quick exercise to illustrate how the default, static and fixed to top navbar work. It includes the responsive CSS and HTML, so it also adapts to your viewport and device.</p>
76 <p>To see the difference between static and fixed top navbars, just scroll.</p>
78 <a class="btn btn-lg btn-primary" href="../../components/#navbar" role="button">View navbar docs »</a>
82 </div> <!-- /container -->
85 <!-- Bootstrap core JavaScript
86 ================================================== -->
87 <!-- Placed at the end of the document so the pages load faster -->
88 <script src="https://code.jquery.com/jquery-1.10.2.min.js"></script>
89 <script src="../../dist/js/bootstrap.min.js"></script>