code:
$('.featured').hover(
function() {
$(this).addClass('active');
$('img',this).fadeTo('slow', 0.5, function() {})
},
function() {
$(this).removeClass('active');
$('img',this).fadeTo('slow', 1, function() {})
});
how can I improve this?
I recall someone telling me once not to use
$('img', this) ..
but I can't figure out how to access an image within the DIV being hovered over any other way.
thanks !