If I click on a colorbox enabled link with image the colorbox opens, grey out the background and shows the image in Firefox 5. But if I do the same in Google Chrome I just get a black window and cannot do anything except reloading the page. There is no colorbox shown, no controls and so on - just nothing else than a black screen (not the shading grey I see in Firefox).

Latest Chrome 12.

Comments

hass’s picture

Colorbox v1.3.17

hass’s picture

Title: Chrome: Blank screen and no box » Chrome: Black screen and no box
frjo’s picture

Title: Chrome: Black screen and no box » Chrome: Blank screen and no box

I have Google Chrome version 12.0.742.122 and Colorbox seems to work as it should on the Drupal 7 sites that I have built.

Do you have some public sites with this problem that I can take a look at?

hass’s picture

Title: Chrome: Blank screen and no box » Chrome: Black screen and no box
hutch’s picture

Your link works fine with Chrome 12.0.742.112 running on Ubuntu 10, also works on OS-X

hass’s picture

I have tested on windows xp and 7

hutch’s picture

You could try changing class="colorbox-inline" to class="colorbox"
I see no reason to use colorbox-inline

hass’s picture

Took this from the docs... I can try it.

frjo’s picture

I have no problem with the HTPC image on Google Chrome version 12.0.742.122 for Mac OS X.

For a plain image you should just add a class "colorbox" as hutch suggests.

The colorbox-inline is for when you have an div-tag on the same page (hens inline) that you want to display in a Colorbox. I have noticed a lot of confusion about colorbox-inline and have tried to improve the README. Any suggestion how to formulate it better would be most welcome.

hass’s picture

Fixed with the class name changed. Now there is the grey background, on the bottom a black bar and the image is shown. The black bar on bottom seems still wrong.

Aside on ipad i do not see the grey background. Is this by design?

frjo’s picture

Category: bug » support

The only "black bar on bottom" I can see is the one from your themes footer. Since the overlay is done by opacity he background does shine through. Is that what you are seeing?

A screen dump with some comments would help I think.

hass’s picture

Ups i may missed that... Why is there no grey background on ipad?

frjo’s picture

Colorbox does not work perfectly with Mobile WebKit/iOS. I believe the grey background is there on the iPad but only at the top of the pages.

Test the examples at http://colorpowered.com/colorbox/.

hutch’s picture

Does using a mobile-aware theme help?
There are tools:
http://drupal.org/project/mobile_tools
http://drupal.org/project/mobile_theme

hass’s picture

I tried all the example demos and they work properly on ipad.

Scrolled to the top of my site and yes the colorbox background is on top of the page. So the position is incorrect.

lsolesen’s picture

Status: Active » Postponed (maintainer needs more info)

@hass Can you confirm you still have issues with 1.3?

hass’s picture

Version: 7.x-1.0 » 7.x-1.3
Category: support » bug
Status: Postponed (maintainer needs more info) » Fixed

Re-tested with Colorbox 1.3 and latest Chrome 19.0.1084.56 m and iPad2. Cannot repro again. As the issue seems to have been fixed in one of the releases since 1.0, marking as a fixed bug.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

solomonkitumba’s picture

Version: 7.x-1.3 » 7.x-2.4

i have the same issue with version 2.4 ...I click on a colorbox enabled link with image the colorbox opens, grey out the background and shows the image in Firefox 5. But if I do the same in Google Chrome I just get a black window and cannot do anything except reloading the page. There is no colorbox shown, no controls and so on - just nothing else than a black screen (not the shading grey I see in Firefox).

AllanTheDream’s picture

Status: Closed (fixed) » Active
frjo’s picture

Status: Active » Closed (fixed)

Please don't reopen old issues, make a new one instead.