i have a div-container with a gif-picture. I want to blinking this gif, but the gif is only show and is not blinking
  function blink() {
      time2 = time2 - 1;
      if (time2 >= 0) {
          var ani = setInterval(blinkerle() {
              if (document.getElementById(risiko1).style.visibility == "visible") {
                  document.getElementById(risiko1).style.visibility = "hidden";
              } else {
                  document.getElementById(risiko1).style.visibility = "visible";
              }
          }, 1000);
      }
  }
the function is called via blink();
from another place. thanks for your help
 
     
     
     
    