I have to open a page in a lightbox or thicbox style with a overlay image . I found thickbox on net but that is too big arnf 55 kb. I need a simpler and tiny js thing to do this. Can anyone plz suggest some??
views:
53answers:
5Agreed, Colorbox is awesome.
webfac
2010-08-11 12:26:39
This assumes you're already using jQuery. While Colorbox itself is just 19kB, with jQuery it's 113kB.
You
2010-08-11 12:28:24
Actually even with jQuery it's only 33kB. 9kB + 24kB
David Radcliffe
2010-08-12 14:05:07
Both these require jQuery, adding 94kB to the size unless you're already using it for other purposes.
You
2010-08-11 12:30:20
OP didn't specified he using jQuery or not. What more he using Thickbox with jQuery.
fabrik
2010-08-11 12:32:17
It's still an assumption, and thus it's worth mentioning that you've made this assumption.
You
2010-08-11 12:37:09
+2
A:
There's an excellent Lightbox matrix in which you can sort (and filter) by feature, size, framework and more. Greybox seems to be the lightest one that meets your requirements.
You
2010-08-11 12:27:03
The matrix link is awesome but it seems a little out of date. The library sizes have changed a bit in the last 2 years.
David Radcliffe
2010-08-12 14:10:36
A:
Shadowbox has the advantage that you can easily (through a webinterface) create a custom version of it containing only what you need. That way it is very very lightweight.
If you download it for showing ONLY other web-pages without any connectors for other frameworks, the script itself is only 21k.
Joeri Hendrickx
2010-08-11 12:42:04