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.
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 #
$('.' + boxElement, document).live('click', function (e) {
Comment | File | Size | Author |
---|---|---|---|
#6 | colorbox-offline-site-1328674-d6.patch | 495 bytes | smartinm |
Comments
Comment #1
muddie CreditAttribution: muddie commentedSame thing is happening for me.
Comment #2
Lemut CreditAttribution: Lemut commentedSame 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.
Comment #3
Positiff CreditAttribution: Positiff commentedHi
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
Comment #4
CatherineOmega CreditAttribution: CatherineOmega commentedThis is still happening in 6.x-1.2 and the latest dev release.
Comment #5
DisasterMan CreditAttribution: DisasterMan commentedTry 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.
Comment #6
smartinm CreditAttribution: smartinm commentedI've attached a simple patch to not load colorbox on site off-line (maintenance mode) page.
Comment #7
frjo CreditAttribution: frjo commentedComment #8
mtraherne CreditAttribution: mtraherne commentedThis 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.