WGD-242 Final Project

Drop Down Menu

Malamute in arizona.

Drop Down Menus

This trick uses HTML and CSS. I think that is why this is among my favorites. We know that people can disable JavaScript. Since this trick uses no JavaScript, the user can enjoy the use of drop down menus regardless of JavaScript. It uses a collection of sudo-classes to determine weather the link has been hovered over, then shows the appropriate section as a result.

The more I look into CSS, the more I learn I can do with it without needing a lot of script. I have recently discovered sister elements and the ability to select child elements and groups of children elements. This can become a very powerful tool. It is set up so one element can effect another, and that can lead to some great JavaScript free functionality.