ThickBox – One Box to Rule Them All

By now there are several variations of the Lightbox technique – each with their own added benefits and styles. Cody Lindley has offered up another alternative. In his own words:

  • File size! File size! File size! Prototype & Scriptaculous can add upwards of 100k to a page unless you gzip the js files. I simply wanted a solution that was more light weight, than heavy weight. (Using the compressed version of Jquery, along with my ThickBox code, the total file size is around 20k)
  • Lightbox made me feel like I was in a box. I wanted the ability to load (with AXAH) structural markup in the lightbox, as well as images. (A little slice of flexibility over here, please.)
  • I needed a small abstract pattern for creating custom dialog boxes.
  • And lastly, I wanted to demonstrate the simplicity and power of Jquery.

So if you are looking for an alternative to the current batch of Lightbox variations built on a completely different platform, this is the one for you.

Check out that one ThickBox


About this entry