Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
Now to prepare HTML for a third level navigation system, let's come up here to the nested unordered list inside of Link 3. Let's copy that. Let's come down to Link 4 before the ending list item tag. Let's hit a few returns, split that open, let's paste in all of the links for the Sub Link here. Let's change 3s to a 4. So now we have Sub Link 4-1, 4-2 and 4-3. Now let's add a nested list inside of link 4-2. So let's come inside of here before the ending list item tag, let's hit Return, split that open, let's paste those links inside of here.
So let's come in here and change these. This is going to be 4-1, 4-2, and 4-3, but then we're going set -2 for each one of these. So now we have Sub Link 4-2-1, 4-2-2, and 4-2-3. So these are three sub links inside Sub Link 4-2, which is a sub link of Link 4. Now save your work. And to get a quick idea of what this is starting to look like, let's come over here and click on Live View.
Now that we have all of the markup in place, let's come up here and turn off Live View. Now the last thing we need to do before we can style this is add a class onto the parent ul. So let's come back in to our HTML. The very first unordered list inside of the nav item, inside of the ul tag, let's hit a Space. We're going to add a class of dropmenu. This is going to be the class that both the CSS and the jQuery plug-in is going to lock onto to convert all this markup into a dropdown menu. So now that we have this in place, in the next movie we can work on styling the menu with CSS.
Get unlimited access to all courses for just $25/month.Become a member
82 Video lessons · 100804 Viewers
61 Video lessons · 87654 Viewers
71 Video lessons · 71517 Viewers
56 Video lessons · 103445 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.