blueimp/jQuery-Image-Gallery — Issue #4: close dialog on click
Author: tsilik
Created: 2011-11-16 00:41:02+00:00
State: open

Hey there,
I am trying to make some modifications to your code for making the dialog closes on click rather than going to the next image.
Since now I only managed to make it close by changing a little the _initDialogHandlers:
...........
options._dialog
.bind(
'click.' + options.namespace,
options,
$.fn.imagegallery._clickHandler ( changed this to _closeHandler)
)
.............
but the transition effect when hiding the dialog is not appearing...as if the dialog is forced to close immediately...
Could you provide me of any alternative solution?