• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Jquery Effect


cmykme

Junior Member
#1
I am trying to find a nice Jquery effect that gives the effect of an image flash when you hover over it.

So I have an image, then on the hover it flashes white for a split second (or longer) and then reverst back to the image even though still hovered over it.

Any suggestions appreciated.

Cheers
 

tbwcf

Active Member
#2
Not too sure why you'd want to but...

$(function () {
$('.flasher').hover(function () {
$('img').fadeOut('fast');
$('img').fadeIn('slow');
});
});
Would do it. Just give the images you want to apply to class="flasher"
 

cmykme

Junior Member
#4
Thanks for the replies, how can I apply it to different images.
At the moment there are 6 images and they all flash upon the hover.

Cheers :up: