Javascript horizontal accordian menu

I’m trying to find a tutorial or download of a horizontal accordion menu using Javascript / CSS. There are plenty of drop-downs but little-to-no horizontal versions!

This is the kind of thing I’m after – but aligned left rather than centred.

Can any of you Java-masters help?!

P.S. Also happy to pay a developer to make a bespoke one for me!