-1

Hey guys I'm wondering how would I be able to create a drop down menu under my career's tab in modx and attach a page to it ?

my current menu code is

<!-- Start Navigation List -->
<ul class="nav navbar-nav navbar-right">
    <li id="menu_active"><a href="[[~1]]">Home</a></li>
    <li><a href="[[~2]]">About Us</a></li>
    <li><a href="[[~3]]">Our Services</a></li>
    <li><a href="[[~4]]">Our Team</a></li>
    <li><a href="[[~6]]">Testimonials</a></li>
    <li><a href="[[~11]]">Careers</a></li>
    <li><a href="[[~5]]">Contact Us</a></li>
<!-- End Navigation List -->

any help would be appreciated thanks

tstuber
  • 352
  • 2
  • 14
admin24
  • 5
  • 1

1 Answers1

0

If you want your navigation to be dynamically generated, you'll need to use WayFinder. It will also help handle the "active" class and things like that.

To create the actual drop-down functionality, you'll need something like Superfish.

TL;DR: Use Wayfinder to build the markup, use Superfish to bring it to life.

Damon
  • 4,151
  • 13
  • 52
  • 108