Giter Site home page Giter Site logo

Delay on first image about flexslider HOT 6 CLOSED

mahalo74 avatar mahalo74 commented on June 15, 2024
Delay on first image

from flexslider.

Comments (6)

Tuckie avatar Tuckie commented on June 15, 2024

to expand on this: it would be great to have this implemented as optional slide metadata to override default settings, such as delay time or animation style.

from flexslider.

tylernotfound avatar tylernotfound commented on June 15, 2024

The optional metadata is an interesting idea. I'll look into how that might fit in.

Edit: I should add that initDelay is a new property included in FlexSlider 2

from flexslider.

markimark avatar markimark commented on June 15, 2024

I know, you closed this but is it, somehow, possible to delay the first image for a certain amount of time? Anything we can do right now, with the current version? Thanks for any info.

from flexslider.

tylernotfound avatar tylernotfound commented on June 15, 2024

If you're looking to have a delay on the first image, but still load all the controls, the answer is sadly no. The best you can do in v1.8 is delay your .flexslider() call to delay the initializing of the entire plugin.

FlexSlider 2 isn't far off, though!

from flexslider.

markimark avatar markimark commented on June 15, 2024

OK. I don't need any of the controls. I have created a grid slider of 8
slider, 4columns, 2 rows and I just don't want them to change images at the
same time. I need to delay at least half of them to make it look good.
Understand my idea. Maybe you can tell me what to do since I do not need
any of the controls.

Thanks for your fast response. I just love that slider!!!!!!!!!!!

On Sat, Apr 14, 2012 at 1:51 AM, Tyler Smith <
[email protected]

wrote:

If you're looking to have a delay on the first image, but still load all
the controls, the answer is sadly no. The best you can do in v1.8 is delay
your .flexslider() call to delay the initializing of the entire plugin.

FlexSlider 2 isn't far off, though!


Reply to this email directly or view it on GitHub:
#53 (comment)

from flexslider.

tylernotfound avatar tylernotfound commented on June 15, 2024

This should do the trick. Add the properties to your slider that needs to have the delay, and adjust the timeout value to whatever you see fit.

slideshow: false,
start: function(slider) {
  setTimeout(slider.resume, 2000);
}

from flexslider.

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.