Thickbox and jQuery 1.4

Need to get Thickbox working with a newer version of jQuery, like 1.4? Then all you need to do is to remove one character from the script file.

Open jquery.thickbox.js , search for @rel and remove the @.

What the original code looks like:
var imageGroup = $("a[@rel="+rel+"]").get();
What it should look like when you've removed the @:
var imageGroup = $("a[rel="+rel+"]").get();
Please note that if you're using a minified version of Thickbox your code could look a bit different. But you can always search for "@rel".

Credits where credits due, original post by ABOUTQ

Related posts:


comments powered by Disqus