09.03.2019, 06:45
How to turn on and off two values corresponding to the two color effects inside the CSS。
Two colors to represent opening and closing through CSS。
Two colors to represent opening and closing through CSS。
Two colors to represent opening and closing through CSS
|
09.03.2019, 06:45
How to turn on and off two values corresponding to the two color effects inside the CSS。
Two colors to represent opening and closing through CSS。
09.03.2019, 10:24
Hi,
Why do you want to make it this complex? Just create a png image of your strip in photoshop or any other graphical software and create a version in off-state and on-state and use these 2 images in your visu object. If you needed a rgb strip then the more complex way with custom js is needed.. BR, Erwin
10.03.2019, 10:24
(09.03.2019, 10:24)Erwin van der Zwart Wrote: Hi, I think since 1BYTE RGB can use CSS, 1bit can also be used.
10.03.2019, 12:14
(This post was last modified: 10.03.2019, 12:16 by Erwin van der Zwart.)
Hi,
I don’t fully get your answer, there is normally no need to use css, you can attach images to a object value, this can be boolean so 2 state images, or integer that can hold a lot of images on a certain object value. Here you never need custom css. When having 3 byte RGB you might need a object color in a strip and to do this particular type it’s best to use css. Otherwise you need 16.7 milion images for the different colors (: So in your case with binary object you should use .png images to do the task. BR, Erwin
13.03.2019, 04:57
(10.03.2019, 12:14)Erwin van der Zwart Wrote: Hi, Thank you very much for your reply and follow your advice. |
« Next Oldest | Next Newest »
|