imageHotspot .js - 图像热点缩放产品展示滑块插件

imageHotspot .js - 图像热点缩放产品展示滑块插件1631
imageHotspot .js - 图像热点缩放产品展示滑块插件1632
一个图像热点提示创建脚本,让您添加图像的热点特性,突出图像的某些部分,美丽和独特的效果。
 var productShowcase = new imageHotspot('#product-showcase', {
                 setCurrent : 0,
                 zoomDelay: 0,
                 width : '70%',
                 height : 300,
                 imagePercent : 100,
                 hideFilterAfterAnim: false,
                 mainAxis: 'x',
                 navigationArrows: true,
                 navigationDots: true,
                 thumbnailDots: true,
                 strokeWidth: 10,
                 autoheight: true,
                 zoom: 1.5,
                 zoomDelay: 0.5,
                 maskRadius: 120,
                 imagePercent: 70,
                 breakpoints: {
                    tablet : {
                        maxWidth: 1024,
                        width : '100%',
                        showCaptions: false
                    },
                    phone : {
                        maxWidth: 600,
                        imagePercent: 100
                    }
                 }
            });

也许你还喜欢