cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

background color blinking with on/off interval of 1s?

Highlighted

background color blinking with on/off interval of 1s?

Hi,

I have a Button "Run comm Test" and a "System Message" textbox. If I click on that button "Run comm Test" , I ll get data for that textbox from my database.

but if the data is "Pass", I want that data with the on/off blinking of background green color with the interval of 1s and in the same way if its is "Fail",I want that data with the on/off blinking of background red color with the interval of 1s.

how could I do that one?

Tags (2)
1 REPLY 1

Re: background color blinking with on/off interval of 1s?

Easiest way would be to create animated gif (simple few px*px would be enough):

Green-White-Green

Red-White-Red

Add those as media entities

Use State definition to switch between them, or write a service which would return mediaUrl based on your criteria.

Let me know