嵌入交互式全景圖片的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 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!