alkitbi alkitbi - 3 years ago 177
CSS Question

Blinks or flash bgcolor

I have there is a table showing the last 10 news. But when I want to put any new command to the news appears in the td blinks or flash bgcolor.

Answer Source

If you're using jQuery, you can achieve this effect with animate like this:

$(".my-new-tr td").css("background:#ffff00")             // make the background yellow
                  .animate({ "background": "#ffffff" })  // fade to white

This assumes your newly added row will be given the class my-new-tr when created. This class will be removed after the effect.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download