Step 1: What you need
In addition... you would need ....
Bolts and wing nuts with washers
i have used a pantry door that i had. I'm sorry but i don't have the steps.. covering the door with black vinyl.
I have used 3/4" thick wood for all except for 2 of the 12" slats and the long pressure bar.... but you could go with 3/4" for all if you like
Step 2: The pressure bar.
then another 2 more on either side..about 1.5" apart.
Step 3: Bed tray
Follow the diagram and make two arms for the table. use screw nails and glue so it would hold strong. from the bottom...that is C measure 10 inches and glue the 1/2"x1"x12" (B). now..mark and screw hinges..so that it's aligned with the top of B..refer pictures.
Now turn the table upside down and fix the arms of the table. close the legs and fix the pressure bar.
If you open up... your bed tray is done...or almost done.
your table will stand firm now...but to avoid the risk of it suddenly folding up on you...do the following steps...i think it's very important.
Mark where the pressure bar meets the arms when the table is open and standing. mark it on both sides.
Cut the thickness of the wood halfway...see picture. Now when you open it'll move to the cleat and be secure...to close...just push down the pressure bar and it'll close.
Your bed tray is done....and it's very firm :-)
If you decide to stop here...give your kids some chalk and let them have some fun. :-D