Payament
Free Photos
WordPress Themes

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.

Be the first to 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.