온라인
상담
전화상담
');
}
// video slider
var cardSwiperNum = $('#cardnews .swiper-slide').length,
cardSwiper = new Swiper('#cardnews .swiper-container',{
observer: true,
observeParents:true,
navigation: {
nextEl: '#cardnews .swiper-button-next',
prevEl: '#cardnews .swiper-button-prev',
},
on:{
init:function(){
$('#cardnews .space-swiper-pn-num').html('
1 / '+cardSwiperNum);
},
// 마지막 슬라이드 문제로 이벤트 변경
transitionEnd: function(){
$('#cardnews .space-swiper-pn-num b').html(this.snapIndex+1);
},
}
});
$('.modal-body').html(response);
}
});
$.get("/api/Hitup?id="+$(this).data('id'),function(e){
})
$('#cardnews').modal();
return false;
});
$(document).ready(function(){
var data_cnt = 0; // 임시 카탈로그 개수
var del_list = []; // 표시하지 않을 카탈로그 임시 저장변수
$('.data h4').each(function(idx){ // 각 카탈로그 텍스트를 돌면서 검색을 수행한다.
if($(this).text().toLowerCase().indexOf("비대면") == -1 && $(this).text().toUpperCase().indexOf("비대면") == -1){ // 키워드가 포함되어 있지 않으면 삭제목록에 해당 아이템 추가
del_list.push($(".data ul li").eq(idx));
}else{ // 키워드가 포함되어 있고
if(data_cnt <3){ // 임시 카탈로그 개수가 3개 미만이면 show
$(".data ul li").eq(idx).removeClass('wv_hide');
}
data_cnt++;
}
});
if(data_cnt <= 3){ //임시 카탈로그 총 갯수가 3개 이하면 더보기 버튼 숨김처리, 0개면 섹션 숨김처리
console.log(data_cnt);
if(data_cnt == 0){
$(".data").remove();
}else{
$(".data .frm-ft").hide();
}
}
if(4 <= 3){ // 뉴스 총 갯수가 3개 이하면 더보기 버튼 숨김처리
$(".news .frm-ft").hide();
}
if(0 <= 3){ // movie 총 갯수가 3개 이하면 더보기 버튼 숨김처리
$(".movie .frm-ft").hide();
}
if(0 <= 3){ // product 총 갯수가 3개 이하면 더보기 버튼 숨김처리
$(".product .frm-ft").hide();
}
if(0 <= 3){ // faq 총 갯수가 3개 이하면 더보기 버튼 숨김처리
$(".faq .frm-ft").hide();
}
for(var k=0; k
',
iframe:{
patterns: {
youtube_short: {
index: 'youtu.be/',
id: 'youtu.be/',
src: '//www.youtube.com/embed/%id%?autoplay=1'
}
}
}
});
});
/*var select_key = $("#ct p:contains('비대면')");
for(var j=0; j비대면");
}*/
/*var select_key2 = $("#ct h4:contains('비대면')");
for(var k=0; k비대면");
}*/
var select_key3 = $(".news a:contains('비대면')");
for(var l=0; l비대면");
}
})
/* real3D flipbook */
function pdfView(link) {
var options = {
pdfUrl:link,
type: "pdf",
}
$('#hd, #ct, #ft').hide();
$('#flip-overay').flipBook(options);
$('.close-btn').show();
}
function pdfView2(link) {
var options = {
pdfUrl: link,
type: "pdf",
viewMode: "swipe",
singlePageMode: true,
}
$('#hd, #ct, #ft').hide();
$('#flip-overay').flipBook(options);
$('.close-btn').show();
}
function jpgView4() {
var array = [];
for(var i=1; i<=6; i++){
array.push({src:"/img/flipbook/5/190919_2019all_0"+i+".jpg"});
}
var options = {
sound: true,
pages:array,
viewMode:'3d'
}
$('#hd, #ct, #ft').hide();
$('#flip-overay').flipBook(options);
$('.close-btn').show();
}
function jpgView5() {
var array = [];
for(var i=1; i<=44; i++){
var num = i;
if(i<10){
num = "0"+num;
}
array.push({src:"/img/flipbook/2019/ca_001-"+num+".jpg"});
}
var options = {
sound: true,
pages:array,
viewMode:'3d'
}
$('#hd, #ct, #ft').hide();
$('#flip-overay').flipBook(options);
$('.close-btn').show();
}
function jpgView6() {
var array = [];
for(var i=1; i<=18; i++){
var num = i;
if(i<10){
num = "0"+num;
}
array.push({src:"/img/flipbook/2019/catalog_combine_"+num+".jpg"});
}
var options = {
sound: true,
pages:array,
viewMode:'3d'
}
$('#hd, #ct, #ft').hide();
$('#flip-overay').flipBook(options);
$('.close-btn').show();
}
function jpgView7() {
var array = [];
for(var i=1; i<=16; i++){
var num = i;
if(i<10){
num = "0"+num;
}
array.push({src:"/img/flipbook/2019/catalog_yianggi_"+num+".jpg"});
}
var options = {
sound: true,
pages:array,
viewMode:'3d'
}
$('#hd, #ct, #ft').hide();
$('#flip-overay').flipBook(options);
$('.close-btn').show();
}
function jpgView8() {
var array = [];
for(var i=1; i<=36; i++){
var num = i;
if(i<10){
num = "0"+num;
}
array.push({src:"/img/flipbook/2019/2019_190226_Page_"+num+".jpg"});
}
var options = {
sound: true,
pages:array,
viewMode:'3d'
}
$('#hd, #ct, #ft').hide();
$('#flip-overay').flipBook(options);
$('.close-btn').show();
}
function jpgView10() {
var array = [];
for(var i=1; i<=20; i++){
var num = i;
if(i<10){
num = "0"+num;
}
array.push({src:"/img/flipbook/2018/dron_catalog_180712_Page_"+num+".jpg"});
}
var options = {
sound: true,
pages:array,
viewMode:'3d'
}
$('#hd, #ct, #ft').hide();
$('#flip-overay').flipBook(options);
$('.close-btn').show();
}
$('.close-btn').on('click',function(e){
$('#flip-overay').empty();
$('#hd, #ct, #ft').show();
});
$(document).ready(function(e){
if($(".list-img li img").eq(0).height() == 0){
return false;
}else{
$(".landscape").height($(".list-img li img").eq(0).height());
}
$(window).on("resize",function(e) {
if($(".list-img li img").eq(0).height() == 0){
return false;
}
$(".landscape").height($(".list-img li img").eq(0).height());
})
})