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

Add-ons
2026-07-25 23:03 3 次浏览 • 0 次下载 16.9KB
jQuery Infinite Loop Image Scrolling Plugin ScrollPic.js (Original)

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
});
星河码客

发现和分享优质开源项目,传承互联网精神,为开发者服务。

关于本站

联系我们

微信/广告合作:ITcloub (备注星河码客)

免责声明:本站资源版权归原作者所有,仅供学习与交流。如有侵权,请通过「关于我们 - 侵权投诉」联系删除。

Powered by Nuxt · Deployed on Cloudflare