This commit is contained in:
ken 2026-09-22 11:44:52 +08:00
parent 6d02d6cbc4
commit 3c30280597
2 changed files with 9 additions and 0 deletions

View File

@ -634,6 +634,9 @@ ul.button-mid{
// widget8
.ba-banner-widget-8 {
position: relative;
.banner-overlay{
background:$theme-color-second;
}
// ✅ mp4 jPlayer 修正:讓 jplayer_slide 有固定高度,不繼承 wrap 的 padding-bottom 0
.jplayer_slide {

View File

@ -398,6 +398,12 @@
$(this).addClass('active');
$(this).parents('.controlplay').eq(0).find('.pause-slide').removeClass('active');
});
$('[data-subpart-id="{{subpart-id}}"] .next-button').click(function(){
$(this).parent("ul").parent('.w-ba-banner').find(".cycle-slideshow").cycle("next");
})
$('[data-subpart-id="{{subpart-id}}"] .prev-button').click(function(){
$(this).parent("ul").parent('.w-ba-banner').find(".cycle-slideshow").cycle("prev");
})
});
/* 修正點:處理 Pager 無障礙朗讀文字 */
$('.cycle-slideshow').on('cycle-post-initialize', function(event, optionHash) {