Topic: Navbar
jsnull pro asked 5 years ago
I've copied the menu example from https://mdbootstrap.com/docs/jquery/navigation/mega-menu/ and placed it on my own page at http://www.cntportal.com/test.php
The drop-down menu items aren't dropping down. Help.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Resolved
Specification of the issue
- ForumUser: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.11.0
- Device: Web Server
- Browser: Firefox
- OS: Windows 10
- Provided sample code: No
- Provided link: Yes
lemons free commented 5 years ago
You commented out the JS includes (jquery and bootstrap) and forgot the mdb.js. Also you might forgot the CSS: .dropdown:hover .dropdown-menu {display: block;} (for hover only)
jsnull pro commented 5 years ago
Thanx for your reply. I've added the jsquery, and recopied the code directly from MD Bootstrap and still the drop down does not work.
lemons free commented 5 years ago
you also need "bootstrap.js" and "mdb.js" (order: jquery, bootstrap, mdb)
jsnull pro commented 5 years ago
You rock! That took care of it! I award you 100,000 points!