This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

How change objects color at visu
#19
(10.06.2021, 06:02)admin Wrote: This is not CSS but custom JavaScript (Scripting > Tools > Edit custom JavaScript).

Indeed... works very well when I add it in JS instead of CSS :-)

So then my next question:
The limits in this JS is hard coded. Is there any way to have the limits linked to addresses as well? 
Example; 
Main object is called "Room 1 ACTUAL_TEMP"
Lower limit is called "Room 1 LOWER_LIMIT"
Upper limit is called "Room 1 UPPER_LIMIT"

What I want to do is make a visu-page showing the freezer rooms with large temperature number that is coloured depending on the temperature in each room, and the limits should be adjustable for each room by the staff.
There are 10 kinds of people in the world; those who can read binary and those who don't  Cool
Reply


Messages In This Thread
How change objects color at visu - by AlexLV - 17.03.2019, 21:43
RE: How change objects color at visu - by Trond Hoyem - 10.06.2021, 06:15

Forum Jump: