Thumbnail Hover Fade

$(".thumbnail").fadeTo("fast", 0.5); $(".thumbnail").hover(function(){ $(this).fadeTo("fast", 1.0); },function(){ $(this).fadeTo("fast", 0.5); });
Fade a thumbnail from 50 percent opacity to 100 percent when hovered. Then fades back to 50 percent once not hovered.

Calls the div class thumbnail.

1 Response

Saludos, sería bueno ver el llamado al fragmento de código, gracias.

Write a comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.