Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delay on first image #53

Closed
mahalo74 opened this issue Jan 25, 2012 · 6 comments
Closed

Delay on first image #53

mahalo74 opened this issue Jan 25, 2012 · 6 comments
Labels

Comments

@mahalo74
Copy link

is it possible to add a delay to the first image and for it to slide in from the right?

@Tuckie
Copy link

Tuckie commented Mar 1, 2012

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.

@tylernotfound
Copy link
Contributor

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

@markimark
Copy link

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.

@tylernotfound
Copy link
Contributor

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!

@markimark
Copy link

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 <
reply@reply.github.com

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)

@tylernotfound
Copy link
Contributor

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);
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants