I made a table out of some scrap wood from a shelf and an ikea table top that has two heights - coffee table and dinner table height.
I used hinges and then window sash locks.
It was really fun! Window sash locks aren't the most structurally sound, though. If we changed heights frequently, they might break. But oh well, they look cool.
as a dinner table