[Geeky] Doing popups in Rails and elsewhere

So my little toy pedagogical application needed a pretty popup box. Actually I wanted one so I could see close up some of the alternatives. In the process I came across three different code snippets, each one doing it in a little bit different way. For you and me, here are the links:

I tried the first two, but the third looks cool too. I liked Facebox the best. Your mileage may/will vary.