-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcode.html
711 lines (655 loc) · 26.4 KB
/
code.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
<meta name="format-detection" content="telephone=no">
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon">
<link rel="icon" href="images/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="asset/css/pure-min.css">
<!--[if lte IE 8]>
<link rel="stylesheet" href="asset/css/grids-responsive-old-ie-min.css">
<![endif]-->
<!--[if gt IE 8]><!-->
<link rel="stylesheet" href="asset/css/grids-responsive-min.css">
<!--<![endif]-->
<!--[if lt IE 9]>
<script type="text/javascript" src="asset/js/html5shiv.js"></script>
<![endif]-->
<link rel="stylesheet" href="asset/css/main.css?log=201806191800">
<link rel="stylesheet" href="asset/css/sub.css?log=201908120">
<link rel="stylesheet" href="asset/css/ace-responsive-menu.css">
<link rel="stylesheet" href="asset/css/slider_custom.css?log=201806191800">
<link rel="stylesheet" href="asset/css/slider_style.css?log=201806191800">
<link href="https://fonts.googleapis.com/css?family=Nanum+Myeongjo" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Noto+Sans" rel="stylesheet">
<link rel="stylesheet" href="asset/css/jquery.fullPage.css">
<link rel="stylesheet" type="text/css" href="asset/css/default_table.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.10/css/all.css" integrity="sha384-+d0P83n9kaQMCwj8F4RJB66tzIwOKmrdb46+porD/OvrJ+37WqIM7UoBtwHO6Nlg" crossorigin="anonymous">
<script src="asset/js/jquery-3.1.1.min.js"></script>
<script src="asset/js/jquery-ui-1.12.0.min.js"></script>
<script src="asset/js/ace-responsive-menu-min.js"></script>
<script src="asset/js/slider_custom.js"></script>
<script src="asset/js/jquery.slitslider.js"></script>
<script src="asset/js/jquery.fullPage.js"></script>
<title>TBS-LASHES</title>
</head>
<body>
<header class="header">
<div class="home-menu pure-menu pure-menu-horizontal pure-menu-fixed opa_1">
<div class="resp_hide nav_logo">
<a href="index.html"><img src="images/main/logo.png"/></a>
</div>
<nav class="cd-main-nav-wrapper">
<!-- Menu Toggle btn-->
<div class="menu-toggle">
<h3><img src="images/main/logo.png" class="pure-img-responsive" onClick="javascript:location.href='index.html'"/></h3>
<button type="button" id="menu-btn">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<ul id="respMenu" class="ace-responsive-menu cd-main-nav content" data-menu-style="horizontal">
<!--li class="resp_hide">
<a onClick="location.href='index.html'">
<span class="title"><img src="images/main/logo.png"/></span>
</a>
</li-->
<!-- brand end-->
<li>
<a><span class="title">PRODUCT</span></a>
<!-- Level Two-->
<ul>
<li>
<a onClick="location.href='sub2.html'">NEW PRODUCT</a>
</li>
<li>
<a>EYELASH</a>
<!-- Level three-->
<ul>
<li onClick="location.href='sub2_01.html?MM=0'"><a href="sub2_01.html?MM=0">TRAY LASH</a></li>
<li onClick="location.href='sub2_03.html?MM=0&SM=2'"><a href="sub2_03.html?MM=0&SM=2">STRIP LASH</a></li>
<li onClick="location.href='sub2_04.html?MM=0&SM=3'"><a href="sub2_04.html?MM=0&SM=3">INDIVIDUAL LASH</a></li>
</ul>
</li>
</ul>
</li>
<!--cosmetics end-->
<li>
<a onClick="location.href='sub1_01.html?go=third'">
<span class="title">CEO's MESSAGE</span>
</a>
</li>
<li>
<a class="contact">
<span class="title">CONTACT</span>
</a>
</li>
</ul>
</nav>
</div>
<!-- End of Responsive Menu -->
</header>
<article id="total_search_box">
<div class="total_search_row center_align">
<div class="total_search_item">
<input type="text" class="bbs_input" id="total_serach_input" />
<i class="fas fa-search fa-3x" id="search_product"></i>
<i class="fas fa-times fa-3x" id="close_search_box"></i>
</div>
</div>
</article>
<script type="text/javascript">
$("a.contact").click(function(){
$("html").stop().animate({scrollTop: $(document).height()}, 500);
});
function productTotalSearch() {
//var sT = $(".search|_list").val();
var tV = $("#total_serach_input").val();
var URI = '?';
location.href="total_search.html"+URI+'&tValue='+tV;
//location.href=URI+'&searchType='+sT+'&tValue='+tV;
}
$(window).scroll(function(event){
var op = $('.home-menu');
if($(this).scrollTop() >= 200) op.removeClass("opa_1");
else op.addClass('opa_1');
});
$(document).ready(function(){
/* SEARCH-BOX OPEN */
$('#open_search_box, #mobile_open_search_box').click(function(){
$('#total_search_box').css({
'visibility': 'visible',
'opacity': 1,
'z-index': 999
});
});
/* SEARCH-BOX CLOSE */
$('#close_search_box').click(function(){
$('#total_serach_input').val("");
$('#total_search_box').css({
'visibility': 'hidden',
'opacity': 0,
'z-index': -1
});
});
$("#search_product").click(function(){
productTotalSearch();
});
$("#total_serach_input").keypress(function(e){
if(e.keyCode == 13){
productTotalSearch();
}
});
});
</script><script type="text/javascript">
function setCookie( name, value, expiredays ) {
var todayDate = new Date();
todayDate.setDate( todayDate.getDate() + expiredays );
document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";"
}
function getCookie(name){
var nameOfCookie = "oasis_popup"+name + "=";
var x = 0;
while(x<= document.cookie.length){
var y = (x+nameOfCookie.length);
if(document.cookie.substring(x, y)== nameOfCookie){
if((endOfCookie=document.cookie.indexOf( ";", y)) == -1 ) endOfCookie = document.cookie.length;
return unescape( document.cookie.substring( y, endOfCookie ) );
}
x = document.cookie.indexOf( " ", x ) + 1;
if ( x == 0 ) break;
}
return "";
}
function openPopup(name){
if(!getCookie(name)) {
var popName = "#pop"+name;
$(popName).css("display","block");
}
}
function closePopup(layerNo) {
var today ="2020-03-29";
var popContent = $(".popno_"+layerNo);
var popInput = popContent.find("#popCheck");
var cookieName = "oasis_popup"+layerNo;
if($(popInput).is(":checked")){
setCookie(cookieName, today, 1);
}
$(popContent).remove();
}
function bxSlider_thumb_change(no){
var idx = $('.slides'+no+" li:visible").index();
var max_li = $('.slides'+no+" li").length;
idx++;
if(idx == max_li){
idx = 0;
}
$(".slider_thum"+no+" li").removeClass("active");
$(".slider_thum"+no+" li").eq(idx).addClass("active");
var slider_title = $(".slider_thum"+no+" li").eq(idx).attr("data-title");
$(".popno_"+no).children("p:first-child").text(slider_title);
}
function setSlider(no, device){
if(device != "mobile") {
var bxTag = '.slides'+no;
} else {
var bxTag = '.mobile_slides'+no;
}
$(bxTag).bxSlider({
pager: false,
controls: false,
auto: true,
mode: 'fade',
autoHover: true,
onSlideNext: function(){
bxSlider_thumb_change(no);
}
});
}
function getImgList(bkey, obj_no, size_x, size_y, device){
$.ajax({
type : 'post'
, async : true
, url : './api/popup.api.php'
, data : {
type : 'getImgList'
, bkey : bkey
}
, success : function(response) {
if(response.RESULT == 1){
if(device != "mobile") {
var addClass = ".slides"+obj_no;
} else {
var addClass = ".mobile_slides"+obj_no;
}
var aHtml = Array();
var tmp_aHtml = Array();
var thum_sx = parseInt(size_x / 3);
var thum_sy = parseInt(size_y / 3);
tmp_aHtml.push('<ul class="slider_thum slider_thum'+obj_no+'">');
var cnt = 0;
$.each(response.DATA, function(k, v){
aHtml.push('<li onclick="javascript:window.open(\''+v.flink+'\')" style="cursor:pointer;"><img src="upload/popup/'+v.fname+'" style="max-width:'+size_x+'px"/></li>');
tmp_aHtml.push('<li '+ (cnt == 0 ? " class='active'":"") +' data-title="'+v.title+'" style="height:'+thum_sx+'px;">');
tmp_aHtml.push(' <img src="upload/popup/'+v.fname+'" style="width:100%;"/>');
tmp_aHtml.push('</li>');
cnt++;
});
$(addClass).html(aHtml.join(''));
if(device != "mobile") {
setSlider(obj_no, "pc");
} else {
setSlider(obj_no, "mobile");
}
tmp_aHtml.push('</ul>');
if(device != "mobile") {
$("#slider"+obj_no).after(tmp_aHtml.join(''));
} else {
$("#mobile_slider"+obj_no).after(tmp_aHtml.join(''));
}
}else{
alert(response.MSG);
}
}
, error : function(request, status, error) {
//console.log(error);
return;
}
, cache : false
, dataType : 'json'
});
}
</script>
<style>
.pop_content{width:100%; position:absolute; z-index:9999;}
.pop_style_normal{border:2px solid #684636; background-color:white; position:absolute; left:50%; padding:10px; text-align:center; z-index:10000; cursor: move;}
.pop_style_normal p:first-child{ border-bottom:1px solid #684636; margin-bottom:10px; padding-bottom:5px;}
.pop_style_normal p:last-child{text-align:right;}
.pop_style_editor{border:2px solid #684636; background-color:white; position:absolute; left:50%; padding:10px; z-index:10000; cursor: move;}
.pop_style_editor p:first-child{ border-bottom:1px solid #684636; margin-bottom:10px; padding-bottom:5px; text-align:center;}
.pop_style_editor p:last-child{text-align:right;}
.pop_style_editor img {max-width:100%; height:auto !important}
.pop_style_sliders{border:2px solid #684636; background-color:white; position:absolute; left:50%; padding:10px; text-align:center; z-index:10000; cursor: move;}
.pop_style_sliders p:first-child{ border-bottom:1px solid #684636; margin-bottom:10px; padding-bottom:5px; font-size:15pt; font-weight:600;}
.pop_style_sliders p:last-child{text-align:right;}
.pop_style_sliders .bx-wrapper{margin:0 !important;}
.pop_style_sliders .popSlider ul{margin:0;}
.pop_style_sliders .popSlider ul li{left:0;}
.pop_style_sliders .popSlider ul li img{margin: 0 auto;}
.pop_style_sliders .slider_thum{padding:0; margin:0; display:table; width:100%;}
.pop_style_sliders .slider_thum li{list-style:none; width:33.3%; float:left; border:1px solid #ededed; box-sizing:border-box;}
.pop_style_sliders .slider_thum li.active{border:2px solid #76a4cf; box-sizing:border-box;}
.pop_style_sliders .slider_thum li img {max-height:100%;}
.mobile-tablet-popup {display:none; position:absolute !important; top:50px; border:5px solid #684636; max-width: 600px; margin: auto; background: #fff; padding: 10px; text-align: center; box-sizing:border-box;}
.mobile-tablet-popup img {max-width:100% !important; height:auto !important;}
.mobile-tablet-popup p:first-child {border-bottom: 1px solid #684636; padding-bottom: 10px;}
@media screen and (max-width: 768px){
.pop_style_normal,
.pop_style_editor,
.pop_style_sliders {display:none;}
.mobile-tablet-popup {display:block; margin: 0 5.4em;}
.mobile-tablet-popup .bx-wrapper{margin:0 !important;}
.mobile-tablet-popup .popSlider ul{margin:0;}
.mobile-tablet-popup .popSlider ul li{left:0;}
.mobile-tablet-popup .popSlider ul li img{margin: 0 auto;}
.mobile-tablet-popup .slider_thum{padding:0; margin:0; display:table; width:100%;}
.mobile-tablet-popup .slider_thum li{list-style:none; width:33.3%; height:150px !important; float:left; border:1px solid #ededed; box-sizing:border-box;}
.mobile-tablet-popup .slider_thum li.active{border:2px solid #76a4cf; box-sizing:border-box;}
.mobile-tablet-popup .slider_thum li img {max-height:100%;}
}
@media screen and (max-width: 425px){
.mobile-tablet-popup {max-width:300px; margin: 0 3.4em;}
.mobile-tablet-popup .slider_thum li {height:75px !important}
}
</style>
<div class="pop_content">
</div>
<!-- visual -->
<div class="splash-container cd-main-content container demo-1">
<!-- slider -->
<div id="slider" class="sl-slider-wrapper">
<div class="sl-slider" style="width: 1398px; height: 766px;"><div class="sl-slides-wrapper"><div class="sl-slide sl-slide-horizontal" data-orientation="horizontal" data-slice1-rotation="-25" data-slice2-rotation="-25" data-slice1-scale="2" data-slice2-scale="2" style="z-index: 1; display: none;"> <div class="sl-content-wrapper" style="width: 1398px; height: 766px;"><div class="sl-content"><div class="sl-slide-inner" style="background-image:url(images/main/back.jpg)"> <h2>NEICHA <span>It's yours.</span></h2> <p><i><span>B</span>loom individual flowers on your eyes with</i><img src="images/main/visual_logo.png"></p> </div></div></div></div><div class="sl-slide sl-slide-horizontal sl-trans-elems" data-orientation="horizontal" data-slice1-rotation="-25" data-slice2-rotation="-25" data-slice1-scale="2" data-slice2-scale="2" style="z-index: 1;"> <div class="sl-content-wrapper" style="width: 1398px; height: 766px;"><div class="sl-content"><div class="sl-slide-inner" style="background-image:url(images/main/back.jpg)"> <h2>NEICHA <span>It's yours.</span></h2> <p><i><span>B</span>loom individual flowers on your eyes with</i><img src="images/main/visual_logo.png"></p> </div></div></div></div></div></div>
<nav id="nav-dots" class="nav-dots">
<!--span class="nav-dot-current"></span>
<span></span-->
</nav>
</div>
</div>
<!--END slider -->
<div class="content-wrapper">
<div class="ribbon l-box-lrg">
<div class="ribbon_box">
<div>
<img src="images/main/logo_b.png"/>
<h2 class="content-head">B R A N D C O N C E P T</h2>
<p>
<span class="yellowbr">NEICHA</span> ± <span class="yellowbr">Neige</span><span class="p_sm">(pure)</span> + <span class="yellowbr">Charmant</span><span class="p_sm">(adorable & beautiful)</span>
</p>
<span>
NEICHA means PURE BEAUTY which is a compound world with Neige(pure)<br/>
and Charmant(adorable & beautiful)from French, this brand will add more pure<br/>
and clean beauty based on your original beauty. NEICHA will give a direction<br/>
of the way to a better beauty by offering a differentiated service with the best<br/>
quality eyelashes and careproducts.
</span>
</div>
</div>
</div>
<div class="product_wrap scroll-target">
<ul>
<li class="pure-g">
<div class="l-box pure-u-1 pure-u-md-1-2 pure-u-lg-1-2 product_list wow fadeInLeft">
<img src="images/main/cont_01.jpg" class="pure-img-responsive manage_image01" />
</div>
<div class="l-box pure-u-1 pure-u-md-1-2 pure-u-lg-1-2 product_list product_txt wow fadeInRight">
<h1 class="manage_image_title01">
Amazingly
<br>
precise
</h1>
<p class="hr_1"></p>
<p class="manage_image_desc01">
Deep black color all day long.
<br>
Water-proof innovative formula.
</p>
<p class="product_btn manage_image_btn01" onClick="javascript:location.href='sub2_01.html?MM=0'">more</p>
</div>
</li>
<li class="pure-g">
<div class="l-box pure-u-1 pure-u-md-1-2 pure-u-lg-1-2 product_list product_txt monone wow fadeInLeft" data-wow-delay="0.5s">
<h1 class="manage_image_title02">
Build full,
<br>
beautiful brows
</h1>
<p class="hr_1"></p>
<p class="manage_image_desc02">
Created with a precise width and firmness to seamlessly
<br>
blend color and make your brows look finished.
</p>
<p class="product_btn manage_image_btn02" onClick="javascript:location.href='sub2_01.html?MM=1'">more</p>
</div>
<div class="l-box pure-u-1 pure-u-md-1-2 pure-u-lg-1-2 product_list wow fadeInRight" data-wow-delay="0.5s">
<img src="images/main/cont_02.jpg" class="pure-img-responsive manage_image02" />
</div>
<div class="l-box pure-u-1 pure-u-md-1-2 pure-u-lg-1-2 product_list product_txt pcnone wow fadeInLeft" data-wow-delay="0.5s">
<h1 class="manage_image_title02"></h1>
<p class="hr_1"></p>
<p class="manage_image_desc02"></p>
<p class="product_btn manage_image_btn02" onClick="javascript:location.href='sub2_01.html?MM=1'">more</p>
</div>
</li>
<li class="pure-g">
<div class="l-box pure-u-1 pure-u-md-1-2 pure-u-lg-1-2 product_list wow fadeInLeft">
<img src="images/main/cont_03.jpg" class="pure-img-responsive manage_image03" />
</div>
<div class="l-box pure-u-1 pure-u-md-1-2 pure-u-lg-1-2 product_list product_txt wow fadeInRight">
<h1 class="manage_image_title03">
NEICHA MAGIC
<br>
VOLUME PREMIUM
</h1>
<p class="hr_1"></p>
<p class="manage_image_desc03">
Be the first to try the world's No.1 Eyelash Technology
<br>
Perfect design, Perfect choice New Magic Volume Lash
</p>
<p class="product_btn manage_image_btn03" onClick="javascript:location.href='sub2_01.html?MM=2'">more</p>
</div>
</li>
</ul>
</div>
<link rel="stylesheet" href="asset/css/jquery.bxslider.min.css">
<link rel="stylesheet" href="asset/css/animate.css">
<script src="asset/js/jquery.bxslider.min.js"></script>
<script src="asset/js/imagesloaded.pkgd.min.js"></script>
<script src="asset/js/wow.min.js"></script>
<script src="asset/js/createVisual.js"></script>
<script type="text/javascript">
var focus='';
function getSlideImages() {
$.ajax({
type : 'post'
, async : true
, url : './api/visual_image.api.php'
, data : {
type : 'getSlideImages'
}
, success : function(response) {
if(response.RESULT == 1){
var aHtml = Array();
var slideIdx = 0;
$.each(response.DATA, function(k, v) {
var get_filename = v.file_name;
var file_name = "";
if(get_filename.length > 0){
file_name = "upload/visual_image/"+v.file_name;
}
if(file_name != "") {
slideIdx = k + 1;
aHtml.push('<div class="sl-slide" data-orientation="horizontal" data-slice1-rotation="-25" data-slice2-rotation="-25" data-slice1-scale="2" data-slice2-scale="2">');
aHtml.push(' <div class="sl-slide-inner" style="background-image:url('+ file_name +')">');
aHtml.push(' <h2>NEICHA <span>It\'s yours.</span></h2>');
aHtml.push(' <p><i><span>B</span>loom individual flowers on your eyes with</i><img src="images/main/visual_logo.png"/></p>');
aHtml.push(' </div>');
aHtml.push('</div>');
/* VISUAL NAV SETTING */
$('#nav-dots').append('<span></span>');
}
});
}else{
alert(response.MSG);
}
$('.sl-slider').html(aHtml.join(''));
/* VISUAL NAV ACTIVE */
$('#nav-dots span:first-child').addClass('nav-dot-current');
/* CREATE VISUAL */
createVisual();
}
, error : function(request, status, error) {
console.log(error);
// return;
}
, cache : false
, dataType : 'json'
});
}
function getMainImages() {
$.ajax({
type : 'post'
, async : true
, url : './api/main_image.api.php'
, data : {
type : 'getMainImages'
}
, success : function(response) {
if(response.RESULT == 1){
var image_idx = 0;
$.each(response.DATA, function(k, v) {
image_idx = k + 1;
var get_filename = v.file_name;
var file_name = "";
if(get_filename.length > 0){
file_name = "upload/main_image/thum/"+v.file_name;
}else{
file_name = "images/admin/no-image.png";
}
$('.manage_image0'+image_idx).attr('src', file_name);
$('.manage_image_title0'+image_idx).html(v.title);
$('.manage_image_desc0'+image_idx).html(v.contents);
var manage_image_link = "javascript:location.href='" + v.url + "'";
$('.manage_image_btn0'+image_idx).attr('onClick', manage_image_link);
});
}else{
alert(response.MSG);
}
}
, error : function(request, status, error) {
console.log(error);
// return;
}
, cache : false
, dataType : 'json'
});
}
$(document).ready(function(){
//$("body").imagesLoaded(function(){
new WOW().init();
//});
if(focus == 'focus'){
var obj = $(".scroll-target").offset();
var obj_top_value = obj.top;
var gnb_height = $(".second_logo").height();
var top_value = obj_top_value - gnb_height;
goFocus(top_value, 1000);
}
getSlideImages();
getMainImages();
var today = '2020-03-29';
$.ajax({
type : 'post'
, async : true
, url : './api/popup.api.php'
, data : {
type : 'getListView'
}
, success : function(response) {
if(response.RESULT == 1){
if(response.CNT > 0){
var cnt=0;
$.each(response.DATA, function(k, v) {
var popValue = getCookie(v.no);
if(popValue != today){
var aHtml = Array();
cnt++;
switch(v.type){
case 'normal':
aHtml.push('<div class="pop_style_normal popno_'+v.no+'" style="width:'+v.sx+'px; height:'+v.sy+'px; margin-left:'+v.px+'px; margin-top:'+v.py+'px;">');
aHtml.push(' <p>'+ v.title +'</p>');
aHtml.push(' <p>');
if(v.flink.length > 0){
aHtml.push('<a href="'+v.flink+'" target="_blank">');
}
aHtml.push(' <img src="upload/popup/'+ v.fname +'" style="max-width:'+v.sx+'px; max-height:'+(v.sy - 50)+'px;" />');
if(v.flink.length > 0){
aHtml.push('</a>');
}
aHtml.push(' </p>');
aHtml.push(' <p><input type="checkbox" id="popCheck" />I don\'t see it today.<button class="default_btn" onclick="javascript:closePopup('+v.no+')">Close</button></p>');
aHtml.push('</div>');
/* MOBILE TABLET */
aHtml.push('<div class="mobile-tablet-popup popno_'+v.no+'">');
aHtml.push(' <p>'+ v.title +'</p>');
aHtml.push(' <img src="upload/popup/'+ v.fname +'" />');
aHtml.push(' <p class="right_align"><input type="checkbox" id="popCheck" />I don\'t see it today.<button class="default_btn" onclick="javascript:closePopup('+v.no+')">Close</button></p>');
aHtml.push('</div>');
break;
case 'editor':
aHtml.push('<div class="pop_style_editor popno_'+v.no+'" style="width:'+v.sx+'px; height:'+v.sy+'px; margin-left:'+v.px+'px; margin-top:'+v.py+'px;">');
aHtml.push(' <p>'+ v.title +'</p>');
aHtml.push(' <div>'+v.ct+'</div>');
aHtml.push(' <p><input type="checkbox" id="popCheck" />I don\'t see it today.<button class="default_btn" onclick="javascript:closePopup('+v.no+')">Close</button></p>');
aHtml.push('</div>');
/* MOBILE TABLET */
aHtml.push('<div class="mobile-tablet-popup popno_'+v.no+'">');
aHtml.push(' <p>'+ v.title +'</p>');
aHtml.push(' <div>'+v.ct+'</div>');
aHtml.push(' <p class="right_align"><input type="checkbox" id="popCheck" />I don\'t see it today.<button class="default_btn" onclick="javascript:closePopup('+v.no+')">Close</button></p>');
aHtml.push('</div>');
break;
case 'sliders':
aHtml.push('<div class="pop_style_sliders popno_'+v.no+'" style="width:'+v.sx+'px; min-height:'+v.sy+'px; margin-left:'+v.px+'px; margin-top:'+v.py+'px;">');
aHtml.push(' <p>'+ v.title +'</p>');
aHtml.push(' <div id="slider'+v.no+'" class="popSlider">');
aHtml.push(' <ul class="slides'+v.no+'">');
aHtml.push(' </ul>');
aHtml.push(' </div>');
getImgList(v.bkey, v.no, v.sx, v.sy, "pc");
aHtml.push(' <p><input type="checkbox" id="popCheck" />I don\'t see it today.<button class="default_btn" onclick="javascript:closePopup('+v.no+')">Close</button></p>');
aHtml.push('</div>');
/* MOBILE TABLET */
aHtml.push('<div class="mobile-tablet-popup popno_'+v.no+'">');
aHtml.push(' <p>'+ v.title +'</p>');
aHtml.push(' <div id="mobile_slider'+v.no+'" class="popSlider">');
aHtml.push(' <ul class="mobile_slides'+v.no+'">');
aHtml.push(' </ul>');
aHtml.push(' </div>');
getImgList(v.bkey, v.no, v.sx, v.sy, "mobile");
aHtml.push(' <p class="right_align"><input type="checkbox" id="popCheck" />I don\'t see it today.<button class="default_btn" onclick="javascript:closePopup('+v.no+')">Close</button></p>');
aHtml.push('</div>');
break;
}
if(cnt == 1){
$(".pop_content").html(aHtml.join(''));
}else{
$(".pop_content").children("div:last-child").after(aHtml.join(''));
}
$(".popno_"+v.no).draggable();
$(".popno_"+v.no).hover(function(){
$(this).css('z-index', "20000");
}, function(){
$(this).css('z-index', "10000");
});
}
});
}
}else{
alert(response.MSG);
}
}
, error : function(request, status, error) {
console.log(error);
// return;
}
, cache : false
, dataType : 'json'
});
});
</script>
<div class="to_top">
<img src="images/main/totop.png"/>
</div>
<footer class="main_footer">
<div>
<img src="images/main/logo_f.png"/>
<p>Email : [email protected]</p>
<!--
<p class="p_addr">Address : 1ST FLOOR, 168, YONGHYEON-RO, UIJEONGBU-SI, GYEONGGI-DO, 11808 REPUBLIC OF KOREA<br/>Tel : +82-31-855-9488  Fax : +82-31-855-9588</p>
<p class="m_addr">Address : 1ST FLOOR, 168, YONGHYEON-RO,<br/> UIJEONGBU-SI, GYEONGGI-DO, <br/>11808 REPUBLIC OF KOREA<br/>Tel : +82-31-855-9488<br/>Fax : +82-31-855-9588</p>
-->
<p class="p_addr">Address : Danshan industrial Park. Chengyang District, Qingdao City.<br/>Tel : +86-18611530340  </p>
<p class="m_addr">Address : Danshan industrial Park,<br/> Chengyang District, Qingdao City.<br/>Tel : +86-18611530340</p>
<p></p>
<p class="copyright_txt">ⓒ COPYRIGHT TBS-LASHES ALL RIGHTS RESERVED.<a href="admin"> </a>  </p>
</div>
</footer>
<script type="text/javascript">
$(window).scroll(function() {
var el = $('.to_top');
if($(this).scrollTop() >= 400) el.addClass('shown');
else el.removeClass('shown');
});
$(document).ready(function () {
$("#respMenu").aceResponsiveMenu({
resizeWidth: '768', // Set the same in Media query
animationSpeed: 'fast', //slow, medium, fast
accoridonExpAll: false //Expands all the accordion menu on click
});
$("div.to_top").click(function(){
$("html").stop().animate({scrollTop: 0}, 500);
});
$(function(){
var subMargin = $("div.home-menu").css("height");
$("section.sub_wrap, .product_box").css("padding-top",subMargin);
$("section.pro_info_wrap").css("padding-top",subMargin);
});
});
</script>
</body>
</html></div>