
Ignored left and right arrow keypresses if combined with the alt key.Removed $.contains for compatibility with jQuery 1.3.x.
Made image preloading aware of retina settings.Fixed an issue with ajax requests being applied at the wrong time.Fixed an issue with percent-based heights in iOS.Minor change to apply the close and className properties sooner.Minor change to work around a jQuery 1.4.2 bug for legacy users.Prevented an error if $.colorbox.remove is called during the transition.Fixed other issues with $.colorbox.remove.Fixes bug introduced in previous version.Better 'old IE' feature detection that fixes an error with jQuery 2.0.0pre.Added alt and longdesc attributes to photo content if they are present on the calling element.Added type='button' to buttons to prevent accidental form submission.Fixed a potential conflict with Twitter Bootstrap default img styles.Fixed an error involving IE7/IE8 and legacy versions of jQuery.Added fadeOut property to control the closing fadeOut speed.webp to list of recognized image extensions Added trapFocus setting to allow disabling of focus trapping.Fixed a scroll position issue when using $.colorbox.resize().
#Lightgallery conditionally open windows#
Fixed bug where Colorbox was capturing ctrl+click on assigned links on windows browsers with jQuery 1.7+, rather than ignoring. Replaced new Image() with document.createElement('img') to avoid a potential bug in Chrome 27. Updated manifest files for the jQuery plugin repository and Bower (no changes to plugin). Bugfix loading overlay/graphic append order.
Removed temporary fix for jQuery UI 1.8. Use an animation speed of zero between same-sized content (fixed). Fixed a regression in IE7 and IE8 that was causing an error. Fixed a width calculation issue relating to using margin:auto on #cboxLoadedContent. Fixed a potential issue with using the open property with mixed slideshow and non-slideshow groups. Fixed a potential issue with the starting size of #cboxLoadedContent. Fixed a slideshow regression from 1.4.27. Added longdesc and aria-describedby attributes to photos. Used setAttribute to set londesc, so that the value is accessible via DOM Node longDesc property #508. Updated stylesheets to avoid issue with using div (Fixes #520). Fixed an issue where private events propagated to the document in versions of jQuery prior to 1.7. Added Microsoft's JPEG XR to photo detection regex. Fixed potential style flash if #cboxLoadedContent is given a background. Changed when the className is applied: immediately on open, but only updated immediately prior to transition. Fixed regression that broke direct calls to Colorbox, ie. Added access to settings object in callbacks. Fixed potential issue where IE9+ wouldn't close the modal when clicking on the overlay. Allow setting the overlay opacity through CSS, rather than having to use Colorbox's opacity property. Applied maxWidth and maxHeight to the initialWidth and initialHeight. Potentially worked around browser limitation of reporting that an image height and width is 0 immediately after onload. Fix potential error when calling Colorbox directly. Fixed accidental leak of global variable. Fixed inline content bug when using child selectors. Fixed bug where setting opacity to 0 was ignored. Allowed setting the overlay opacity via CSS, by setting Colorbox's opacity property to false. Fixed regression introduced with v1.5.12 with legacy versions of jQuery (1.3x-1.6x). When opening, append Colorbox to the DOM if it was detached for whatever reason. Adding to NPM, merged white-space cleanup & new language file. Added two new properties that expose how and elements are created, to give users direct control over those elements. Replaced the inline onclick handler for cboxPhoto with a namespaced event for easier unbinding. Fixed iframe attribute name (allowFullScreen to allowFullscreen). Fixed regression that caused error in IE8 when the calculated initial size was negative.
Fixed bug where using the inline property would duplicate target elements, if the selector matched multiple elements.See the project page for documentation and a demonstration, and the FAQ for solutions and examples to common issues. A customizable lightbox plugin for jQuery.