Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End how to change background depending on a string value Reply To: how to change background depending on a string value

#243342
Atelierbram
Participant

if the given value is below some amount then display some different css value

Such a conditional statement could be a javascript function and maybe dynamically updating a value for style.backgroundImage but … combining this with echoing out this PHP function … maybe not.

Better look into using a HTML5 range slider and nest this range slider within a SVG image.