There's a kind of hinge (the name escapes me) that is "c" shaped, and mounts on the edge of a surface, and works by allowing a grove in the middle of the "c" to slide along a pin mounted on the inside of whatever box or object you're working with.
If ......if that makes sense.