Download & Extend

Lightbox2 is incompatible with jQuery 1.3 (jquery_update 6.x-1.1 -- actual version)

Project:Lightbox2
Version:6.x-1.9
Component:Javascript
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

The lightbox2 stop working and causing some weird issues with all links after upgrading several modules.
After debugging the javascript I found that the selector is failing and the reason is documented here: http://docs.jquery.com/Selectors
You will find a note that says the following:

Note: In jQuery 1.3 [@attr] style selectors were removed (they were previously deprecated in jQuery 1.2). Simply remove the '@' symbol from your selectors in order to make them work again.

And the selectors used in lightbox2 uses this and causes to fail the selector.

The solution is to remove all '@' from the selectors, and by doing this makes it compatible with the last jQuery version.

~Nestor

Comments

#1

Status:active» closed (fixed)

Duplicate issue and solved.
Look at here: http://drupal.org/node/411162

nobody click here