Fixing Thickbox After Upgrading jQuery to 1.3.2
Jul, 17 - 2009 4 comments Things that are broken
I just ran across a really annoying problem with Thickbox after upgrading from jQuery 1.3.1 to 1.3.2. The gallery functionality in Thickbox broke after the upgrade – instead of opening with the first image, the loading animation displayed forever without loading any content at all.
Turns out, the @ selector syntax was deprecated in jQuery 1.3, and was removed in 1.3.2. Simply removing the single occurrence of the @ character in the Thickbox js solved the problem.
Thank you very much!
After searching the cause of this strange behaviour for nearly one day, our problem could be solved.
I’m not sure if the problem is in the IE7 that I’m using, but thickbox, lightview and lightbox do not load correctly therein.
In thickbox, http://jquery.com/demo/thickbox/, the image loads but it is cut off into the bottom by IE7.
In both lightview ( http://www.nickstakenburg.com/projects/lightview/ ) and lightbox ( http://www.lokeshdhakar.com/projects/lightbox2/ ), there is no opacity/transparency on the boxes, it loads into a what seems like a black page.
There is a fix for the thickbox problem, get it here:
http://jamazon.co.uk/web/2008/03/17/thickbox-31-ie7-positioning-bug/
Thanks so much for this solution! I’ve been searching to find the bug for hours!