2022-08-08 07:26:18 +00:00
|
|
|
<div class="widget-link widget-4">
|
|
|
|
<div class="widget-link__more-wrap clearfix">
|
|
|
|
<h2 class="widget-link__widget-title">
|
|
|
|
<span>{{widget-title}}</span>
|
|
|
|
</h2>
|
|
|
|
</div>
|
|
|
|
<div class="widget-link_wrapper">
|
|
|
|
<div class="cycle-slideshow widget-content" style="margin: 0em 3.125em;"
|
|
|
|
data-level="0" data-list="web_link" data-cycle-slides="> li"
|
2023-03-11 03:14:39 +00:00
|
|
|
data-cycle-fx="carousel" data-cycle-timeout="0" data-cycle-carousel-visible="4"
|
|
|
|
data-cycle-carousel-rwd-json="{768: 1}"
|
|
|
|
data-cycle-pause-on-hover="true" data-cycle-log="false" data-cycle-carousel-fluid="true">
|
2022-08-08 07:26:18 +00:00
|
|
|
<li class="widget-link__item">
|
|
|
|
<div class="liWrapper">
|
2023-03-11 03:14:39 +00:00
|
|
|
<a class="widget-content-title" href="{{link_to_show}}" target="{{target}}" title="{{title_text}}">
|
|
|
|
<img class="widget-link__img" src="{{img_src}}" alt="{{img_description}}" title="{{img_description}}">
|
|
|
|
</a>
|
2022-08-08 07:26:18 +00:00
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</div>
|
|
|
|
<ul class="button-mid">
|
|
|
|
<i class="fa fa-angle-left prev-button" aria-label="<%= I18n.t("ad_banner.prev") %>"></i>
|
|
|
|
<i class="fa fa-angle-right next-button" aria-label="<%= I18n.t("ad_banner.next") %>"></i>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
$('[data-subpart-id="{{subpart-id}}"] .next-button').click(function(){
|
|
|
|
$(this).parent("ul").siblings('.widget-content').cycle("next");
|
|
|
|
})
|
|
|
|
$('[data-subpart-id="{{subpart-id}}"] .prev-button').click(function(){
|
|
|
|
$(this).parent("ul").siblings('.widget-content').cycle("prev");
|
|
|
|
})
|
|
|
|
</script>
|
|
|
|
<style type="text/css">
|
|
|
|
.widget-link_wrapper{
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.widget-link.widget-4 .button-mid{
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
2023-03-11 03:14:39 +00:00
|
|
|
height: 0;
|
|
|
|
top: 50%;
|
2022-08-08 07:26:18 +00:00
|
|
|
}
|
|
|
|
.widget-link.widget-4 .button-mid .fa{
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
</style>
|