GithubHelp home page GithubHelp logo

jquery.imgscroll.js's Introduction

jquery.imgScroll.js

jQuery轮播插件,支持各种自定义属性

第一步,引入jquery和jquery.imgScroll.js获取juqery.imgScroll.min.js

<script src="jquery.min.js"></script>
<script src="jquery.imgScroll.js"></script>

第二步,创建一个容器

<div id="test"></div>   

第三步,写入配置

$("#test").imgScroll({
    imgAdds: ["1.jpg", "2.jpg", "3.jpg","4.jpg", "5.jpg"], //图片地址,数组
    imgWidth:150,//轮播框大小,以图片张数计算
    imgHeight:100,//轮播图片宽
    imgHeight:80,//轮播图片高
    speed:500,//动画速度,毫秒
    imgExplain:['图片1','图片2','图片3','图片4','图片5'],//图片下图片解释介绍,和图片地址对应,可以不设置,数组
    lineMove:false,//是否整个图片框整体移动,默认false,一张一张移动
    scroll:true,//是否滚动
    scrollSpeed:1500,//滚动速度,毫秒
    iconColor:#00bb9c//prev、next图标颜色
});

demo

jquery.imgscroll.js's People

Contributors

wuzhoubo avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.