Coder Social home page Coder Social logo

Auto Start Slideshow about swipe HOT 3 CLOSED

422 avatar 422 commented on August 20, 2024
Auto Start Slideshow

from swipe.

Comments (3)

epitaphmike avatar epitaphmike commented on August 20, 2024

You need to use the config options in the listed examples here. https://github.com/bradbirdsall/Swipe/tree/swipe2#config-options

Example:
var sliderTicker = new Swipe(document.getElementById('sliderTicker'), {
startSlide: 0,
speed: 300,
auto: 3000,
continuous: true,
});

from swipe.

422 avatar 422 commented on August 20, 2024

Yer I was looking thru your js:

this.options = options || {};
this.index = this.options.startSlide || 0;
this.speed = this.options.speed || 300;
this.callback = this.options.callback || function() {};
this.delay = this.options.auto || 0;

I had set :

last param to 1
and speed to 3000

So thanks, will implement your snippet. Do you know if we can use elastic type ( effects ) .. etc?

Perhaps I should use the easing plugin with it

Cheers for the speedy reply

from swipe.

epitaphmike avatar epitaphmike commented on August 20, 2024

This is not my JS. I was just implementing this yesterday and it was fresh in my mind. I prefer the default functionality since is it similar to iOS.

from swipe.

Related Issues (20)

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.