Hi ,
Is there a way to change the background image of the login-layout in runtime ? creating a sort of slideshow / image carousel ?
I have a table with all the images available with name and path :
The idea is to load each X seconds / minutes a new image and using style.transition from the current image to the new one.
I have done this with JavasScript in other projects ( non Radzen / Angular) , there I'm targeting the body tag using setInterval(fnChangeImage, 15000) after page load.
in the function : fnChangeImage getting the body-section and setting its style like.
var urlString = 'url(../Images/' + bgimage + ')';
body.style.transition = 'background-image 4s linear 1s';
body.style.backgroundImage = urlString
body.style.backgroundPosition = 'center';
body.style.backgroundSize = 'cover';
bgimage is an element that contains the filename using an Array with filenames retrieved from the database using javascript..
Any help on this ? there is no body-background element with the Radzen page.
Regards,
Mehmet