Learn how to use jQuery at the Blog

Creamy CSS « visit

  • Added 11 months ago
  • 13 Lines of Code shown
  • 1 Links of Interest
http://creamycss.com
This is my Source Code and I don't want to show it here
View Source Code only (as overlay)
// That code snippet belongs to Creamy CSS - http://creamycss.com

$(document).ready(function() {
	$('.tabbed_area > ul').tabs({ fx: { height: 'toggle', opacity: 'toggle' } });
});

$(document).ready(function(){
$(".thumb img").fadeTo("slow", 1.0); // This sets the opacity of the thumbs to fade down to 60% when the page loads

$(".thumb img").hover(function(){
$(this).fadeTo("fast", 0.5); // This should set the opacity to 100% on hover
},function(){
$(this).fadeTo("fast", 1.0); // This should set the opacity back to 60% on mouseout
});
});