when i put it into html tags code not working

promailer

New Member
I am using the same code for two different fiddle....but in one fiddle i put the css, js and html in separate section....where as in other fiddle i am putting everthing in one section....the problem is when i put everything in one section its not working as expected....its shows the menu button even for big screens....how to fix it....working codehttp://jsfiddle.net/hYGwH/16/embedded/result/not working codehttp://jsfiddle.net/ENWYP/embedded/result/having this error too...Uncaught SyntaxError: Unexpected tokenproviding my code below....\[code\]<div class="navbar navbar-inverse navbar-fixed-top" style="margin-top: 15px;"> <div class="navbar-inner"> <div class="container"> <a class="btn btn-navbar collapsed" data-toggle="collapse" data-target=".nav-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </a> <a class="brand" href="http://stackoverflow.com/" style="padding-top: 0px;"> <img alt="change" class="defieLogo" src="http://defie.co/images/defie_logo_only.png"> </a> <div id="welcomeName">Welcome soojin!</div> <div id="emailAccount">[email protected][Log out]</div> <div class="nav-collapse collapse" style="height: 0px;"> <ul class="nav"> <li> <a href="http://stackoverflow.com/product.html" > <img alt="squareList" style="margin-right: 10px;" id="logo" src="http://intra.defie.co/images/cube_inventory.png"> My Files </a> </li> <li> <a href="http://stackoverflow.com/solution.html"> <img alt="squareList" style="margin-right: 10px;" id="logo" src="http://intra.defie.co/images/cube_inventory.png">Shared Files</a> </li> <li> <a href="http://stackoverflow.com/service.html"> <img alt="squareList" style="margin-right: 10px;" id="logo" src="http://intra.defie.co/images/cube_inventory.png">Create Files</a></li> <li class="iphonePartnerLink"> <a href="http://stackoverflow.com/partner.html"> <img alt="squareList" style="margin-right: 10px;" id="logo" src="http://intra.defie.co/images/cube_inventory.png">Simply Notes</a></li> <li> <a href="http://stackoverflow.com/contact.html"> <img alt="squareList" style="margin-right: 10px;" id="logo" src="http://intra.defie.co/images/cube_inventory.png">Forms</a></li> <li> <a href="http://stackoverflow.com/contact.html"> <img alt="squareList" style="margin-right: 10px;" id="logo" src="http://intra.defie.co/images/cube_inventory.png">Drawing</a></li> <li> <a href="http://stackoverflow.com/contact.html"> <img alt="squareList" style="margin-right: 10px;" id="logo" src="http://intra.defie.co/images/cube_inventory.png"> Presentation</a></li> </ul> </div><!--/.nav-collapse --> </div> </div> </div><script type="text/javascript" src="http://stackoverflow.com/questions/15485283/js/bootstrap.js"></script> <script src="http://stackoverflow.com//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> <script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-alert.js"></script> <script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-modal.js"></script> <script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-transition.js"></script> <script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-dropdown.js"></script> <script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-scrollspy.js"></script> <script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-tab.js"></script> <script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-tooltip.js"></script> <script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-popover.js"></script> <script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-button.js"></script> <script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-collapse.js"></script> <script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-carousel.js"></script> <script src="http://twitter.github.com/bootstrap/assets/js/bootstrap-typeahead.js"></script>\[/code\]
 
Back
Top