Logic Machine Forum
Plan background image change - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9)
+--- Thread: Plan background image change (/showthread.php?tid=5429)



Plan background image change - jmir - 23.05.2024

Hi,

Is it possible to change "Primary background image" in a plan depending on object value? Or hidding showing primary or secondary background image?

I've seen something here https://forum.logicmachine.net/showthrea...05#pid2205 but if it's possible to do it changing background image it should be better...

Thanks!


RE: Plan background image change - admin - 23.05.2024

You can change the background like this:
Code:
$('.plan-background').css('background-image', 'url(link_to_image)')



RE: Plan background image change - jmir - 24.05.2024

(23.05.2024, 09:00)admin Wrote: You can change the background like this:
Code:
$('.plan-background').css('background-image', 'url(link_to_image)')

Ok thanks!