This page serves as both a demo of the navbar and a tutorial for how to put it together. Go to each tab above, HTML, Java, and CSS, and follow the instructions there.
If you use this code on your site, let me know!