Hi there,

using this code
        $("img").hover(function(){
               $(this).fadeTo("fast",.3);
           },function(){
               $(this).fadeTo("slow",1);
           });
I'm getting a pretty unexpected behaviour, I think this is because the
fadeTo is setting the css property of whatever it's fading to block,
is this so?

Anyone know how I can work around this problem? Am I maybe doing
something wrong?

Another thing I noticed in this very simple test is that this code
queues the animation, so moving the pointer back and forth over it
quickly makes it do several animations.

This simple test can be viewed at http://www.sigmundsson.se/test.php

Thankful for any help you could provide
Kristinn.

Reply via email to