Limited availability during the holidays
Another busy year is coming to its end, and an exciting year lies ahead. In order to get ready for a fresh new start, our team will spend a few days' rest during the winter holidays. Over the holiday break, we will have reduced staffing from December 20th, 2025, to January 4th, 2026, so please be patient if you do not receive a response as quickly as you normally would.
We send our warmest wishes for happiness, health, and success throughout the coming year. Thank you for your continued support, and may you have a peaceful and blessed Happy Holidays!
Hi, I tried to dynamically change the text of a text layer element after the slider was loaded with the id "text" in my layerslider. I get the data object by the console:
function( event, slider ) {
var data = slider.data;
console.log( data );
// Wert auslesen und in der Konsole ausgeben
}
I receive the data, see the layer "text", but what is the right syntax to refer the "text" layer an the value in JS? I tried something like slider.data.layers["text"], but this is always empty. I'm sure, the solution is very simple. Thanks!!!
Hello Stefan,
This can be done with the following code:
function( event, slider ) {
jQuery( '#text' ).text( 'newtext' );
}
Best Regards,
George | Kreatura Dev Team