哎,
我想改变悬停的RGBA值的不透明度,但透明度保持在.07 ..也许你可以帮我找到错误。
CSS(IE黑客是单独的文件 - 无需他们在这里提)
.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);
});
感谢您的链接。评论中有一个有用的链接:http://pioupioum.fr/sandbox/jquery-color/ – tobiasmay 2011-01-24 15:49:29
此链接需要登录。 – Gazillion 2013-07-17 20:59:31
链接的资源已损坏。 – Iguananaut 2013-11-29 19:48:48