GithubHelp home page GithubHelp logo

jascarousel / jascarousel Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 1.0 230 KB

Home Page: https://jascarousel.github.io/jascarousel/

License: Other

HTML 57.78% JavaScript 28.10% CSS 14.12%
javascript jquery-plugin jquery slider-plugin carousel-plugin carousel-3d 360-slider

jascarousel's Introduction

jasCarousel


Awesome 3D carousel plugin

Demo

https://jascarousel.github.io/jascarousel/

CDN

To start working with jasCarousel right away, there's a couple of CDN choices availabile to serve the files as close, and fast as possible to your users:

Include following style and script into your HTML <head>:

<link rel="stylesheet" type="text/css" href="https://jascarousel.github.io/jascarousel/css/jas-carousel.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="https://jascarousel.github.io/jascarousel/js/jas-carousel.js"></script>

After that follow HTML structure:

Html Settings

In jasCarousel you need to follow this html structure

Example:

<ul class="slider">
    <li>1</li>
    <li>2</li>
    <li>3</li>
    <li>4</li>
    <li>5</li>
    <li>6</li>
    <li>7</li>
    <li>8</li>
    <li>9</li>
    <li>10</li>
    <li>11</li>
    <li>12</li>
    <li>13</li>
    <li>14</li>
    <li>15</li>
</ul>

JavaScript setting and default options

    $(".slider").jasCarousel({
        margin: 20,
        auto: false,
        speed: 800,
        delay: 2000,
        slideFrontFace: false,
        moveOnSlideClick: true,
        prevText:'Prev',
        nextText:'Next'
    })    
    

Options

Name default description
auto true 3Dcarousel will auto play with this option
delay 1500 delay between slide transition
speed 2000 Transition Speed of slide change
navigation true To genrate navigation button in 3Dcarousel
prevText "prev" Add text into prev button
nextText "next" Add text into next button
autoDirection "next" Auto direction of slider navigation "next" and "prev"
mode "horizontal" if set value "horizontal" it will generate horizonral carousel. And "vertical" will generate vartical carousel
margin 0 Margin between each slide.

Contributing

Please review CONTRIBUTING.markdown prior to requesting a feature, filing a pull request or filing an issue.

jascarousel's People

Contributors

parthjasani avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  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.