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
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
$(function() {window.setInterval("$('.myImage').toggle();",2000);});
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);
15 minutes? You could give jQuery Timers a try (http://jquery.offput.ca/every/)