I'm very confused, it still doesn't work for me (the js fiddle you linked). It does the same thing as before: takes me to the top of the page. Do I need to move the drop down class to the li? I thought bootstrap would automatically find/apply it.
On Feb 14, 4:59 pm, Sam Sherlock <[email protected]> wrote: > On 14/02/2012 23:19, Lindsay wrote: > > > > > > > > > > > I've tested on Chrome and IE 9. > > > On Feb 14, 3:19 pm, Lindsay<[email protected]> wrote: > >> Tried that, didn't help. > > >> Here is the Fiddle link:http://jsfiddle.net/fWvFG/ > > >> On Feb 13, 9:07 pm, limodou<[email protected]> wrote: > > >>> On Tue, Feb 14, 2012 at 6:26 AM, Sam Sherlock<[email protected]> > >>> wrote: > >>>> Link? Js fiddle of code? > >>> maybe you should always add bootstrap-button.js to the page. > >>> -- > >>> I like python! > >>> UliPad<<The Python Editor>>:http://code.google.com/p/ulipad/ > >>> UliWeb<<simple web framework>>:http://code.google.com/p/uliweb/ > >>> My Blog:http://hi.baidu.com/limodou > > So I fiddled a bit > the bootstrap docs have the dropdown with a ul and the dropdown class is > applied to li > (which in turn gets the class open when anchor is clicked to display the > subnav) > > also I changed the lib to jquery and onDomReady > > http://jsfiddle.net/Rkn9f/
