new lightbox interface v2
This commit is contained in:
@@ -153,7 +153,10 @@
|
||||
};
|
||||
|
||||
// Attach event handlers to the newly minted DOM elements
|
||||
this.$overlay.hide().on('click', function() {
|
||||
//ADDED-START
|
||||
//this.$overlay.hide().on('click', function() {
|
||||
this.$overlay.hide().add(this.$lightbox.find('.lb-dataContainer')).on('click', function() {
|
||||
//ADDED-END
|
||||
self.end();
|
||||
return false;
|
||||
});
|
||||
@@ -504,7 +507,7 @@
|
||||
function postResize() {
|
||||
//ADDED-START
|
||||
//self.$lightbox.find('.lb-dataContainer').width(newWidth);
|
||||
self.$lightbox.height(newHeight);
|
||||
self.$lightbox.find('.lb-dataContainer').height(newHeight);
|
||||
//ADDED-END
|
||||
self.$lightbox.find('.lb-prevLink').height(newHeight);
|
||||
self.$lightbox.find('.lb-nextLink').height(newHeight);
|
||||
|
||||
15
script/lightbox.min.js
vendored
15
script/lightbox.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user