Please, help to rewrite this jQuery function:
$(".gallery dt a img").fadeTo("fast", .7);
$(".gallery dt a").hover(function () {
$(this).fadeTo("fast", 1)
},
function () {
$(this).fadeTo("fast", .7)
});
Here is a html:
<dl class="gallery">
<dt><a href="#"><img /></a></dt>
<dd><a href="#">text</a></dd>
</dl>
Image appears (opacity: 1) when I hover a link in <dt>
tag, how can I change this, to make image appear when I hover a links in both <dt>
and <dd>
tags?
Nobody knows?