Closed (fixed)
Project:
jQuery Lightbox
Version:
6.x-1.0
Component:
JavaScript
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Oct 2008 at 13:41 UTC
Updated:
24 Mar 2009 at 04:30 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dboulet commentedI would consider this a bug. Here's a patch to the uncompressed javascript that fixes the problem. Now clicking anywhere on the background closes the lightbox window. This would have to get recompressed into jlightbox.js to work.
Comment #2
dboulet commentedAny word on getting this committed?
Comment #3
sunI need some positive confirmations for IE6, IE7, Chrome, Safari, and Firefox first.
Comment #4
dboulet commentedI tested the uncompressed JavaScript, works for me in the following browsers:
Windows XP
Mac OSX
Comment #5
sunCommitted to all branches.
Comment #7
kalidasan commentedI was trying to close lightbox, when we click on background overlay(Grey background).
But #lightbox content was overlapped #lightbox2-overlay.
So not able to write click event for #lightbox2-overlay.
Finally achieved using jQuery
event.target.iduse above code in your custom JS.