嵌入交互式全景图片的jQuery插件:Panorama Viewer
通过这个简单的插件,可以在您的网站嵌入交互式全景照片。持的现代主流的浏览器:Chrome, Firefox 和 Safari (桌面和移动端)。 在线演示
$(".panorama").panorama_viewer({ repeat: false, // The image will repeat when the user scroll reach the bounding box. The default value is false. direction: "horizontal", // Let you define the direction of the scroll. Acceptable values are "horizontal" and "vertical". The default value is horizontal animationTime: 700, // This allows you to set the easing time when the image is being dragged. Set this to 0 to make it instant. The default value is 700. easing: "ease-out", // You can define the easing options here. This option accepts CSS easing options. Available options are "ease", "linear", "ease-in", "ease-out", "ease-in-out", and "cubic-bezier(...))". The default value is "ease-out". overlay: true // Toggle this to false to hide the initial instruction overlay });
本文由用户 jopen 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
转载本站原创文章,请注明出处,并保留原始链接、图片水印。
本站是一个以用户分享为主的开源技术平台,欢迎各类分享!