I am trying to get a basic dropdown in Bootstrap:
<!DOCTYPE html> <html> <head> <title>Bootstrap 101 Template</title> <link href="css/bootstrap.min.css" rel="stylesheet" media="screen"> </head> <body> <script src="http://code.jquery.com/jquery-latest.js"></script> <script src="js/bootstrap.min.js"></script> <div class="dropdown"> <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel"> <li><a tabindex="-1" href="#">Action</a></li> <li><a tabindex="-1" href="#">Another action</a></li> <li><a tabindex="-1" href="#">Something else here</a></li> <li class="divider"></li> <li><a tabindex="-1" href="#">Separated link</a></li> </ul> </div> </body> </html>
However, nothing appears. I know that local CSS and JS files are transferred correctly. As far as I understand, JS includes all plugins by default.
EDIT: Thank you all for your feedback. I can add only if people find themselves in the same situation as me to move on in the lesson before copying and pasting fragments.
twitter-bootstrap twitter-bootstrap-2
ezequiel-garzon
source share