Pixomar Posted May 16, 2019 Report Share Posted May 16, 2019 In by table report Datapage, I would like the latest data field to blink red and white (automatically when a latest field comes), how do I do it. Quote Link to comment Share on other sites More sharing options...
Harbinger Posted May 18, 2019 Report Share Posted May 18, 2019 Quote Link to comment Share on other sites More sharing options...
DefinitelyNot31337 Posted May 20, 2019 Report Share Posted May 20, 2019 Hello @Pixomar, Harbinger's answer works. To implement this in your Tabular Report, paste the code below in the footer of your Configure Results Page Fields: By latest data, I assume it's either the first or last record in your result set. Otherwise, let me know how you define "latest". <style> .blink_me { animation: blinker 2s linear infinite; } @keyframes blinker { 50% { opacity: 0; background: red; color: black; } } </style> <script> var records = document.querySelectorAll('.cbResultSetDataRow'); // First: 1 | Last: records.length var recordIndex = 1; records[recordIndex-1].classList.add("blink_me"); </script> Regards, DN31337! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.