Java slide-in menu help please!

I am trying to make a slide-in type menu for a site that I am creating. I was wondering if it is possible to create this slide in menu found here or a different one anywhere that can have sub levels that would be displayed as a normal menu would. I only want to preserve the ability for the menu to slide in and out. Please if anyone knows how to do this I would appreciate the help, I need this ASAP and i have no idea how to do it.