Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP

aaron durber
aaron durber
13,400 Points

drop down list of associated pages

hi guys hope you are all well, I'm using treehouse to brush up on my PHP and HTML skills while creating my own website. I need some help, on the header that I have created with the menu links I want users to be able have access to a drop down list of associated pages to appear when you hover over a nav bar page link how can this be done?

3 Answers

Chad Strege
Chad Strege
11,823 Points

Jquery and java script both would work using the onhover attribute. you can also use bootstrap to create the menu.

You can also do it with css. Search for "css drop down menu".

aaron durber
aaron durber
13,400 Points

hi guys thanks for the help I will have a look and see what I can do and let you know