fadeto on hover problem?
fadeto on hover problem?
Hi,
I have a unordered list containing some images and i want to set opacity to 1 when the mouse is over a list item <li> and to 0.67 when leaving it.
i did the following but the problem i got is the opacity is doing a blink like effect... turning opacity from 1 to 0.67 to 1 to 0.67... and so on each time i move the mouse when im over the <li> element...
- $(document).ready(function () {
$(".li-thumb").hover(
function() {
$(this).fadeTo('fast', 1.0);
}, function() {
$(this).fadeTo('fast', 0.67);
}
);
});
anyone knows how to solve this?
thanks!