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

Easing "easeInOutBack" on 1st slide doesn't work #61

Closed
zumajoe opened this issue Mar 3, 2011 · 3 comments
Closed

Easing "easeInOutBack" on 1st slide doesn't work #61

zumajoe opened this issue Mar 3, 2011 · 3 comments
Labels

Comments

@zumajoe
Copy link

zumajoe commented Mar 3, 2011

If you apply easing: "easeInOutBack", the first slide (once you click through all slides and it returns to the first) will not perform the easing- makes the flow of things seem odd.

@Mottie
Copy link
Contributor

Mottie commented Mar 3, 2011

Hi Zumajoe!

Hmm, I don't think that will be an easy fix. The main problem is that the script uses scrollLeft to position the panel in view and scrollLeft doesn't allow negative numbers which it would need in order to perform that particular easing.

I haven't looked at why going past the last slide also causes the same sudden animation stop. But I'll look into it.

The next best solution would be to turn off the infinite slides (set "infiniteSlides : false" in the options), if you are willing. It'll just rewind when it hits either end.

@Mottie
Copy link
Contributor

Mottie commented Apr 2, 2011

Fixed in version 1.5.8. It's now part of the demo (first slider). Thanks again!

@Mottie Mottie closed this as completed Apr 2, 2011
@Mottie
Copy link
Contributor

Mottie commented May 22, 2011

I changed the script again in version 1.5.13. The slider no longer uses scrollLeft to position the visible slide. It now uses left so this problem no longer occurs as well as a left margin is no longer required.

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

2 participants