Looking for some kind of timeout/countdown
I am looking for a timeout/countdown(dotn know the right name of it),
i have a site where i have a couple images that are divided in different categories(web, print, logo) if i click on the web button al of the non web images fade(opacity), i dont want to use and reset btn thats why i am looking for a timer. when the time is up all of the images fade back.
Example code(very basic)
-
$('#hi-ind').click(function(){
$('.hi-logo').fadeTo("slow", 0.10);
$('.hi-web').fadeTo("slow", 0.10);
$('.hi-grap').fadeTo("slow", 0.10);
$('.hi-ind').fadeTo("slow", 1.0);
});
thanks