Jump to content

Blinking text on the field


Recommended Posts

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!

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...