This commit is contained in:
ken 2026-09-22 14:52:44 +08:00
parent efa60d35e9
commit 8662ff4925
3 changed files with 10 additions and 1 deletions

View File

@ -143,7 +143,7 @@ sup {
margin: 0;
display: flex;
justify-content: space-between;
align-items: anchor-center;
// @media (max-width: $screen-sm) {
// width: 100%;
// display: flex;

View File

@ -628,6 +628,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) {