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

Need help trying to load 2 slides from 1 anchor #169

Open
iontorres opened this issue Sep 8, 2017 · 2 comments
Open

Need help trying to load 2 slides from 1 anchor #169

iontorres opened this issue Sep 8, 2017 · 2 comments

Comments

@iontorres
Copy link

Hi, I've been trying to load 2 slides from different sliders containers and i need both to move when i make click to a single anchor, the thing is i just can't make this work is there a solution?

Thanks in advance :)

@KevinBatdorf
Copy link
Owner

I'm not 100% sure what you're trying to do, but each slider object has an API that you can control from anywhere. Check this link for some examples.

in psuedo code

var api1 = $.data( $('#slider-1')[0], 'liquidSlider');
var api2 = $.data( $('#slider-2')[0], 'liquidSlider');
$(.yourButton).('click', '.yourContainer', function() {
  api1.setNextPanel(2);
  api2.setNextPanel(2);
});

@iontorres
Copy link
Author

Yep, that helped a lot actually what i was trying to reach is when i have 2 sliders which need to be and load synchronized when I select an unique anchor called "Next". So the link and example in the download make great difference, Thanks a lot for the help.

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

2 participants