oceldot Posted June 17, 2015 Share Posted June 17, 2015 Hi, I'm quite new to bootstrap and not an expert HTML/CSS coder either, but I'm hoping to learn more. The first problem I've encountered is the dropdown menu. I'm basically not able to open it up, even if I'm using the example provided on w3schools. This is the code I'm using, can anyone see why it's not opening up? <div class="dropdown"> <button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown">Home <span class="caret"></span></button> <ul class="dropdown-menu"> <li><a href="#">CV</a></li> <li><a href="#">About</a></li> <li><a href="#">Contact</a></li> </ul> </div> Link to comment Share on other sites More sharing options...
COBOLdinosaur Posted June 17, 2015 Share Posted June 17, 2015 There are an unlimited number of interactions on a page involving markup, styling and script; a fragment of code without context is probably not going to be much help in finding a solution. A link to the page or more complete code would make it possible to do diagostics. Link to comment Share on other sites More sharing options...
dsonesuk Posted June 17, 2015 Share Posted June 17, 2015 I suppose you DID include all the links to jquery, bootstrap jquery and bootstrap css as shown in w3school example, as you did not show these I'm just making sure. Link to comment Share on other sites More sharing options...
dauruk0512 Posted June 18, 2015 Share Posted June 18, 2015 Yes you didn't load jquery, please kindly load this http://www.bootstrapcdn.com/ and jquery, reply this comment if some of us make you understand ! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now