I am trying to add opacity to a div which contains anchor tag,image, caption(span) .
On hovering of caption i want to show my caption only making all of div blur... So i had used not like this
$(this).not('.Caption').css('opacity', '0.4');
my body is like
<div>
<a href="#"><img src=""/></a>
<span class='Caption'>caption</span>
</div>
See my fiddle for better understanding..FiDDle
UPDATE: Actually i am trying to implement like the last demo in Plugin , lastly i ended like the fiddle above
$(this).find(':not(.Caption)').css('opacity', '0.4');