Home › Forums › JavaScript › jquery: opacity of columns? need help. › Re: jquery: opacity of columns? need help.
December 8, 2009 at 11:42 am
#67823
Member
That’s kind of cool. You could probably make the opacity sticky by not using a mouseout but just mouseover (but hover works better).
Code:
$(document).ready(function(){
$(“ul.latest”).css({opacity: 0.3});
$(“ul.latest”).hover(function(){
$(“ul.latest”).animate({opacity:0.3},200);
$(this).stop().animate({opacity:1},300);
});
});
$(“ul.latest”).css({opacity: 0.3});
$(“ul.latest”).hover(function(){
$(“ul.latest”).animate({opacity:0.3},200);
$(this).stop().animate({opacity:1},300);
});
});