Change background image through JS

Hi,

is it possible to change the background image through JS?
Thanks, Rolf

@Rolf - I am not sure about changing the background if one is setting the background image through the UI. The name of the file changes as far as I can tell to something along the lines of res_10000 depending on the order it was added to the library. You may be able to hunt that all down and make it work but it would seem tedious.

However, it seems to me that you could make this effect a reality by simply placing an image on the slide which is sized to your presentation dimensions.

If you load up all of your additional background images as states - you could easily change between them with JavaScript whether with a button, onEnter to a slide, or any other event you desire.

Food for thought.

2 Likes