It was asked recently why FoxyCart used Thickbox. The short answer is because Thickbox was the best option when we started building FoxyCart. Things change, however, and FoxyCart will adapt with the times.
As with almost all things FoxyCart, we aren't here to reinvent the wheel, and there are a variety of existing modal window scripts of very high quality.
So that said, we'd love some feedback about what modal window scripts everybody likes, or if people would like different treatments in future versions.
Some of our ideas:
Haven't used it myself but
Easy to work with, looks nice, and has many different (nice looking) themes.
- jQuery Tools Overlay
. Part of a larger suite but very very small filesize and pretty widely used.
- Simple Modal
. Very lightweight (2kb). Looks to be very easy to work with and customize.
. This is what I use most of the time. It's quite powerful, but can be temperamental, and I (personally) always spend more time than I'd like. But it is _very_ powerful.
. Haven't used this myself either.
- DOM window
by Cody Lindley (author or Thickbox). Solid but perhaps more minimal than most users may want.
. Lightweight, clean.
. New, heavy, but looks solid, with nice functionality for iframes (ability to resize the window, for example).
In the past what we've done has been to strip down Thickbox in order to make it a smaller file, and packaged it into the foxycart_includes.js. In the future, we've had some requests to de-couple jQuery and the modal window functionality from foxycart_includes.js (so people could use the Google hosted jQuery or their own modal window).
We'd love some feedback on what you'd like to see from future versions of FoxyCart in this regard. As always, you can use whatever code you'd like, and that will never change, but many users just use the defaults, and that's what we're exploring. New defaults, and potential changes to increase flexibility for advanced users.
So, thoughts? We love feedback!