jQuery Infinite Loop Image Scrolling Plugin ScrollPic.js (Original)
Add-ons

Plugin description: ScrollPic.js provides continuous image switching. Image movement pauses when the mouse hovers over an image and resumes when the mouse leaves.
Last updated: 2019-08-14 10:52:24
1. ScrollPic.js Image Switching
2. ScrollPic.js is an easy-to-understand and easy-to-use plugin for horizontal image scrolling. It offers good compatibility and can be used with confidence.
Plugin Parameters
1 2 3 4 5 6 7 8 9 10 11 12 13 | $(function () { var cc1 = new ScrollPic(); cc1.scrollContId = "picList1"; // Content container ID. Add picList1 to the container. cc1.arrLeftId = "LeftArr";// Left arrow ID cc1.arrRightId = "RightArr"; // Right arrow ID cc1.frameWidth = 1200; // Width of the display area cc1.pageWidth = 1; // Page scrolling width cc1.speed = 10; // Movement speed (in milliseconds; smaller values mean faster movement) cc1.space = 10; // Pixels moved each time (in px; larger values mean faster movement) cc1.autoPlay = true; // Enable autoplay cc1.autoPlayTime = 0.03; // Autoplay interval (in seconds) cc1.initialize(); // Initialize }); |
评论