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.
I've got Colorbox installed on a site to create a photo gallery (http://www.mckinleywoodsapts.com/photo-gallery). The gallery works great in Firefox and Chrome but doesn't work in IE -- unless you press F12 to bring up the developer console, at which point it starts working.
Comments
Comment #1
frjo CreditAttribution: frjo commentedFirst test to update to the latest version of the Colorbox plugin from http://www.jacklmoore.com/colorbox. It's good chance your problem is caused by one of the bugs in 1.3.21+.
Comment #2
Saoirse1916 CreditAttribution: Saoirse1916 commentedAll set, I've updated to version 1.3.34 but unfortunately the problem persists.
Comment #3
frjo CreditAttribution: frjo commentedI just tested with IE 9 on Win7 and it works for me now.
Comment #4
Saoirse1916 CreditAttribution: Saoirse1916 commentedInteresting - I'm on the same version/OS and it's still not working on my end. I also just checked with the client and their system (XP/probably IE8) is having the same problem. Since I'm unable to get any proper IE debugging because turning on the F12 developer console fixes the problem, the client sent along the following error from her version:
'console' is undefined
jquery.colorbox.js
Line 184, char 4
Comment #5
kevinquillen CreditAttribution: kevinquillen commentedIt's most likely the use of console.logs in Colorbox support modules (like Media Colorbox) and other javascript. See this issue:
#2123327: IE 8 throws "console is undefined" error, breaking all other javascript on the page
Comment #6
Neslee Canil Pinto