Closed (fixed)
Project:
Colorbox
Version:
6.x-1.0-beta7
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Nov 2010 at 20:27 UTC
Updated:
12 Mar 2013 at 03:19 UTC
Since upgrading to beta 7, when viewing a site with colorbox.js included all pages on the site will freeze initially for at least 30 seconds with using IE 6,7, & 8
I don't really have a lot of time to pursue this issue further, but figured I would bring this issue up in case anyone else should notice it.
Comments
Comment #1
frjo commentedOn my vm with Windows XP and IE 8 I can't replicate this problem. What set up is you running on?
Comment #2
skabeche commentedI have the same problem in Drupal 6.17
PC:
- Windows 7 x64
- IE8
- IETester: IE6, IE7
Comment #3
frjo commentedDo you get any errors that could help track this down?
How about 6.x-1.0-beta6 and 6-dev? Do they have the same problem?
Comment #4
devkinetic commentedFrom my experience, there were no errors, and it was platform independent. It was actually pointed out by the client, and we tested it on a wide range of machines with varying versions of IE. If I get more time to debug the issue i will report back my findings.
Comment #5
apmsooner commentedI confirm this issue. Colorbox practically locks up IE... its so slow. On IE8 for reference.
Comment #6
frjo commentedDo you see this problem with beta 9 as well.
I'm unable to replicate it. Is there a test site I can access that have this problem?
Comment #7
apmsooner commentedyeah we're using the latest version. Here are some errors that were generated that I think are causing the issues:
-jquery.colorbox-min.js
Message: 'support.opacity' is null or not an object
Line: 4
Char: 2515
Code: 0
-colorbox.js
Message: Object doesn't support this property or method
Line: 5
Char: 3
Code: 0
It might be related to a particular colorbox style that we were using because when switching it, the problems may have alleviated so i'm going to do some more testing and report back.
Comment #8
gorgo commentedsubscribing
Comment #9
Proj commentedFor me the problem seems to lie somewhere in sites/all/libraries/colorbox/colorbox/jquery.colorbox-min.js. I copied the HTML source generated by my index page and saved it as a new html file. Then I started deleting the JS include tags one by one until the page loaded normal.
When I open the file though all I see is one long row of JS, so it's a little hard trying to locate the problem. Maybe someone with better JS skills could figure it out?
Comment #10
funkeyrandy commentedstill happening..makes ie7 unusable...and the module as many users still use ie7
Comment #11
jeff.maes commentedI have found a working solution at http://groups.google.com/group/colorbox/msg/e6809d8483ff7579?pli=1
So the idea is to replace images/ with /sites/all/libraries/colorbox/example5/images/ in colorbox.css
I don't know why but it seems to work ;-)
Comment #12
Gastonia commentedI can confirm this. On any version of IE 7 and 8, Colorbox freezes the entire page for 20 to 30 seconds. This is also happening with the DEV version and jquery 1.4.2. This happens on windows xp and windows vista. This does not happen in IE 9
Weirdly enough there are no javascript errors when trying to debug.
Also, this is happening on a fresh install with colorbox as the only module. Let me know how else I can help test. Switching to lightbox2 has temporarily fixed my problems, but I am looking forward to moving back to colorbox soon.
Comment #13
Gastonia commentedI found this link which may shed some light on the situation, although I haven't successfully been able to implement a fix. It does seems similiar to what Jeff posted in #11.
http://stackoverflow.com/questions/3516755/ie8-page-hangs-before-load-co...
Comment #14
Gastonia commentedFIXED!
I downloaded the dev version hoping that would fix it, but that alone was not the solution. Be sure to download the newest version of the actual colorbox plugin for the libraries folder from here:
http://jacklmoore.com/colorbox/
So, the newest dev version plus the newest version of the plugin solves the problem.
Marking as fixed, but please reopen if this didn't fix the problem for you.
Comment #16
Alconaft43 commentedI'm using last dev version of the module (D7) and last plugin version from site and anyway it freezes IE8.
IE9, FF and chrome are fine.
Comment #17
Gastonia commentedsee #14. be sure to download the actual colorbox plugin from the colorbox website. if that does not solve the issue, please reopen the status.
Comment #18
TravisJohnston commentedI had actually fixed this by wrapping 'support.opacity' in double quotes instead of the single quotes.
Comment #19
davidd07 commentedUsing the default theme I found Colorbox to be painfully slow to load on both IE7 and IE8. Having tried recommended solutions - nothing helped.
I had recently noticed that default theme includes colorbox_style.js this same script I noticed tends to bind its actions numerous times, I actually posted something about this http://drupal.org/node/1933956 previously.
Removing the bind function completely (I dident need it) resolved my issue.