ThickBox 2.0 Is Here
6 August 06
| Permanent Link | Add Comments
ThickBox has finally evolved into another version. In addition to the many changes to the code, I have also created a new site to go along with this new version. So, what are you waiting for? Go check it out.

If the mouse pointer changes to a hand when you roll-over an image associated with a story the image upon clicking either links to enlarged version of the image or a website associated with the image.
Hi Cody
I am using your thickBox on my latest project. I think its really sweet. I was woundering what it would take to make ThickBox window open its width by % and not just by px value? Thanks for all the hard work
Really great work adding the gallery functionality! Thanks. Plugins like these makes jquery the way to go. We will be using jquery and thickbox in the new frontend on PokerRoom.com
Hi Cody.
Congratulations. It’s really a good work.
@Enej – Please post your questions on the forum.
Nice work Cody. Congrats on ThickBox 2.0 and it’s new home!
Hello, my name is Jim and i have created plugin for WordPress
that it allows to insert ThickBox in your Blog. This Plugin uses the ThickBox 2.0 library. The use is very simple, this plugin
simply encloses the Javascript and insert code for insert ThickBox.
The form to insert is:
[TBOX]text, url, title, width, height[/TBOX]
You can see an explanation and example in: http://unijimpe.pandela.net/?p=78
Thank you for Thickbox 2.0 although it’s really sad to see no open/close animations. Perhaps add a disabled animation code in thickbox.js so we can enable it without any javascript knowledge?
awesome stuff here. btw It looks like something is amiss with http://jquery.com I can’t get it to open.
I’m having some issues with the thickbox styles altering my own page style. Any tips? The scrollbar on the right isn’t sitting where its supposed to be. Time to dig into the css I guess.
where is the download for this though guys, i’m lost!
I have a THICK BOX question…I created a thick box to pop up but half of the box is over a flash movie. The part over the SWF doesnt display. Any way around it?
I’ve created a jQuery plugin called jCarousel which could become a good fellow to ThickBox. Unfortunatly, Thickbox-functionality can’t be assigned to created and modified objects in the DOM. Since items of jCarousel can be loaded at runtime, i had to create a copy of TB_init()...
http://sorgalla.com/archives/2-jCarousel.html
Example of jCarousel and ThickBox playing together:
http://sorgalla.com/projects/jcarousel/example_dynamic_ajax.html
How would I launch thickbox onload instead of onclick? I have a flash intro (client request) that I would like to luanch in a thickbox window.
You ought to consider using something other than URL GET params to send options to your javascript: You can’t call any page that uses GET parameters using thickbox’s iFrame mode, and I’m guessing that’s true for the other modalities as well…
Great work!!!. Love the thickbox. One mod i have made to it is for a transparent gif to overlayed on the large photo. It aslo resizes with different photo sizes. Basically shrink wrapping the image.
Nice work Cody.
I was dealing with resized images that already had .jpg or such in the filename. I changed your filename extension stripper a bit to this:
var baseURLlen = baseURL.length;
var dotPosition = baseURL.lastIndexOf(’.’);
var urlType = baseURL.substring(baseURLlen, dotPostition);
If you’re ever in Portland, give a holler.
Hi Cody,
I love your script, and have writing a little web app that uses thickbox. It uses https however, and thus that warning about secured and non-secured items comes up.
So I changed the line that creates the iframe in your code to include a src tag pointing to a blank.html and made a blank.html file to keep it from happening. Do you have any suggestions on how to keep that non-secured items warning to come up?
Very nice library. I use it on some pages, it’s great. But preloading of Previous and Next images would bet great.
Yes, It is great work.
I was first trying to use lightbox, but a link there told about your thickbox, so here I am and i love that it only takes 50% or even less from the size then the other.
I also like your website and the style your writing, i`ll come along more often. thumbs up
Greetings from germany
Is there a way to call Thickbox from an array of images? There are no href’s in the html, only strings in an array.
Cody, are you aware of these changes suggested from Klaus Hartl
http://www.stilbuero.de/2006/11/06/a-smoother-thickbox-with-less-code/
ThickBox is great!
I have a problem concerning https connections.
I get the warning about secured and non-secured items (like Tan mentioned above). So is there a solution?
Hey, this is a great new release! I’ve been a fan for some time now.
One question: I’m using the Thickbox plugin for WordPress and noticed something strange about the CSS. When I @import the CSS for Thickbox, all my paragraphs lose the spacing in between them. Note that there doesn’t seem to be any change to the included one for the plugin from your CSS.
I’ve tracked the problem down to the following directive in the CSS:
*{padding: 0; margin: 0;}
What is this there for? Can I lose it without a problem, or is it vital to the app? Thanks.
Very nice
Has anyone figured out how to get rid of the un-secure item popup in IE when thickbox is used within ssl?
great!
Sorry for the double posting but its a last resort. Can anyone help? How can we open a thickbox from an iframe and have it act as if it were opened from the parent window? We have seen many similar questions in a few differant forums but seen no working solutions. We have tried the _parent and _top target attribures – no success. We have tried linking to the parent window and running the thickbox javascript from the parent windows head – no success. Has anyone made this functionality work or perhaps, is it just not possible. Thanks in advance for anyone giving this question some consideration!!