This commit is contained in:
ken 2026-09-23 15:54:29 +08:00
parent 46d773f5a7
commit d1ecaadbcc
3 changed files with 9 additions and 1 deletions

View File

@ -168,7 +168,6 @@ sup {
.site-logo {
filter: brightness(0) invert(1);
margin-right:0;
float: left;
height: auto;
padding-right: 0.5em;
width: 100%!important;

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) {