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
|
<? include("./include/header.php"); ?> </div> <style> .paper_navbar{background:#4c4c4c;height:45px;} .paper_navbar ul{color:#fff;padding:5px 0;} .paper_navbar li a {display:block;text-align:center;color:#fff;font-weight:600;font-size:14px;} .paper_navbar li{display:inline-block;width:20%;} .paper_title_bg img{max-width:98%;padding-top:20px;}
.paper_container_1{float:left;width:30%;margin:10px 5px 0;padding:15px 0;border:1.5px solid #cacaca; box-sizing:border-box;box-shadow:5px 5px 5px -1px #d7d7d7;color:#333333;background-repeat:no-repeat;background-position: 0 0; background-size:40%;} .paper_container_1 img{max-width:60%;margin:7px;} .paper_container_1 h3{font-size:7.5pt; font-weight:bold;} .paper_container_1 p{font-size:7pt;line-height:12px;} .paper_container_1 .price{font-size:8pt;color:#e60000;font-weight:bold;}
.paper_container{float:left;width:30%;margin:10px 5px 0;padding:15px 0;border:1.5px solid #cacaca; box-sizing:border-box;box-shadow:5px 5px 5px -1px #d7d7d7;color:#333333; background-image:url("./images/paper/paper_free.png");background-repeat:no-repeat;background-position: 0 0; background-size:40%;} .paper_container img{max-width:60%;margin:7px;} .paper_container h3{font-size:7.5pt; font-weight:bold;} .paper_container p{font-size:7pt;line-height:12px;} .paper_container .price{font-size:8pt;color:#e60000;font-weight:bold;} .mySlides img{width:100%;} .buy_button{height:70px;color:#fff;} .buy_button a{text-decoration: none;padding:10px 50px;margin:0 0 30px;cursor: pointer;background:linear-gradient( to bottom, #ed1f4f, #d2113e);color:#fff;border:none;border-radius: 15px;font-size:12pt;font-weight:bold;} .paper_product_box{top:0;right:0;bottom:0;left:0;padding:10px 0;display:flex;align-items:center;justify-content:center;display:-webkit-flex;-webkit-align-item;center;-webkit-justify-content:center;}
/*팝업창뜨게하기*/ .modal {display:none;position:fixed;z-index:999;left:0;top:0;width:100%;height:100%;overflow:auto;background-color: rgb(0,0,0);background-color: rgba(0,0,0,0.4); /* Black w/ opacity */} #myModal{display:none; } /* Modal Content */ .modal-content {position: relative;background-color: #fefefe;margin:auto;padding: 0;border: 1px solid #888;max-width: 530px;box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);-webkit-animation-name: animatetop;-webkit-animation-duration: 0.4s;animation-name: animatetop;animation-duration: 0.4s} .modal-header {padding:20px 16px 15px;background-color: #154773;color: white;height:20px;font-size:14pt;text-align:center;font-weight:bold;} .modal-body {height:550px;} .modal-footer {padding: 10px 16px;background-color: #ebebeb;color: white;} .close {color: #fff;float: right;font-size: 50px;font-weight:400;} .close:hover,.close:focus {color: #000;text-decoration: none;cursor: pointer;} .paper_overlay {position: absolute;bottom: 0;left: 0;opacity: 0;transition: .5s ease;background:#4c4c4c;height:290px;text-align:center;float:left;width:220px;border:1px solid #4c4c4c; box-sizing:border-box;box-shadow:5px 5px 5px -1px #d7d7d7;color:#fff;} .paper_container:hover .hw_overlay {opacity: 1;} .paperspec{ border-top:1px solid #bbbbbb;font-size:10px;} .paperspec thead th{ color:#555;line-height:35px;font-weight:600;text-align:center;background:#f8f8f8;border-bottom:1px solid #d6d6d6;} .paperspec thead th:first-of-type{ border-right:1px solid #d6d6d6;} .paperspec tbody th{ width:100px;height:35px;color:#575757;line-height:35px;font-weight:600;border-right:1px solid #d6d6d6;border-bottom:1px solid #d6d6d6;} .paperspec tbody td{ width:330px;height:35px;line-height:20px;border-bottom:1px solid #d6d6d6;text-align:left;padding-left:20px;} .modal-body{background:url("./images/paper/product_paper_bg.png") no-repeat;background-size:100%;} .modal-body_title h1{font-size:17pt;font-weight:bold;} .modal-body_title p{margin:0 0 5px;font-size:12pt;font-weight:600;} .modal-body_title a{text-decoration: none;padding:7px 25px;cursor: pointer;background:linear-gradient( to bottom, #ed1f4f, #d2113e);color:#fff;border:none;border-radius: 15px;font-size:10pt;font-weight:bold;} </style> <a name="account"></a> <!--TAP MENU--> <div class="paper" style="width:100%;text-align:center;margin-top: 50px;"><a name="smart"></a> <p><img src="./images/paper/paper_title.png" alt="전산용지 title" style="max-width:100%;"></p> <div class="paper_navbar"> <ul> <li><a href="#account">거래<br>명세표</a></li> <li><a href="#receipt">영수증<br>롤지</a></li> <li><a href="#label">바코드<br>라벨지</a></li> <li><a href="#tax">세금<br>계산서</a></li> </ul> </div> <!--거래명세표--> <div class="paper_product"> <div class="paper_title_bg"> <img src="./images/paper/paper_title_account.jpg" alt="거래명세표"> </div> <a name="receipt"></a> <div class="paper_product_box"> <div class="paper_container"onclick="openModal();currentSlide(1)"> <h3>A4반지 14라인</h3> <p>(1box당 1,000매)</p> <img src="./images/paper/paper_buy1-1.jpg" alt="A4반지 14라인"> <p class="price">가격:33,000원</p> </div> <div class="paper_container"onclick="openModal();currentSlide(2)"> <h3>A4전지 21/42라인</h3> <p>(1box당 875매)</p> <img src="./images/paper/paper_buy1-2.jpg" alt="A4전지 21/42라인"> <p class="price">가격:36,300원</p> </div> <div class="paper_container"onclick="openModal();currentSlide(3)"> <h3>A4반지 (비고란)</h3> <p>(1box당 1,750매)<br><span style="font-size:2pt">※기본 5박스 이상 구매</span></p> <img src="./images/paper/paper_buy1-3.jpg" alt="A4반지 비고란" style="margin-top:-1px;"> <p class="price">가격:63,800원(박스당)</p> </div> </div> </div> <!--영수증롤지--> <div class="paper_product"> <div class="paper_title_bg"> <img src="./images/paper/paper_title_receipt.jpg" alt="영수증롤지"> </div> <a name="label"></a> <div class="paper_product_box"> <div class="paper_container_1"onclick="openModal();currentSlide(4)"> <h3>영수증롤지</h3> <p>(1box당 50롤)</p> <img src="./images/paper/paper_buy2-1.jpg" alt="A4반지 14라인"> <p class="price">가격:77,000원</p> </div> <div class="paper_container_1"onclick="openModal();currentSlide(5)"> <h3>PDA롤지</h3> <p>(1box당 100롤)</p> <img src="./images/paper/paper_buy2-1.jpg" alt="A4반지 14라인"> <p class="price">가격:33,000원</p> </div> </div> </div>
<!--바코드라벨지--> <div class="paper_product"> <div class="paper_title_bg"> <img src="./images/paper/paper_title_label.jpg" alt="라벨지"> </div>
<div class="paper_product_box"> <div class="paper_container_1"onclick="openModal();currentSlide(6)"> <h3>라벨지 4000개</h3> <p style="font-size:2pt">※제품과 동시구매시<br> 무료배송</p> <img src="./images/paper/paper_buy3-1.jpg" alt="바코드라벨지4000"> <p class="price">가격:16,500원</p> </div> <div class="paper_container_1"onclick="openModal();currentSlide(7)"> <h3>라벨지 7000개</h3> <p style="font-size:2pt">※제품과 동시구매시<br> 무료배송</p> <img src="./images/paper/paper_buy3-2.jpg" alt="바코드라벨지7000"> <p class="price">가격:16,500원</p> </div> <div class="paper_container_1"onclick="openModal();currentSlide(8)"> <h3>라벨지 1600개</h3> <p style="font-size:2pt">※제품과 동시구매시<br> 무료배송</p> <img src="./images/paper/paper_buy3-3.jpg" alt="바코드라벨지1600"> <p class="price">가격:16,500원</p> </div> </div> </div>
<a name="tax"></a> <!--세금계산서--> <div class="paper_product"> <div class="paper_title_bg"> <img src="./images/paper/paper_title_tax.jpg" alt="세금계산서"> </div> <div class="paper_product_box" style="padding:10px 0 0;"> <div class="paper_container"onclick="openModal();currentSlide(9)"> <h3>세금계산서 A4반지</h3> <p>(1box당 1,000매)</p> <img src="./images/paper/paper_buy1-1.jpg" alt="세금계산서A4반지"> <p class="price">가격:33,000원</p> </div> <div class="paper_container"onclick="openModal();currentSlide(10)"> <h3>면세계산서 A4반지</h3> <p>(1box당 1,000매)</p> <img src="./images/paper/paper_buy1-1.jpg" alt="면세계산서A4반지"> <p class="price">가격:33,000원</p> </div> </div> </div> </div>
<div id="myModal" class="modal"> <!-- 팝업상세페이지 --> <div class="modal-size"> <div class="modal-content"> <div class="modal-header"> <span class="close" onclick="closeModal()">×</span> <h2>전산용지 제품안내</h2> </div> <div class="modal-body"> <!-- A4반지 14라인 --> <div class="mySlides"> <div class="numbertext" style="overflow-y:scroll;height:550px;text-align:center;"> <div class="modal-body_title" style="text-align:right;margin:20px;line-height:25px;"> <h1>A4반지 14라인</h1> <p>(1box당 1,000매)</p> <a href="paper_order01.php?ProductCode=0207004" style="color:#fff;">제품구매</a> </div> <img src="./images/paper/product_paper1-1.png" style="width:100%;" alt="팝업상세페이지"> <div class="hwSpecification"> <table class="paperspec" style="margin-bottom:50px;"> <tbody> <tr> <th scope="row" style="background:#f8f8f8;">업무용도</th> <td>위(적색)/아래(청색) 2부인쇄<br>(천년경영. 제조경영. 이지텍스 공용)</td> </tr> <tr> <th scope="row" style="background:#f8f8f8;">특이사항</th> <td>가운데 절취선 있음</td> </tr> <tr> <th scope="row" style="background:#f8f8f8;">제작기간</th> <td>당일발송(PM 3:00까지)</td> </tr> </tbody> </table> <div class="buy_button" style="height:70px;"> <a href="paper_order01.php?ProductCode=0207004" style="color:#fff;">제품구매</a> </div> </div> </div> </div> <!-- A4전지 21/42라인 --> <div class="mySlides"> <div class="numbertext" style="overflow-y:scroll;height:550px;text-align:center;"> <div class="modal-body_title" style="text-align:right;margin:20px;line-height:25px;"> <h1>A4전지 21/42라인</h1> <p>(1box당 875매)</p> <a href="paper_order01.php?ProductCode=0207005" style="color:#fff;">제품구매</a> </div> <img src="./images/paper/product_paper1-2.png" alt="팝업상세페이지"> <div class="paperspec_ification"> <table class="paperspec" style="margin-bottom:50px;"> <tbody> <tr> <th scope="row" style="background:#f8f8f8;">업무용도</th> <td>A4한장 전체에 거래내역 인쇄 (천년경영. 제조경영 공용)</td> </tr> <tr> <th scope="row" style="background:#f8f8f8;">제작기간</th> <td>당일발송(PM 3:00까지)</td> </tr> </tbody> </table> <div class="buy_button" style="height:70px;"> <a href="paper_order01.php?ProductCode=0207005" style="color:#fff;">제품구매</a> </div> </div> </div> </div> <!-- A4반지 (비고란) --> <div class="mySlides"> <div class="numbertext" style="overflow-y:scroll;height:550px;text-align:center;"> <img src="./images/paper/product_paper1-3.png" alt="팝업상세페이지"> <div class="paperspec_ification"> <table class="paperspec" style="margin-bottom:50px;"> <tbody> <tr> <th scope="row" style="background:#f8f8f8;">업무용도</th> <td>위(적색)/아래(청색) 2부인쇄,<br>(천년경영. 제조경영. 이지텍스 공용)</td> </tr> <tr> <th scope="row" style="background:#f8f8f8;">특이사항</th> <td>가운데 절취선 있음</td> </tr> <tr> <th scope="row" style="background:#f8f8f8;">제작기간</th> <td>주문제작 후 배송</td> </tr> </tbody> </table> <div class="buy_button" style="height:70px;"> <a href="javascript:alert('구매해야하는 제작용지이므로 1566-8680로 문의해주세요.')" style="color:#fff;">제품구매</a> </div> </div> </div> </div> <!-- 영수증롤지 --> <div class="mySlides"> <div class="numbertext" style="overflow-y:scroll;height:550px;text-align:center;"> <div class="modal-body_title" style="text-align:right;margin:20px;line-height:25px;"> <h1>영수증롤지</h1> <p>(1box당 50롤)</p> <a href="paper_order01.php?ProductCode=0210253" style="color:#fff;">제품구매</a> </div> <img src="./images/paper/product_paper2-1.png" alt="팝업상세페이지"> <div class="paperspec_ification"> <table class="paperspec" style="margin-bottom:50px;"> <tbody> <tr> <th scope="row" style="background:#f8f8f8;">업무용도</th> <td>영수증프린터 전용용지 (지름 70mm X 폭 79mm)</td> </tr> <tr> <th scope="row" style="background:#f8f8f8;">제작기간</th> <td>당일발송(PM 3:00까지)</td> </tr> </tbody> </table> <div class="buy_button" style="height:70px;"> <a href="paper_order01.php?ProductCode=0210253" style="color:#fff;">제품구매</a> </div> </div> </div> </div> <!-- PDA롤지 --> <div class="mySlides"> <div class="numbertext" style="overflow-y:scroll;height:550px;text-align:center;"> <div class="modal-body_title" style="text-align:right;margin:20px;line-height:25px;"> <h1>PDA롤지</h1> <p>(1box당 100롤)</p> <a href="paper_order01.php?ProductCode=0210254" style="color:#fff;">제품구매</a> </div> <img src="./images/paper/product_paper2-1.png" alt="팝업상세페이지"> <div class="paperspec_ificification"> <table class="paperspec" style="margin-bottom:50px;"> <tbody> <tr> <th scope="row" style="background:#f8f8f8;">업무용도</th> <td>영수증프린터 전용용지 (지름 30mm X 폭 57mm)</td> </tr> <tr> <th scope="row" style="background:#f8f8f8;">제작기간</th> <td>당일발송(PM 3:00까지)</td> </tr> </tbody> </table> <div class="buy_button" style="height:70px;"> <a href="paper_order01.php?ProductCode=0210254" style="color:#fff;">제품구매</a> </div> </div> </div> </div>
<!-- 바코드 라벨지 -4000개 --> <div class="mySlides"> <div class="numbertext" style="overflow-y:scroll;height:550px;text-align:center;"> <div class="modal-body_title" style="text-align:right;margin:20px;line-height:25px;"> <h1>라벨지 4000개</h1> <p>(제품과 동시 구매시 무료배송)</p> <a href="paper_order01.php?ProductCode=0221149" style="color:#fff;">제품구매</a> </div> <img src="./images/paper/product_paper3-1.png" alt="팝업상세페이지"> <div class="paperspec_ification"> <table class="paperspec" style="margin-bottom:50px;"> <tbody> <tr> <th scope="row" style="background:#f8f8f8;">운송료</th> <td>제품과 동시구매시 운송료 무료</td> </tr> <tr> <th scope="row" style="background:#f8f8f8;">업무용도</th> <td>잉크젯 / 레이저로 바코드 출력<br>(천년경영. 제조경영에서 지원)40개 X 100매</td> </tr> <tr> <th scope="row" style="background:#f8f8f8;">제품장점</th> <td>저비용으로 라벨지 제작</td> </tr> </tbody> </table> <div class="buy_button" style="height:70px;"> <a href="paper_order01.php?ProductCode=0221149" style="color:#fff;">제품구매</a> </div> </div> </div> </div>
<!-- 바코드 라벨지 -7000개 --> <div class="mySlides"> <div class="numbertext" style="overflow-y:scroll;height:550px;text-align:center;"> <div class="modal-body_title" style="text-align:right;margin:20px;line-height:25px;"> <h1>라벨지 7000개</h1> <p>(제품과 동시 구매시 무료배송)</p> <a href="paper_order01.php?ProductCode=0221148" style="color:#fff;">제품구매</a> </div> <img src="./images/paper/product_paper3-2.png" alt="팝업상세페이지"> <div class="paperspec_ification"> <table class="paperspec" style="margin-bottom:50px;"> <tbody> <tr> <th scope="row" style="background:#f8f8f8;">운송료</th> <td>제품과 동시구매시 운송료 무료</td> </tr> <tr> <th scope="row" style="background:#f8f8f8;">업무용도</th> <td>잉크젯 / 레이저로 바코드 출력<br>(천년경영. 제조경영에서 지원)70개 X 100매</td> </tr> <tr> <th scope="row" style="background:#f8f8f8;">제품장점</th> <td>저비용으로 라벨지 제작</td> </tr> </tbody> </table> <div class="buy_button" style="height:70px;"> <a href="paper_order01.php?ProductCode=0221148" style="color:#fff;">제품구매</a> </div> </div> </div> </div>
<!-- 바코드 라벨지 -1600개 --> <div class="mySlides"> <div class="numbertext" style="overflow-y:scroll;height:550px;text-align:center;"> <div class="modal-body_title" style="text-align:right;margin:20px;line-height:25px;"> <h1>라벨지 1600개</h1> <p>(제품과 동시 구매시 무료배송)</p> <a href="paper_order01.php?ProductCode=0221299" style="color:#fff;">제품구매</a> </div> <img src="./images/paper/product_paper3-3.png" alt="팝업상세페이지"> <div class="paperspec_ification"> <table class="paperspec" style="margin-bottom:50px;"> <tbody> <tr> <th scope="row" style="background:#f8f8f8;">운송료</th> <td>제품과 동시구매시 운송료 무료</td> </tr> <tr> <th scope="row" style="background:#f8f8f8;">업무용도</th> <td>잉크젯 / 레이저로 바코드 출력<br>(천년경영. 제조경영에서 지원)16개 X 100매</td> </tr> <tr> <th scope="row" style="background:#f8f8f8;">제품장점</th> <td>저비용으로 라벨지 제작</td> </tr> </tbody> </table> <div class="buy_button" style="height:70px;"> <a href="paper_order01.php?ProductCode=0221299" style="color:#fff;">제품구매</a> </div> </div> </div> </div>
<!-- 세금계산서 --> <div class="mySlides"> <div class="numbertext" style="overflow-y:scroll;height:550px;text-align:center;"> <div class="modal-body_title" style="text-align:right;margin:20px;line-height:25px;"> <h1>세금계산서 A4반지</h1> <p>(1box당 1,000매)</p> <a href="paper_order01.php?ProductCode=0209022" style="color:#fff;">제품구매</a> </div> <img src="./images/paper/product_paper4-1.png" alt="팝업상세페이지"> <div class="paperspec_ification"> <table class="paperspec" style="margin-bottom:50px;"> <tbody> <tr> <th scope="row" style="background:#f8f8f8;">업무용도</th> <td>위(적색)/아래(청색) 2부인쇄<br>(천년경영. 제조경영. 이지텍스 공용)</td> </tr> <tr> <th scope="row" style="background:#f8f8f8;">특이사항</th> <td>가운데 절취선 있음</td> </tr> <tr> <th scope="row" style="background:#f8f8f8;">제작기간</th> <td>당일발송(PM 3:00까지)</td> </tr> </tbody> </table> <div class="buy_button" style="height:70px;"> <a href="paper_order01.php?ProductCode=0209022" style="color:#fff;">제품구매</a> </div> </div> </div> </div>
<!-- 면세계산서 --> <div class="mySlides"> <div class="numbertext" style="overflow-y:scroll;height:550px;text-align:center;"> <div class="modal-body_title" style="text-align:right;margin:20px;line-height:25px;"> <h1>면세계산서 A4반지</h1> <p>(1box당 1,000매)</p> <a href="paper_order01.php?ProductCode=0209024" style="color:#fff;">제품구매</a> </div> <img src="./images/paper/product_paper4-2.png" alt="팝업상세페이지"> <div class="paperspec_ification"> <table class="paperspec" style="margin-bottom:50px;"> <tbody> <tr> <th scope="row" style="background:#f8f8f8;">업무용도</th> <td>위(적색)/아래(청색) 2부인쇄<br>(천년경영. 제조경영. 이지텍스 공용)</td> </tr> <tr> <th scope="row" style="background:#f8f8f8;">특이사항</th> <td>가운데 절취선 있음</td> </tr> <tr> <th scope="row" style="background:#f8f8f8;">제작기간</th> <td>당일발송(PM 3:00까지)</td> </tr> </tbody> </table> <div class="buy_button" style="height:70px;"> <a href="paper_order01.php?ProductCode=0209024" style="color:#fff;">제품구매</a> </div> </div> </div> </div> </div> <div class="modal-footer"> <img src="./images/paper/product_paper_call.png" style="width:100%;" alt="팝업하단"> </div> </div> </div>
</div> <br><br><br> <? include("./include/footer.php"); ?>
<script> //탭메뉴
var slideIndex = 1; showSlides(slideIndex);
function plusSlides(n) { showSlides(slideIndex += n); }
function currentSlide(n) { showSlides(slideIndex = n); }
function showSlides(n) { var i; var slides = document.getElementsByClassName("company"); var dots = document.getElementsByClassName("demo"); var captionText = document.getElementById("caption"); if (n > slides.length) {slideIndex = 1} if (n < 1) {slideIndex = slides.length} for (i = 0; i < slides.length; i++) { slides[i].style.display = "none"; } for (i = 0; i < dots.length; i++) { dots[i].className = dots[i].className.replace(" active", ""); } slides[slideIndex-1].style.display = "block"; dots[slideIndex-1].className += " active"; captionText.innerHTML = dots[slideIndex-1].alt; }
//모달박스 function openModal() { document.getElementById('myModal').style.display = "block"; }
function closeModal() { document.getElementById('myModal').style.display = "none"; }
var slideIndex = 1; showSlides(slideIndex);
function plusSlides(n) { showSlides(slideIndex += n); }
function currentSlide(n) { showSlides(slideIndex = n); }
function showSlides(n) { var i; var slides = document.getElementsByClassName("mySlides"); var dots = document.getElementsByClassName("demo"); var captionText = document.getElementById("caption"); if (n > slides.length) {slideIndex = 1} if (n < 1) {slideIndex = slides.length} for (i = 0; i < slides.length; i++) { slides[i].style.display = "none"; } for (i = 0; i < dots.length; i++) { dots[i].className = dots[i].className.replace(" active", ""); } slides[slideIndex-1].style.display = "block"; dots[slideIndex-1].className += " active"; captionText.innerHTML = dots[slideIndex-1].alt; }
</script>
|