|
|
@@ -47,8 +47,11 @@ $(window).load(function() { |
|
|
|
$('.lightbox-wrapper').css({ |
|
|
|
'width': context.image.standard.width, |
|
|
|
'margin-top': 70, |
|
|
|
'margin-bottom': 70, |
|
|
|
'margin-left': -context.image.standard.width/2 |
|
|
|
}); |
|
|
|
if ($('.lightbox-wrapper').height()+140 > $(window).height()) |
|
|
|
$('.lightbox-background').height($('.lightbox-wrapper').height()+140); |
|
|
|
|
|
|
|
box.click(function() { |
|
|
|
$(this).fadeOut(200); |
|
|
|