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

FlexSlider length attribute doesn't work (defaults to 2?!) #1782

Open
crazyserb opened this issue Aug 19, 2020 · 0 comments
Open

FlexSlider length attribute doesn't work (defaults to 2?!) #1782

crazyserb opened this issue Aug 19, 2020 · 0 comments

Comments

@crazyserb
Copy link

I'm trying to create "FIRST" and "LAST" links for the slider (to go to the beginning and end of the slide), and for the "FIRST" value, a simple

flexsliderMain.flexslider(0);

does the trick.

But for "LAST" link, when I try something like this doesn't work, and just returns "2" (attributes.length that is), no matter what (whether I have 10 slides or 200):

flexsliderMain.flexslider( flexsliderMain[0].attributes.length );

and it just ends advancing the slide to the next set of slides, instead of forwarding it all the way to the end.

What am I missing?!

@crazyserb crazyserb reopened this Aug 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant