top of page
Profile
Join date: Apr 14, 2020
About
How can i set duration for "ArrayList" which shuffles after few seconds.
$w.onReady(function () { }); const ArrayList = [ ' Live', ' Work', ' Play', ]; $w.onReady(function(){ const randomIndex = Math.floor(Math.random() * (ArrayList.length)); $w('#text33').text = ArrayList[randomIndex]; return ArrayList; });
Thank you!
vinithtk
More actions
bottom of page