No, the ID is added automatically to the element, but you can assign a class name in Project Settings → Appearance, which you can then use to access it via jQuery.
If your “next” button or text is a custom layer, you can achieve this using Layer Actions. You can add multiple actions to the same layer — for example, advance to the next slide and stop the slideshow — to prevent it from looping back to the first slide.
Two questions (hope that's ok):
- Can I name the id that is given to a layerSlider object so I can access it from jQuery?
- Can I stop a slideshow from looping back to the beginning if the user clicks "next" on the last slide?
Thanks.
Hello Brian,
No, the ID is added automatically to the element, but you can assign a class name in Project Settings → Appearance, which you can then use to access it via jQuery.
If your “next” button or text is a custom layer, you can achieve this using Layer Actions. You can add multiple actions to the same layer — for example, advance to the next slide and stop the slideshow — to prevent it from looping back to the first slide.
Best Regards,
George | Kreatura Dev Team