How to make a Text Blink when an notification appears and stop it when it’s clicked? Code Answer

Hello Developer, Hope you guys are doing great. Today at Tutorial Guruji Official website, we are sharing the answer of How to make a Text Blink when an notification appears and stop it when it’s clicked? without wasting too much if your time.

The question is published on by Tutorial Guruji team.

I want to blink the notification when its called from the server and need to stop when its Clicked..

$(document).ready(function() {
    $("#new_message").load('new_notification');
    $("#indi").load('indi');

    setInterval(function() {
        $("#new_message").load('new_notification');
        $("#indi").load('indi');
    }, 1000);
});
  
<span class="label label-success" id="indi"></span> // Here the notification is shown the blink needs here
  <ul class="dropdown-menu">
    <ul class="menu" id="new_message">
    </ul>
  </ul>
</span>

Answer

Try to use this Jquery Plugin .It has a blink and unblink functions .

We are here to answer your question about How to make a Text Blink when an notification appears and stop it when it’s clicked? - If you find the proper solution, please don't forgot to share this with your team members.

Related Posts

Tutorial Guruji