I'm trying to figure out how to call other Sliders with LayerSlider. Ex: I got 4 small Sliders across the length of the page (4 Sliders). DO I need to use the Event callbacks to call each one e.g. 1, 2, 3, and 4, then repeat that cycle. And, can I make the background image fade in/out like the text layer inside of it?
Thank you for getting in touch with us. My name is Attila and I'm happy to assist you today. I appreciate your patience while we've been working towards your ticket.
Regarding the background image, you can apply slide transitions on it, there are more than 200 available, including Fade, so I'm sure you can find one that fits your needs.
I know most of the capabilities of LayerSlider. I am asking - If I have 4 separate sliders, and I want to call the next one when the previous one finishes, I believe I need to use an Event Callback feature. I need to use the 'slideTimelineDidComplete' API.
Plainly, how do I write an API that calls another slider? Ex: slider(slider2).api('start')
I'm not sure if the syntax is right, but that's what I want to learn.
If your sliders have only one slide then the slideTimelineDidComplete is good. But if they have more you will have to check if they are at the last slide and only run this then.
You can start it like this: jQuery('#slider_id').layerSlider('start');
Hello,
I'm trying to figure out how to call other Sliders with LayerSlider. Ex: I got 4 small Sliders across the length of the page (4 Sliders). DO I need to use the Event callbacks to call each one e.g. 1, 2, 3, and 4, then repeat that cycle. And, can I make the background image fade in/out like the text layer inside of it?
Thanks,
Jason.
Hello Jason,
Thank you for getting in touch with us. My name is Attila and I'm happy to assist you today. I appreciate your patience while we've been working towards your ticket.
I'm sorry, but I'm not sure I understood you fully. If you're looking for ways to include sliders to your site, you can find the available publishing methods listed and explained here: https://support.kreaturamedia.com/docs/layersliderwp/documentation.html#publishing-sliders
Regarding the background image, you can apply slide transitions on it, there are more than 200 available, including Fade, so I'm sure you can find one that fits your needs.
I know most of the capabilities of LayerSlider. I am asking - If I have 4 separate sliders, and I want to call the next one when the previous one finishes, I believe I need to use an Event Callback feature. I need to use the 'slideTimelineDidComplete' API.
Plainly, how do I write an API that calls another slider? Ex: slider(slider2).api('start')
I'm not sure if the syntax is right, but that's what I want to learn.
Please assist.
If your sliders have only one slide then the slideTimelineDidComplete is good. But if they have more you will have to check if they are at the last slide and only run this then.
You can start it like this: jQuery('#slider_id').layerSlider('start');
And the next one with the next ID.