html - bootstrap not working accordingly -


i have viewed 1 tutorial online creating responsive navigation bar suppose this

enter image description here enter image description here

i have followed accordingly, added css file along js file isn't working. ends this. gui working fine. however, there isn't extension show other 2 option have picture above. nothing happens when click extension.

enter image description here

this how enter codes responsive navbar

<!doctype html>  <html lang="en"> <head id="head1" runat="server"> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="content-type" content="text/html; charset=utf-8">  <title>ipolice</title> <link rel="stylesheet" type="text/css" href="css/bootstrap.css" /> <link rel="stylesheet" type="text/css" href="css/bootstrap-responsive.css" /> <link rel="stylesheet" href="css/style.css" type="text/css" /> <asp:contentplaceholder id="head" runat="server" > </asp:contentplaceholder>    <!--[if lt ie 8]> <script src ="http://ie7-js.googlecode.com/svn/version/2.1(beta2)/ie8.js"></script> <![endif]-->     </head>  <body>  <div class="nav bar navbar-fixed-top">        <div class="navbar-inner">            <div class ="container">                <a class ="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">                    <span class="icon-th-list"></span>                </a>                <a href="#" class="brand">your logo</a>                 <div class="nav-collapse colapse">                     <ul class="nav pull-right">                        <li class="active"><a href="#">entry01</a></li>                        <li><a href="#">entry02</a></li>                    </ul>                </div>            </div>        </div> </div> <form id="form1" runat="server">   <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js" type="text/javascript" charset="utf-8"></script>     <script src="http://jquery-ui.googlecode.com/svn/tags/latest/ui/jquery.effects.core.js" type="text/javascript"></script> <script type="text/javascript" src="js/bootstrap.js"></script> <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript" src="js/scripts.js"></script> <script type="text/javascript" src="http://code.jquery.com/jquery-1.9.0.min.js">  </script>      <div id="contentplaceholder">     <asp:contentplaceholder id="contentplaceholder1" runat="server">     </asp:contentplaceholder>     </div>  </form>      </body> 

i'm pretty sure have added css , javascript file in correct position.

i'm trying allow navbar ( picture below ) appear nicely under responsive design when width being reduced.

enter image description here

i have downloaded bootstrap link

any , assistance appreciated.

thanks.

p.s: shown in picture below, have own darkgrey navigation bar in webapp. i'm wondering possible intergrate both twitterbootstrap , existing navbar together?

update

sorry. initial post has left out important such link between asp masterpage in visual studio2012 css. however, despite adding necessary css, extension in bootstrap isn't function well.


you forgot doctype , bootstrap.css not linked.
should have on bootstrap web site. (see following link)
basic template bootstrap


you should try : my code (i can't paste here, error occurs).


have bootstrap - component


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -