473,386 Members | 1,621 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

MVC Dropdown in bootstrap not working?

80 64KB
I'm trying to make a dropdown menu appear on click in a menu. My current code looks like this:

Expand|Select|Wrap|Line Numbers
  1. <div class="container-fluid">
  2.         <div class="row">
  3.             <div class="col-sm-3 col-md-2 sidebar">
  4.                 <ul class="nav nav-sidebar">
  5.                     <li><a href="">Home</a></li>
  6.                     <li><a class="dropdown-toggle" href="#">Opleiding<span class="caret"></span></a>
  7.                             <ul class="dropdown-menu">
  8.                                     <li><a href="#">TEST</a></li>
  9.                             </ul>
  10.                     </li>
  11.                     <li><a href="#">Locaties</a></li>
  12.                     <li><a href="#">Docenten</a></li>
  13.                     <li><a href="#">FAQ</a></li>
  14.                     <li><a href="#">Contact</a></li>
  15.                 </ul>
  16.             </div>
I've tried using:
Expand|Select|Wrap|Line Numbers
  1. <li><a class="dropdown-toggle" data-toggle="dropdown" href="#">Opleiding<span class="caret"></span></a>
but to no avail, my data-toggle doesnt recognize "dropdown" but only "collapse". Is what I want to do possible or am I just goofing up?

Thanks!
Sep 28 '15 #1
0 1510

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: | last post by:
Greetings. In an effort to get python2.4 on my Centos 3.7, I installed the python bootstrap rpm. This installed 2.4 alongside 2.2 and updated yum to 2.4.0. Oddly, it didn't create a symlink...
3
by: =?Utf-8?B?bGpsZXZlbmQy?= | last post by:
I need to show a custom control in the DropDown of a Windows.Forms.ToolStripMenuItem (e.g., similar to the Font Color menu item in Word except that the control is specific to my application). I...
0
by: bootstrap | last post by:
www.bootstraptech.com Bootstrap Technologies Private Limited, Global Systems integration and IT Services Company with a Focus on Enterprise Applications Space looking for Aggressive offshore...
2
by: sd_eds | last post by:
I have a startdate-enddate dropdown in asp that works great on my development machine (XP Pro IIS5) but when I port it over to the web server (Win Server 2003, IIS6), I do not get the desired...
5
by: =?Utf-8?B?Y2hlY2tyYWlzZXJAY29tbXVuaXR5Lm5vc3BhbQ== | last post by:
I have a VS 2008 ASP.NET webform that has a reportview tag on it, accessing an .RLDC report in local report. The columns for the report are essentially: Month Item #1 Item#2 Item#3 ...
1
by: neovantage | last post by:
Hi, I am trying to implement Bootstrap Scrollspy in my content page but unable to do that. I also used Affix in that code which is working perfectly fine. I used the ethics advised by bootstrap but...
2
by: azuresky | last post by:
Hey guys, I'm having trouble using the jQuery .click function on a navigation bar made using bootstrap. Here is the code <div class="navbar navbar-inverse navbar-fixed-top navbar-wrapper"...
1
by: ashwinrao | last post by:
I have a multiselect dropdown which has 8 colors in a hash %all_colors: my %all_colors = ( 1 => 'Red', 2 => 'Yellow', 3 => 'Orange', 4 => 'Blue', 5...
0
by: dz93 | last post by:
I'd like to create a website and design it using twitter bootstrap and also be able to integrate a content management system with it. Does anyone know of a content management system that I can...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.