0
我使用這個對象爲我ELEVATE變焦:如何在jQuery中放置條件提升縮放對象選項?
$("#zoom_09").elevateZoom({
zoomType: "inner",
});
我想改變它的手機屏幕是這樣的:
$("#zoom_09").elevateZoom({
zoomType: if($(window).width < 767){ "inner" }else { "window" }
});
看起來這是一個已知的錯誤,沒有當前的解決方案:https://github.com/elevateweb/elevatezoom/issues/94 – haxxxton