$(".imageFadeOnHover").hover(
 function()
 {
  $(this).css("opacity", "0.6");
 },
 function()
 {
  $(this).css("opacity", "1.0");
 }
);
and don't forget to realise IE 5.5 equivalent DX filter.

or to fade try
$(".imageFadeOnHover").hover(
 function()
 {
  $(this).fadeTo("fast","0.6");
 },
 function()
 {
  $(this).fadeTo("fast","1.0");
 }
);

On Dec 6, 5:52 pm, cfdvlpr <[EMAIL PROTECTED]> wrote:
> I'd like to do this with minimal code and so a plugin that has a whole
> lot of other features would not be ideal.  Could someone get me
> started with some jQuery code that would do this?
>
> Here's the html:
> <a href="link.html" class="linkFadeImageOnHover"><img
> class="imageFadeOnHover" src"filename.jpg"></a>

Reply via email to