The code on this page shows you how to create a menubar (or multiple menubars) for your webpage using only HTML, W3C CSS, and Javascript. The code has been released under the GNU/GPL.

http://www.brainjar.com/dhtml/menubar/


Note: i have no affiliation with the guy who wrote this.