jquery help regarding grayscale(this);!!
Hi, I'm still new to Jquery, and I found a similar code that I was looking for which lets images go grayscale when hovered.
What I am looking for is the other way round, so the image is grayscale, but turns color back when hovered.
I know I can do this by rewriting this code:
- $(document).ready(function(){
- $('div.tabsFeaturedImage img').hover(function(){
- grayscale(this);
- }, function(){
- grayscale.reset(this);
- })
- });
but not sure how! Can anyone help me? Thanks a bunch.