Lytebox v3.22 (10-02-07):
- Implemented a fix for the "overlay stretch" issue. Essentially, when an image was larger than the document (or the Lytebox, to be more accurate),
the overlay would not resize to cover the entire document. While this has been fixed for most browsers, it should be noted that this is still an issue in IE6
(no support for fixed position) and IE7 with no DOCTYPE (defaults to backward compatibility mode). Credit to carbonize for providing a solution.
Lytebox v3.21 (09-30-07):
- Fixed a bug where using the onload event to auto-resize images was conflicting with the "lyteframe" feature. Credit to thu for finding the bug and providing a solution.
- Fixed a bug where Flash animations would continue playing after "lyteframe" was closed. This likely also fixes another issue that was causing the "loading" animation to not always display. Credit to creativedynamix for providing the solution.
- Fixed an IE-only bug where rendered images exhibited strange artifacts such as "dead" pixels and distortion. This was related to using the IE opacity alpha filter. Credit again goes to thu for finding a solution and providing a fix.
Lytebox v3.20 (07-12-07):
- Added a new feature called "Lyteframe" which allows for the ability to show HTML content in an iframe inside of Lytebox.
- Improved performance by a) hiding the "loading" image before resizing and b) adjusting the low end pixel count in getPixelRate() to 10 pixels instead of 4, while returning multiples of 5 instead of 4.
- Added support for reloading the images for a particular page (updateLyteboxItems()) to better support Ajax users. Credit to Pichan for providing the suggestion, as well as the code.
- Added a configurable option to disable animations (fade in/out, resize).
- Fixed a bug where Lytebox would not close if clicking outside (to the right or left) of the Lytebox container.
- Revamped JS and CSS by updating "names" to be less specific (e.g. showImage changed to showContent, and so on).
- Fixed a bug where a hard-coded max opacity was being set in the end() function by replacing it with the this.maxOpacity member variable (found by Giuseppe Caccia).
Lytebox v3.10 (05-28-07):
- Fixed a bug where Lytebox was not working if an image gallery is opened in a popup window.
- Added automatic image resizing so that images always appear in the window and do not stretch the screen (scrollbars). This is enabled by default and can be disabled by setting this.autoResize = false. Credit to Saviq/Peter for the code.
Lytebox v3.00 (05-15-07):
- Integrated the "Lyteshow" feature into "Lytebox" and improved the functionality by:
- Adding pause/play functionality.
- Allowing multiple slideshows on the same page via grouping.
- Allow for the Next/Prev navigation to be disabled, as well as a few other configurable options.
- Themes! Added support for using different themes for Lytebox, which includes the following:
- grey (default)
- red
- green
- blue
- gold
- Updated the navigation images (next, prev, close, etc.) and enhanced the stylesheet for more consistent display.
- Included the recent animated .gif fix that was included with the new release of Lightbox.
- Fixed bug where the "overlay" did not consume 100% of the height if the image resized to a height larger than the previous page size, i.e. the image data container expanded outside of the "overlayed" area.
- Moved all images to the stylesheet (lytebox.css) so image locations only need to be updated in a single file.
- Fixed a bug where the "Close" button did not always work in Internet Explorer.
- Fixed a bug where the "ScrollTop" property was not being properly read. This was causing the Lytebox container to appear out of position when scrollbars were visible, typically near the top of the page instead of adjusting for the amount that the user has scrolled on the page.
- Added the ability to hide Flash objects which prevents Flash from appearing above the Lytebox container. By default, Lytebox will hide all Flash objects.
- Improved keyboard functionality. Some of the original functionality was stripped out (ESC key), so this was added back in. Also fixed the Prev/Next navigation, which was pretty much broken due to the initial iframe support addition. Also added some configurable parameters that allow you pause or play when the "Next" and "Prev" buttons are clicked (Thanks for the suggestion and code, Otto!).
- Added the ability to show an outer border, which is disabled by default.
- Prepended "lb" to all id/class definitions to help avoid conflicts.
- IMPORTANT: Themes do not work properly in IE6, because IE6 does not know how to read valid CSS. For more information regarding this issue and how to work around it, read the following thread regarding the issue: http://www.dolem.com/forum/showthread.php?tid=63
Lytebox v2.02 (11-13-06):
- Initial release of Lytebox, derived from Lokesh Dhakar's Lightbox.
- Code rewritten as a self-contained object that eliminates the dependency of prototype.js, effects.js, and scriptaculous.js libraries. All effects are now internal to Lytebox.
- Removed all global variables and made them member variables instead.
- Added full support for iFrame environments, which will be automatically detected by Lytebox.