Version Notes
Enjoy it ;)
Download this release
Release Info
Developer | Magento Core Team |
Extension | IG_LightBox |
Version | 1.0.7 |
Comparing to | |
See all releases |
Code changes from version 1.0.6 to 1.0.7
skin/frontend/default/default/js/ig_lightbox.js
CHANGED
@@ -123,8 +123,8 @@ function ig_lightbox_show(n)
|
|
123 |
style :
|
124 |
'width : '+img_width+'px;'+
|
125 |
'height : '+img_height+'px;'+
|
126 |
-
'left : '+Math.floor((win_width-img_width)/2)+'px;'+
|
127 |
-
'top : '+Math.floor((win_height-img_height)/2)+'px',
|
128 |
afterFinish : function (effect) {
|
129 |
$('ig-lightbox-image-src').src = ig_lightbox_img_sequence[ig_lightbox_cur_image_n];
|
130 |
|
123 |
style :
|
124 |
'width : '+img_width+'px;'+
|
125 |
'height : '+img_height+'px;'+
|
126 |
+
'left : '+Math.floor(((win_width-img_width)/2)-2)+'px;'+
|
127 |
+
'top : '+Math.floor(((win_height-img_height)/2)-1)+'px',
|
128 |
afterFinish : function (effect) {
|
129 |
$('ig-lightbox-image-src').src = ig_lightbox_img_sequence[ig_lightbox_cur_image_n];
|
130 |
|