Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When I open a page with fancybox'ed links using Chromium and click on the links, I get image popupped without close button, and page stop answering.
In the javascript console I a repeating error message:
Uncaught TypeError: Object # has no method 'removeAttribute'
with referencing path:
sites/all/libraries/fancybox/jquery.fancybox-1.3.1.js?Z:248
The lines referenced are:
if (!$.support.opacity) {
248> inner.get(0).style.removeAttribute('filter');
wrap.get(0).style.removeAttribute('filter');
}
Example:
http://ls.web-konstruktor.ru/license
Chromium version: 7.0.517.24 (60738) Ubuntu 10.04
Comments
Comment #1
kaido.toomingas CreditAttribution: kaido.toomingas commentedStrange behavior.. I saw this one aslo on my clients website.. And this problem stays also with IE browsers. I looked also original Fancybox page and there wasn't any problems..
Comment #2
bas.hr CreditAttribution: bas.hr commented@kaido24: That is related with #745252: IE issues with 1.3.1 (slow-down/crashes)
I tried with Chromium version: 7.0.517.41 - OSX 10.6.4 and it is working, have you managed to resolve it?
Comment #3
kaido.toomingas CreditAttribution: kaido.toomingas commentedNow I got it :) This version of fancybox requir jquery 1.4 but our jquery update will give us 1.3 So if we use this and fancybox 1.2 http://code.google.com/p/fancybox/downloads/list ..
Comment #4
kaido.toomingas CreditAttribution: kaido.toomingas commentedMy last comment isnt the best way ... I found a solution wich really works http://drupal.org/node/775924#comment-3791800. There is way to modify Jquery update module (jquery_update.module last function). And get this stuff work as it should :). Its a bit hackish way but for now I think its the best way to solve this problem.