// ¸ÞÀν½¶óÀ̵å
$(document).ready(function(){
$('.big_slide').owlCarousel({
items:1,
animateOut:'fadeOut',
animateIn:'fadeIn',
loop:true,
margin:0,
smartSpeed: 3000, // ½½¶óÀÌµå ¾Ö´Ï¸ÞÀÌ¼Ç ¼Óµµ (1000s = 1ÃÊ)
nav: false, // È»ìÇ¥ ÄÁÆ®·Ñ »ç¿ë
autoplay: true, // ÀÚµ¿Àç»ý
autoplayTimeout: 5000, // ÀÚµ¿Àç»ý °£°Ý (1000s = 1ÃÊ)
autoplayHoverPause: false, // ¸¶¿ì½º ¿À¹ö½Ã ÀÚµ¿Àç»ý ¸ØÃã
navText:['', '']
});
});
// ¸ÞÀÎ ¹Ì´Ï ·Ñ¸µ ½½¶óÀ̵å
$(document).ready(function(){
$('.mini_rolling').owlCarousel({
items:4,
loop:true,
margin:0,
smartSpeed: 3000, // ½½¶óÀÌµå ¾Ö´Ï¸ÞÀÌ¼Ç ¼Óµµ (1000s = 1ÃÊ)
nav: true, // È»ìÇ¥ ÄÁÆ®·Ñ »ç¿ë
autoplay: true, // ÀÚµ¿Àç»ý
autoplayTimeout: 5000, // ÀÚµ¿Àç»ý °£°Ý (1000s = 1ÃÊ)
autoplayHoverPause: true, // ¸¶¿ì½º ¿À¹ö½Ã ÀÚµ¿Àç»ý ¸ØÃã
navText:['', '']
});
});
// ¼½¼Ç2 ½½¶óÀ̵å - ¿À¸¥ÂÊ À̹ÌÁö
$(window).load(function() {
var idx = 0;
var slideWrap = $("#mid_slide1");
var slideWidth = slideWrap.children().width();
var slideCount = slideWrap.children().length;
var prev = $("a.prev");
var next = $("a.next");
var duration = 3000;
var slidebody = function() {
slideWrap.stop(true, false).animate({
"left": -slideWidth * idx
}, 500, 'easeOutCubic');
}
prev.click(function() {
if (idx <= 0) {
idx = slideCount - 1;
} else {
idx--;
}
slidebody();
});
next.click(function() {
if (idx >= slideCount - 1) {
idx = 0;
} else {
idx++;
}
slidebody();
});
var autoSlide = setInterval(function() {
if (idx >= slideCount - 1) {
idx = 0;
} else {
idx++;
}
slidebody();
}, duration);
});
// ¼½¼Ç2 ½½¶óÀ̵å - ¿ÞÂÊ ÅØ½ºÆ®
$(window).load(function() {
var idx = 0;
var slideWrap2 = $("#mid_slide2");
var slideWidth2 = slideWrap2.children().width();
var slideCount2 = slideWrap2.children().length;
var prev = $("a.prev");
var next = $("a.next");
var duration = 3000;
var slidebody2 = function() {
slideWrap2.stop(true, false).animate({
"left": -slideWidth2 * idx
}, 500, 'easeOutCubic');
}
prev.click(function() {
if (idx <= 0) {
idx = slideCount2 - 1;
} else {
idx--;
}
slidebody2();
});
next.click(function() {
if (idx >= slideCount2 - 1) {
idx = 0;
} else {
idx++;
}
slidebody2();
});
var autoSlide2 = setInterval(function() {
if (idx >= slideCount2 - 1) {
idx = 0;
} else {
idx++;
}
slidebody2();
}, duration);
});