0
저는 BXslider를 사용 중이므로 이미지를 업데이트하고 싶습니다.Jquery를 사용하여 이미지를 업데이트하려면
a.pager-active > img{
border-bottom: 2px solid #DE312A !important;
background: url("/images/loginPage/dot_filled.png") no-repeat scroll 1px 0 !important;
z-index:2;
}
.bx-pager a{
text-decoration:none;
color:transparent;
}
.bx-pager a > img{
border-bottom: 2px solid blue;
z-index:0;
//background: url("/images/loginPage/dot_filled.png") no-repeat scroll 1px 0 transparent;
}
스프라이트 이미지는 다음과 같습니다
이 친절하게 나에게 이미지 SRC를 업데이트 할 수있는 방법을 제안, 내가 - :
$(function(){
$('#slider1').bxSlider({
auto: true,
pager: true,
buildPager: function(slideIndex){
switch (slideIndex){
default:
return '<a href=""><img src="/images/loginPage/dot_empty.png" style="margin:2px;" /></a>';
}
}
});
});
사용하는 CSS는 다음과 같습니다 이 코드 조각입니다 css 줄무늬를 사용하여 시도했다. 미리 감사드립니다 !!
귀하의 의견을 친절하게 제공하십시오. – vedvrat13