Blink image with JQuery
jquery
Solution
Something like this:
function blink(time, interval){
var timer = window.setInterval(function(){
$("img").css("opacity", "0.1");
window.setTimeout(function(){
$("img").css("opacity", "1");
}, 100);
}, interval);
window.setTimeout(function(){clearInterval(timer);}, time);
}
And start function with `blink(900000, 1000);`
Problem
Is it possible to blink a image with JQuery? I need to blink certain image with specific class. It should work in both IE and firefox