You can do it with CSS, sort of. CSS lets you specify :hover on any element, and you can use that to create dropdown menus; specify display:none for an element, and display:block for that element when you :hover its parent. Amazingly enough, IE doesn't support that.
You can also use Javascript. Take a look at http://www.destroydrop.com/javascripts/tree/