Cody Lindley has released ThickBox, It is is little twist on the Lightbox technique. ThickBox can show html pages as well as images. The html that is shown inside ThickBox is pulled from the server using AJAX. The ThickBox script handles the following file types: .jpg , .jpeg , .gif , .png , .htm and .html
Why ThickBox type solution was needed:
1. 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)
2. 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.)
3. a small abstract pattern for creating custom dialog boxes.
4. And lastly, to demonstrate the simplicity and power of Jquery.
Check out the ThickBox Live Demo
Read more on ThickBix now...
|
Rate this Ajax News
Error connecting to mysql |
|