Download & Extend

Close lightbox when background overlay is clicked

Project:jQuery Lightbox
Version:6.x-1.0
Component:JavaScript
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

When I click with mouse left or right near opened jlightbox window nothing do. In original lightbox when I click near lightbox image window, lightbox window have been closed. It's working when I click up or bottom. Its bug or feature? thank you for great module.

Comments

#1

Status:active» needs review

I 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.

AttachmentSize
jlightbox_327139_clickclose.patch 878 bytes

#2

Title:Click near jlightbox not working» Close lightbox when background overlay is clicked
Component:Code» JavaScript

Any word on getting this committed?

#3

I need some positive confirmations for IE6, IE7, Chrome, Safari, and Firefox first.

#4

I tested the uncompressed JavaScript, works for me in the following browsers:

Windows XP

  • Firefox 3.0.6
  • Opera 9.64
  • Chrome 1.0.154.48
  • Safari 3.2.2
  • IE 7.0.573.11
  • IE 6

Mac OSX

  • Firefox 3.0.7
  • Safari 3.2.1

#5

Status:needs review» fixed

Committed to all branches.

#6

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here