| Jquery and Thickbox noConflict mode |
|
|
|
| Written by Websmurf | |
| Saturday, 22 March 2008 | |
|
It took me quite a while to figure this out, so here is a solution for anyone who finds it useful :) If you are running Jquery in noConflict mode, the Thickbox script will not work anymore. Now, there are two solutions.. I'll leave it up to you which you like best. The first is to place this in your head section:
(function($) {
Another solution is, to open the uncompressed version of Thickbox, and to replace all occurrences of $ with jQuery or the prefix you are using. It will take up a bit more space though... |
|
| Last Updated ( Saturday, 22 March 2008 ) |
| < Prev |
|---|