ColorBox v1.3.18

<div id="cboxOverlay" style="opacity: 0.75; cursor: pointer; "></div>

"Extra settings" are disabled.

The opacity matches that of the current style and opacity option in the settings.

clicking on the screen removes the overlay.

It creates a colorbox where there are no colorbox images.

The only image is the theme's logo: sites/default/files/logo.png

<div id="colorbox" class="" style="padding-bottom: 20px; padding-right: 0px; position: absolute; width: 610px; height: 460px; top: 0px; left: 207px; display: block; "><div id="cboxWrapper" style="width: 10px; height: 30px; "><div><div id="cboxTopLeft" style="float: left; "></div><div id="cboxTopCenter" style="float: left; width: 610px; "></div><div id="cboxTopRight" style="float: left; "></div></div><div style="clear: left; "><div id="cboxMiddleLeft" style="float: left; height: 460px; "></div><div id="cboxContent" style="float: left; width: 610px; height: 460px; "><div id="cboxLoadedContent" style="width: 0px; height: 0px; overflow-x: hidden; overflow-y: hidden; float: left; "></div><div id="cboxLoadingOverlay" style="float: left; height: 460px; "></div><div id="cboxLoadingGraphic" style="float: left; height: 460px; "></div><div id="cboxTitle" style="float: left; display: none; "></div><div id="cboxCurrent" style="float: left; display: none; "></div><div id="cboxNext" style="float: left; display: none; "></div><div id="cboxPrevious" style="float: left; display: none; "></div><div id="cboxSlideshow" style="float: left; display: none; "></div><div id="cboxClose" style="float: left; ">Close</div></div><div id="cboxMiddleRight" style="float: left; height: 460px; "></div></div><div style="clear: left; "><div id="cboxBottomLeft" style="float: left; "></div><div id="cboxBottomCenter" style="float: left; width: 610px; "></div><div id="cboxBottomRight" style="float: left; "></div></div></div><div style="position: absolute; width: 9999px; visibility: hidden; display: none; "></div></div>

jquery.colorbox.js has error:
Uncaught TypeError: Object #

has no method 'live' line 863:
$('.' + boxElement, document).live('click', function (e) {
CommentFileSizeAuthor
#6 colorbox-offline-site-1328674-d6.patch495 bytessmartinm
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

muddie’s picture

Same thing is happening for me.

Lemut’s picture

Same thing here, What I did is add in the colorbox setting in the advance setting area: "Deactivate Colorbox on specific pages:" , I don't need colorbox in the frontpage anyway, but this needs attention.

Positiff’s picture

Hi
I've removed line in maintenance-page.tpl.php and maintenance-page-offline.tpl.php
<?php print $scripts; ?>

This don't fix an issue, but scripts on these page unnecessary anyway

CatherineOmega’s picture

Version: 6.x-1.1 » 6.x-1.2

This is still happening in 6.x-1.2 and the latest dev release.

DisasterMan’s picture

Try changing the 'jQuery Update' module settings in 'Site Configuration' from Production (Minified) to Development (Uncompressed Code), refresh your site, then change them back and refresh again - this will clear cached, older versions of Drupal's jQuery if you updated the jQuery Update version as suggested on the Colorbox page. This worked for my installation.

smartinm’s picture

Status: Active » Needs review
FileSize
495 bytes

I've attached a simple patch to not load colorbox on site off-line (maintenance mode) page.

frjo’s picture

Status: Needs review » Closed (fixed)
mtraherne’s picture

Version: 6.x-1.2 » 6.x-1.4

This issue is still relevant in 6.x 1.4.

Patch applied (manually) and fixed the issue. Common guys, it's three lines of code - add it to the module.