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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

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

bmarimuthu-2
1-Newbie

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?

1 REPLY 1

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

Top Tags