In refrigerators with grated shelves this is easy using footed glasses. Just lean the feet of the glasses though the grates and they will hold themselves. I saw this trick in an old Jello cookbook.
Abusive comment hidden.
(Show it anyway.)