animation - changing rgba alpha transparency with jquery -
possible duplicate:
jquery + rgba color animations
hey,
i want change opacity of rgba value on hover, opacity stays @ .07.. maybe ou can me find mistake.
css (ie hacks in seperate file - no need mention them here)
.boxcaption{ float: left; position: absolute; height: 100px; width: 100%; background: rgb(255, 144, 11); background: rgba(255, 144, 11, 0.7); }
js
var thumbslide = $('.boxgrid.captionfull').click(function() { $('.boxgrid.captionfull.clicked').removeclass('clicked').children('.cover').stop().animate({top: 230, background: 'rgba(255, 144, 11, 0.7)'}, 350); $(this).toggleclass('clicked').children('.cover').stop().animate({top: 0, height:"230px", background: 'rgba(255, 144, 11, 1)'}, 350); });
the jquery color plugin doesn't support rgba. use instead: link text
Comments
Post a Comment