mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
XEDITION 업데이트
This commit is contained in:
parent
9aa5a2e976
commit
64085a2f63
16 changed files with 64 additions and 110 deletions
|
|
@ -158,7 +158,6 @@
|
|||
<load target="./js/gnb.pc.js" cond="!Mobile::isMobileCheckByAgent()" />
|
||||
<load target="./js/gnb.mobile.js" cond="Mobile::isMobileCheckByAgent()" />
|
||||
<load cond="$layout_info->use_demo ==='Y' && !Mobile::isMobileCheckByAgent()" target="./js/welcome.js" />
|
||||
<load target="./js/SmoothScroll.min.js" />
|
||||
<load target="./js/jquery.parallax-scroll.min.js" />
|
||||
|
||||
|
||||
|
|
@ -295,11 +294,11 @@
|
|||
<!-- END:HEADER -->
|
||||
|
||||
<!-- VISUAL-SUBHEADER -->
|
||||
<div cond="$layout_info->layout_type === 'sub'" class="visual {$_visual_class}">
|
||||
{@ $_subheader_img = 'sub_banner_01.jpg'}
|
||||
<block cond="$layout_info->menu_type_sub === 'onepage_parallax'">{@ $_subheader_img = 'sub_banner_02.jpg'}</block>
|
||||
<block cond="$mid === 'xeicon'">{@ $_subheader_img = 'sub_banner_xeicon.jpg'}</block>
|
||||
<span class="bg_img" style="background-image:url('{$layout_info->path}img/{$_subheader_img}')"></span>
|
||||
{@ $_subheader_img = 'sub_banner_01.jpg'}
|
||||
<block cond="$layout_info->menu_type_sub === 'onepage_parallax'">{@ $_subheader_img = 'sub_banner_02.jpg'}</block>
|
||||
<block cond="$mid === 'xeicon'">{@ $_subheader_img = 'sub_banner_xeicon.jpg'}</block>
|
||||
<div cond="$layout_info->layout_type === 'sub'" class="visual {$_visual_class} bg-holder" style="background-image:url('{$layout_info->path}img/{$_subheader_img}'); width:100%; height:100%;" data-width="1240" data-height="500">
|
||||
<span class="bg_img"></span>
|
||||
<span class="mask"></span>
|
||||
<div class="sub_title">
|
||||
<h1>{$sub_header_title}</h1>
|
||||
|
|
@ -352,6 +351,8 @@
|
|||
<!-- END:슬라이드 -->
|
||||
<!-- Add Pagination -->
|
||||
<div class="pagination"></div>
|
||||
<div class="swiper-button left"><button type="button" class="swiper-button-prev"><i class="xi-angle-left"></i></button></div>
|
||||
<div class="swiper-button right"><button type="button" class="swiper-button-next"><i class="xi-angle-right"></i></button></div>
|
||||
</div>
|
||||
<!-- /VISUAL -->
|
||||
|
||||
|
|
@ -528,11 +529,19 @@
|
|||
</script>
|
||||
</section>
|
||||
<!-- /Login widget -->
|
||||
<script cond="$_enable_slide">
|
||||
<script>
|
||||
var swiper = new Swiper('.swiper-container', {
|
||||
autoplay: 3000,
|
||||
autoplay: 6000,
|
||||
loop: true,
|
||||
pagination: '.pagination',
|
||||
paginationClickable: true
|
||||
});
|
||||
jQuery('.swiper-button-next').on('click', function(e){
|
||||
e.preventDefault();
|
||||
swiper.swipeNext();
|
||||
});
|
||||
jQuery('.swiper-button-prev').on('click', function(e){
|
||||
e.preventDefault();
|
||||
swiper.swipePrev();
|
||||
});
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue