Osłona zbiornika paliwa i AdBlue do VW Crafter 17-20, MAN TGE 17-20

marginTop: 0 }); } if (loadZoom && $(window).width() > 767) { _this.elevateZoom({ gallery: 'image_thumbs', cursor: 'pointer', galleryActiveClass: 'active', imageCrossfade: true, scrollZoom: true, zoomWindowHeight: zoomMinWidth, zoomWindowWidth: zoomMinHeight, zoomLevel: 0.99, minZoomLevel: 0.60, loadingIcon: '/gfx/loader.gif', onImageSwapLoad: function (zoom, newImg, obj, smallImage, largeimage) { var width = obj.$elem.width(), height = obj.$elem.height(); console.log(width, height) if (width < zoomWrapperParent.width()) { $('#image_zoom').css({ marginLeft: (zoomWrapperParent.width() - width) / 2 }); } else { $('#image_zoom').css({ marginLeft: 0 }); } if (height < zoomWrapperParent.height()) { $('#image_zoom').css({ marginTop: (zoomWrapperParent.height() - height) / 2 }); } else { $('#image_zoom').css({ marginTop: 0 }); } obj.zoomLevel = 0.99; // zoomWrapperParent.animate({height: height}, 300); // $(zoom).parent().animate({height:obj.$elem.get(0).offsetHeight}, 300); } }); } } }); img.attr('src', $(this).parent().data('image')); loadDiv.append(img); }); }); //pass the images to Fancybox $("#image_zoom").bind("click", function (e) { var ez = $('img[data-zoom-image]').data('elevateZoom'); $.fancybox(ez.getGalleryList()); return false; }); if (loadZoom === false || $(window).width() <= 767) { $(".image_thumb_item > a").click(function() { $('#image_zoom').attr('src', $(this).attr('data-image')); }); } $(window).on('hashchange', function () { clearTimeout(imageHashTimeout); $('a[href^="#"]').removeClass('current'); $('a[href="' + window.location.hash + '"]').addClass('current'); }); $('a[href="' + window.location.hash + '"]').addClass('current'); });
Logo