본문 바로가기 주메뉴 바로가기
국회도서관 홈으로 정보검색 소장정보 검색

목차보기

목차

밀교승 혜초의 재고찰 : 『表制集』을 중심으로 / 이정수 1

〈한글요약〉 1

I. 서언 3

II. 『왕오천축국전』의 저자 혜초에 관한 개략 4

III. 『표제집』에 보이는 밀교승 혜초의 행상 6

1. 삼장화상 부촉 육철 7

2. 내도량 지송승 표제 9

3. 옥녀담 기우표 10

IV. 밀교승 혜초가『왕오천축국전』의 저자로 알려진 연유 12

V. 결어 17

〈참고문헌〉 18

Abstract 19

초록보기

개원의 삼대사로 불리는 중국밀교의 전래자 3인 가운데 금강계법을 전한 금강지삼장(671-741)과 그의 수제자 불공삼장(705-774) 모두의 수법제자인 慧超는 불공삼장의 유훈을 부촉 받은 六哲 중의 1인으로 기록되어 있다. 그 외에도 ‘옥녀담기우표’나 ‘내도량지송’의 표제에서도 혜초는 그 이름과 행적이 등장하고 있으며, 현재 불공삼장의 역으로 알려진 『大乘瑜伽金剛性海曼殊室利千臂千鉢大敎王經』의 序에서도 그의 모습이 확인된다. 중국 唐代 인도중기밀교의 전래시기에 그 행적이 보이는 혜초는 20세기 초까지 거의 알려지지 않고 있었던 밀교승이다. 20세기 초 프랑스 탐험가 페리오가 돈황 막고굴 천불동에서 본국으로 가져온 여러 서책 가운데 하나인 『往五天竺國傳』이 세상에 알려지면서 관심을 갖게 되었으며 일본학자 高楠順次郞에 의해 불공삼장의 遺에 등장하는 慧超가 『왕오천축국전』의 저자이며, 불공의 高弟子라는 언표를 통하여 세계학계에 주목을 받게 되었다. 이후 2차 세계대전 이전에 『왕오천축국전』의 저자로서 惠超의 연구는 지대한 관심 속에서 상당한 연구 업적이 나타난다. 그러나 그 대부분은 한정된 기록에 의한 연구였으므로 그 한계가 있었다. 그것은 『일체경음의』나 『왕오천축국전』, 불공삼장 『표제집』의 본문 중에 나오는 내용과 역사적 사실과 대비하여 추론하는 것이 대부분이었다. 본고는 이러한 혜초의 행적 가운데 특히 중국 밀교의 확립자인 불공삼장의 六哲로 기록된 ‘新羅慧超’에 대하여 『표제집』을 중심으로 하여 밀교승 혜초의 활동상을 확인해 보고자하며, 아울러 高楠順次郞의 글을 통해 그의 주장을 살펴보고자 한다.

It is recorded that Vajrabodhi, who is one of the Three Transmitters, and also who are considered as the Great Three Masters of the Chinese Esoteric Buddhism. Amoghavajra was a disciple of Vajrabodhi, and in the record, it is said that Hyecho studied under Amoghavajra, and became one of the Six Philosophers with whom Amoghavajra left his last Dharma transmission will. Other than this, Hyecho's name and lifetime achievements appears in the title of 'OknyodamkiUpyo' 'Naedoryangjisong'. Hyecho's existence is confirmed again in the preface of 『大乘瑜伽金剛性海曼殊室利千臂千鉢大敎王經』, which is known as a translation by Amoghavajra. Hyecho was an esoteric Buddhist monk who lived during the time of transmission of Indian Esoteric Buddhism to the Tang Dynasty China, however his existence was hardly known until the 20th century. In the early years of 20th century, the French explorer P. Pellot brought back some documents from Dun-Huang(敦煌) and one of the documents was the 『往五天竺國傳』 that immediately drew the attention of the world. It is by the Japanese scholar Takakusu Junjiro, who confirmed that Hyecho is the author of 『往五天竺國傳』, and he is one of the disciples who appears in the Amoghavajra's Dharma transmisison will. After the World War II, some research on Hyecho were undertaken with great interest. Nevertheless, most of the research were done on the basis of inference referring to the 『一切經音義』, or 『往五天竺國傳』, and the contents from the Amoghavajra's and historical facts. This paper will delve into the world of Hyecho and his achievements using the compiled title which is recorded as 'Shilla Hyecho', as the Six Philosophers of Amoghavajra, the one who established the Esoteric Buddhism. This will enable highlight Hyecho as one of the Four Great Chinese Translators, and as one of the Six Philosophers and disciples of Amoghavajra. However, there is an obstacle that very limited material is available to do research on him. As one can see in Takakusu Junjiro's comments saying that people generally conceive Hyecho as an author of 『往五天竺國傳』, with lacking examination or prove against research as the expression known as 'Shiila Hyecho' determined pre-conception and this always confines him. Hyecho existed historically, however, he could be more than one individual with same name, or probability is there that he is one individual with different names. The understanding and value of Hyecho will be reshaped if any materials can be found to explore more about him, and his position in the history will be repositioned. </div> <button class="btn_triger" type="button">더 보기</button> </div> <div class="popArticle_ui"> <h3>권호기사</h3> <div class="box tbl_col"> <table> <caption>권호기사 목록 테이블로 기사명, 저자명, 페이지, 원문, 기사목차 순으로 되어있습니다.</caption> <colgroup> <col> <col width="15%" /> <col width="10%" /> <col width="20%" /> <col width="10%" /> </colgroup> <thead> <tr> <th scope="col">기사명</th> <th scope="col">저자명</th> <th scope="col" data-breakpoints="xs sm">페이지</th> <th scope="col" data-breakpoints="xs sm md">원문</th> <th scope="col">목차</th> </tr> </thead> <tbody> <tr> <td class="cell"> <a href="javascript:searchInnerDetail('KINX2013119984', 'Y')" title="무상과 괴로움"> 무상과 괴로움 </a> </td> <td> 권순홍 </td> <td> pp.9-84 </td> <td> <p> <button class="btnD ty1 readonly disabled" onclick="viewDoc(this, 'KINX2013119984', '1')" title="원문보기 (음성지원, 협정기관 방문 후 이용 가능 )" onmouseover="javascript:displayTip(this,'음성지원, 협정기관 방문 후 이용 가능합니다.');" > <i class="ic_pdf13 gray cursor readonly"></i>원문보기 </button> </p> </td> <td> <a href="#none" class="more" title="기사목차보기" onclick="viewToc(this, 'KINX2013119984', '0')">보기</a> </td> </tr> <tr class="tocViewWrap" style="display: none;"> <td class="cell" colspan="5"> <div class="box2" style="display:flex;flex-direction:column;height: 100px; overflow: auto;" id="TOC_KINX2013119984_0"></div> </td> </tr> <tr> <td class="cell"> <a href="javascript:searchInnerDetail('KINX2013119990', 'Y')" title="서구 근현대철학의 관점에서 본 불교철학의 두 수행방식 : 들뢰즈의 열반 이해에 기초해서"> 서구 근현대철학의 관점에서 본 불교철학의 두 수행방식 : 들뢰즈의 열반 이해에 기초해서 </a> </td> <td> 박인성 </td> <td> pp.85-129 </td> <td> <p> <button class="btnD ty1 readonly disabled" onclick="viewDoc(this, 'KINX2013119990', '1')" title="원문보기 (음성지원, 협정기관 방문 후 이용 가능 )" onmouseover="javascript:displayTip(this,'음성지원, 협정기관 방문 후 이용 가능합니다.');" > <i class="ic_pdf13 gray cursor readonly"></i>원문보기 </button> </p> </td> <td> <a href="#none" class="more" title="기사목차보기" onclick="viewToc(this, 'KINX2013119990', '1')">보기</a> </td> </tr> <tr class="tocViewWrap" style="display: none;"> <td class="cell" colspan="5"> <div class="box2" style="display:flex;flex-direction:column;height: 100px; overflow: auto;" id="TOC_KINX2013119990_1"></div> </td> </tr> <tr> <td class="cell"> <a href="javascript:searchInnerDetail('KINX2013119994', 'Y')" title="설일체유부의 체용론"> 설일체유부의 체용론 </a> </td> <td> 배상환 </td> <td> pp.131-155 </td> <td> <p> <button class="btnD ty1 readonly disabled" onclick="viewDoc(this, 'KINX2013119994', '1')" title="원문보기 (음성지원, 협정기관 방문 후 이용 가능 )" onmouseover="javascript:displayTip(this,'음성지원, 협정기관 방문 후 이용 가능합니다.');" > <i class="ic_pdf13 gray cursor readonly"></i>원문보기 </button> </p> </td> <td> <a href="#none" class="more" title="기사목차보기" onclick="viewToc(this, 'KINX2013119994', '2')">보기</a> </td> </tr> <tr class="tocViewWrap" style="display: none;"> <td class="cell" colspan="5"> <div class="box2" style="display:flex;flex-direction:column;height: 100px; overflow: auto;" id="TOC_KINX2013119994_2"></div> </td> </tr> <tr> <td class="cell"> <a href="javascript:searchInnerDetail('KINX2013120002', 'Y')" title="삼교일치사상의 논리적 이중성"> 삼교일치사상의 논리적 이중성 </a> </td> <td> 강규여 </td> <td> pp.157-179 </td> <td> <p> <button class="btnD ty1 readonly disabled" onclick="viewDoc(this, 'KINX2013120002', '1')" title="원문보기 (음성지원, 협정기관 방문 후 이용 가능 )" onmouseover="javascript:displayTip(this,'음성지원, 협정기관 방문 후 이용 가능합니다.');" > <i class="ic_pdf13 gray cursor readonly"></i>원문보기 </button> </p> </td> <td> <a href="#none" class="more" title="기사목차보기" onclick="viewToc(this, 'KINX2013120002', '3')">보기</a> </td> </tr> <tr class="tocViewWrap" style="display: none;"> <td class="cell" colspan="5"> <div class="box2" style="display:flex;flex-direction:column;height: 100px; overflow: auto;" id="TOC_KINX2013120002_3"></div> </td> </tr> <tr> <td class="cell"> <a href="javascript:searchInnerDetail('KINX2013120010', 'Y')" title="眞諦의 三性·三無性論에 대한 圓測의 이해와 비판 : 淸辨과 護法의 대비 속에서 眞諦 읽기"> 眞諦의 三性·三無性論에 대한 圓測의 이해와 비판 : 淸辨과 護法의 대비 속에서 眞諦 읽기 </a> </td> <td> 장규언 </td> <td> pp.181-217 </td> <td> <p> <button class="btnD ty1 readonly disabled" onclick="viewDoc(this, 'KINX2013120010', '1')" title="원문보기 (음성지원, 협정기관 방문 후 이용 가능 )" onmouseover="javascript:displayTip(this,'음성지원, 협정기관 방문 후 이용 가능합니다.');" > <i class="ic_pdf13 gray cursor readonly"></i>원문보기 </button> </p> </td> <td> <a href="#none" class="more" title="기사목차보기" onclick="viewToc(this, 'KINX2013120010', '4')">보기</a> </td> </tr> <tr class="tocViewWrap" style="display: none;"> <td class="cell" colspan="5"> <div class="box2" style="display:flex;flex-direction:column;height: 100px; overflow: auto;" id="TOC_KINX2013120010_4"></div> </td> </tr> <tr> <td class="cell"> <a href="javascript:searchInnerDetail('KINX2013120020', 'Y')" title="『摩訶止觀』의 觀不可思議境에서 四不生의 適用에 관한 硏究 : 地師와 攝師의 批判 및 受容과 관련해서"> 『摩訶止觀』의 觀不可思議境에서 四不生의 適用에 관한 硏究 : 地師와 攝師의 批判 및 受容과 관련해서 </a> </td> <td> 이승남 </td> <td> pp.219-244 </td> <td> <p> <button class="btnD ty1 readonly disabled" onclick="viewDoc(this, 'KINX2013120020', '1')" title="원문보기 (음성지원, 협정기관 방문 후 이용 가능 )" onmouseover="javascript:displayTip(this,'음성지원, 협정기관 방문 후 이용 가능합니다.');" > <i class="ic_pdf13 gray cursor readonly"></i>원문보기 </button> </p> </td> <td> <a href="#none" class="more" title="기사목차보기" onclick="viewToc(this, 'KINX2013120020', '5')">보기</a> </td> </tr> <tr class="tocViewWrap" style="display: none;"> <td class="cell" colspan="5"> <div class="box2" style="display:flex;flex-direction:column;height: 100px; overflow: auto;" id="TOC_KINX2013120020_5"></div> </td> </tr> <tr> <td class="cell"> <a href="javascript:searchInnerDetail('KINX2013120024', 'Y')" title="신회의「知」의 철학에 대하여"> 신회의「知」의 철학에 대하여 </a> </td> <td> 정유진 </td> <td> pp.245-273 </td> <td> <p> <button class="btnD ty1 readonly disabled" onclick="viewDoc(this, 'KINX2013120024', '1')" title="원문보기 (음성지원, 협정기관 방문 후 이용 가능 )" onmouseover="javascript:displayTip(this,'음성지원, 협정기관 방문 후 이용 가능합니다.');" > <i class="ic_pdf13 gray cursor readonly"></i>원문보기 </button> </p> </td> <td> <a href="#none" class="more" title="기사목차보기" onclick="viewToc(this, 'KINX2013120024', '6')">보기</a> </td> </tr> <tr class="tocViewWrap" style="display: none;"> <td class="cell" colspan="5"> <div class="box2" style="display:flex;flex-direction:column;height: 100px; overflow: auto;" id="TOC_KINX2013120024_6"></div> </td> </tr> <tr> <td class="cell"> <a href="javascript:searchInnerDetail('KINX2013120031', 'Y')" title="新羅의 佛敎儀禮와 發達"> 新羅의 佛敎儀禮와 發達 </a> </td> <td> 이만 </td> <td> pp.275-314 </td> <td> <p> <button class="btnD ty1 readonly disabled" onclick="viewDoc(this, 'KINX2013120031', '1')" title="원문보기 (음성지원, 협정기관 방문 후 이용 가능 )" onmouseover="javascript:displayTip(this,'음성지원, 협정기관 방문 후 이용 가능합니다.');" > <i class="ic_pdf13 gray cursor readonly"></i>원문보기 </button> </p> </td> <td> <a href="#none" class="more" title="기사목차보기" onclick="viewToc(this, 'KINX2013120031', '7')">보기</a> </td> </tr> <tr class="tocViewWrap" style="display: none;"> <td class="cell" colspan="5"> <div class="box2" style="display:flex;flex-direction:column;height: 100px; overflow: auto;" id="TOC_KINX2013120031_7"></div> </td> </tr> <tr> <td class="cell"> <a href="javascript:searchInnerDetail('KINX2013120035', 'Y')" title="밀교승 혜초의 재고찰 : 『表制集』을 중심으로"> 밀교승 혜초의 재고찰 : 『表制集』을 중심으로 </a> </td> <td> 이정수 </td> <td> pp.315-334 </td> <td> <p> <button class="btnD ty1 readonly disabled" onclick="viewDoc(this, 'KINX2013120035', '1')" title="원문보기 (음성지원, 협정기관 방문 후 이용 가능 )" onmouseover="javascript:displayTip(this,'음성지원, 협정기관 방문 후 이용 가능합니다.');" > <i class="ic_pdf13 gray cursor readonly"></i>원문보기 </button> </p> </td> <td> <a href="#none" class="more" title="기사목차보기" onclick="viewToc(this, 'KINX2013120035', '8')">보기</a> </td> </tr> <tr class="tocViewWrap" style="display: none;"> <td class="cell" colspan="5"> <div class="box2" style="display:flex;flex-direction:column;height: 100px; overflow: auto;" id="TOC_KINX2013120035_8"></div> </td> </tr> <tr> <td class="cell"> <a href="javascript:searchInnerDetail('KINX2013120043', 'Y')" title="근대화에 따른 동아시아 사원규범의 변화 : 선종계를 중심으로"> 근대화에 따른 동아시아 사원규범의 변화 : 선종계를 중심으로 </a> </td> <td> 강문선 </td> <td> pp.335-362 </td> <td> <p> <button class="btnD ty1 readonly disabled" onclick="viewDoc(this, 'KINX2013120043', '1')" title="원문보기 (음성지원, 협정기관 방문 후 이용 가능 )" onmouseover="javascript:displayTip(this,'음성지원, 협정기관 방문 후 이용 가능합니다.');" > <i class="ic_pdf13 gray cursor readonly"></i>원문보기 </button> </p> </td> <td> <a href="#none" class="more" title="기사목차보기" onclick="viewToc(this, 'KINX2013120043', '9')">보기</a> </td> </tr> <tr class="tocViewWrap" style="display: none;"> <td class="cell" colspan="5"> <div class="box2" style="display:flex;flex-direction:column;height: 100px; overflow: auto;" id="TOC_KINX2013120043_9"></div> </td> </tr> <tr> <td class="cell"> <a href="javascript:searchInnerDetail('KINX2013120049', 'Y')" title="근대 한국의 禪農佛敎에 대한 재조명 : 鶴鳴과 龍城을 중심으로"> 근대 한국의 禪農佛敎에 대한 재조명 : 鶴鳴과 龍城을 중심으로 </a> </td> <td> 김호성 </td> <td> pp.363-390 </td> <td> <p> <button class="btnD ty1 readonly disabled" onclick="viewDoc(this, 'KINX2013120049', '1')" title="원문보기 (음성지원, 협정기관 방문 후 이용 가능 )" onmouseover="javascript:displayTip(this,'음성지원, 협정기관 방문 후 이용 가능합니다.');" > <i class="ic_pdf13 gray cursor readonly"></i>원문보기 </button> </p> </td> <td> <a href="#none" class="more" title="기사목차보기" onclick="viewToc(this, 'KINX2013120049', '10')">보기</a> </td> </tr> <tr class="tocViewWrap" style="display: none;"> <td class="cell" colspan="5"> <div class="box2" style="display:flex;flex-direction:column;height: 100px; overflow: auto;" id="TOC_KINX2013120049_10"></div> </td> </tr> <tr> <td class="cell"> <a href="javascript:searchInnerDetail('KINX2013120054', 'Y')" title="한국의 근대화와 전통 불교의례의 변모"> 한국의 근대화와 전통 불교의례의 변모 </a> </td> <td> 고영섭 </td> <td> pp.391-431 </td> <td> <p> <button class="btnD ty1 readonly disabled" onclick="viewDoc(this, 'KINX2013120054', '1')" title="원문보기 (음성지원, 협정기관 방문 후 이용 가능 )" onmouseover="javascript:displayTip(this,'음성지원, 협정기관 방문 후 이용 가능합니다.');" > <i class="ic_pdf13 gray cursor readonly"></i>원문보기 </button> </p> </td> <td> <a href="#none" class="more" title="기사목차보기" onclick="viewToc(this, 'KINX2013120054', '11')">보기</a> </td> </tr> <tr class="tocViewWrap" style="display: none;"> <td class="cell" colspan="5"> <div class="box2" style="display:flex;flex-direction:column;height: 100px; overflow: auto;" id="TOC_KINX2013120054_11"></div> </td> </tr> <tr> <td class="cell"> <a href="javascript:searchInnerDetail('KINX2013120077', 'Y')" title="Lược sử Phật giáo Việt Nam"> Lược sử Phật giáo Việt Nam </a> </td> <td> Thân Văn Vần </td> <td> pp.433-461 </td> <td> <p> <button class="btnD ty1 readonly disabled" onclick="viewDoc(this, 'KINX2013120077', '1')" title="원문보기 (음성지원, 협정기관 방문 후 이용 가능 )" onmouseover="javascript:displayTip(this,'음성지원, 협정기관 방문 후 이용 가능합니다.');" > <i class="ic_pdf13 gray cursor readonly"></i>원문보기 </button> </p> </td> <td> <a href="#none" class="more" title="기사목차보기" onclick="viewToc(this, 'KINX2013120077', '12')">보기</a> </td> </tr> <tr class="tocViewWrap" style="display: none;"> <td class="cell" colspan="5"> <div class="box2" style="display:flex;flex-direction:column;height: 100px; overflow: auto;" id="TOC_KINX2013120077_12"></div> </td> </tr> <tr> <td class="cell"> <a href="javascript:searchInnerDetail('KINX2013120091', 'Y')" title="Tình hình phat giáo viet nam : can và hien đai"> Tình hình phat giáo viet nam : can và hien đai </a> </td> <td> Tran Hong Liên </td> <td> pp.463-497 </td> <td> <p> <button class="btnD ty1 readonly disabled" onclick="viewDoc(this, 'KINX2013120091', '1')" title="원문보기 (음성지원, 협정기관 방문 후 이용 가능 )" onmouseover="javascript:displayTip(this,'음성지원, 협정기관 방문 후 이용 가능합니다.');" > <i class="ic_pdf13 gray cursor readonly"></i>원문보기 </button> </p> </td> <td> <a href="#none" class="more" title="기사목차보기" onclick="viewToc(this, 'KINX2013120091', '13')">보기</a> </td> </tr> <tr class="tocViewWrap" style="display: none;"> <td class="cell" colspan="5"> <div class="box2" style="display:flex;flex-direction:column;height: 100px; overflow: auto;" id="TOC_KINX2013120091_13"></div> </td> </tr> <tr> <td class="cell"> <a href="javascript:searchInnerDetail('KINX2013120095', 'Y')" title="근대 돈황학의 성립과 오리엔탈리즘"> 근대 돈황학의 성립과 오리엔탈리즘 </a> </td> <td> 황순일 </td> <td> pp.499-517 </td> <td> <p> <button class="btnD ty1 readonly disabled" onclick="viewDoc(this, 'KINX2013120095', '1')" title="원문보기 (음성지원, 협정기관 방문 후 이용 가능 )" onmouseover="javascript:displayTip(this,'음성지원, 협정기관 방문 후 이용 가능합니다.');" > <i class="ic_pdf13 gray cursor readonly"></i>원문보기 </button> </p> </td> <td> <a href="#none" class="more" title="기사목차보기" onclick="viewToc(this, 'KINX2013120095', '14')">보기</a> </td> </tr> <tr class="tocViewWrap" style="display: none;"> <td class="cell" colspan="5"> <div class="box2" style="display:flex;flex-direction:column;height: 100px; overflow: auto;" id="TOC_KINX2013120095_14"></div> </td> </tr> <tr> <td class="cell"> <a href="javascript:searchInnerDetail('KINX2013120099', 'Y')" title="불교 무형문화의 자산과 콘텐츠 가치에 대한 고찰 : 사하촌, 불교 일생의례, 불교 세시풍속을 중심으로"> 불교 무형문화의 자산과 콘텐츠 가치에 대한 고찰 : 사하촌, 불교 일생의례, 불교 세시풍속을 중심으로 </a> </td> <td> 구미래 </td> <td> pp.519-549 </td> <td> <p> <button class="btnD ty1 readonly disabled" onclick="viewDoc(this, 'KINX2013120099', '1')" title="원문보기 (음성지원, 협정기관 방문 후 이용 가능 )" onmouseover="javascript:displayTip(this,'음성지원, 협정기관 방문 후 이용 가능합니다.');" > <i class="ic_pdf13 gray cursor readonly"></i>원문보기 </button> </p> </td> <td> <a href="#none" class="more" title="기사목차보기" onclick="viewToc(this, 'KINX2013120099', '15')">보기</a> </td> </tr> <tr class="tocViewWrap" style="display: none;"> <td class="cell" colspan="5"> <div class="box2" style="display:flex;flex-direction:column;height: 100px; overflow: auto;" id="TOC_KINX2013120099_15"></div> </td> </tr> <tr> <td class="cell"> <a href="javascript:searchInnerDetail('KINX2013120103', 'Y')" title="閔漬와 楡岾寺 五十三佛의 成立"> 閔漬와 楡岾寺 五十三佛의 成立 </a> </td> <td> 김민구 </td> <td> pp.551-588 </td> <td> <p> <button class="btnD ty1 readonly disabled" onclick="viewDoc(this, 'KINX2013120103', '1')" title="원문보기 (음성지원, 협정기관 방문 후 이용 가능 )" onmouseover="javascript:displayTip(this,'음성지원, 협정기관 방문 후 이용 가능합니다.');" > <i class="ic_pdf13 gray cursor readonly"></i>원문보기 </button> </p> </td> <td> <a href="#none" class="more" title="기사목차보기" onclick="viewToc(this, 'KINX2013120103', '16')">보기</a> </td> </tr> <tr class="tocViewWrap" style="display: none;"> <td class="cell" colspan="5"> <div class="box2" style="display:flex;flex-direction:column;height: 100px; overflow: auto;" id="TOC_KINX2013120103_16"></div> </td> </tr> </tbody> </table> </div> </div> <!-- //popArticle_ui --> <div class="titg"> <h3> 참고문헌 (6건) : 자료제공( <a class="iBlue" href="http://academic.naver.com" target="_blank" title="네이버학술정보">네이버학술정보</a> ) </h3> </div> <div class="tblCol_box fold"> <div class="tbl_col"> <table> <caption>참고문헌 목록에 대한 테이블로 번호, 참고문헌, 국회도서관 소장유무로 구성되어 있습니다.</caption> <colgroup> <col width="7%"> <col> <col width="15%"> </colgroup> <thead> <tr> <th scope="col">번호</th> <th scope="col">참고문헌</th> <th scope="col" data-breakpoints="xs sm">국회도서관 소장유무</th> </tr> </thead> <tbody> <tr> <td>1</td> <td class="tl" >代宗朝贈司空大辨正廣智三藏和上表制集(大正藏 52).</td> <td>미소장</td> </tr> <tr> <td>2</td> <td class="tl" >大乘瑜伽金剛性海曼殊室利千臂千鉢大敎王經(大正藏 20).</td> <td>미소장</td> </tr> <tr> <td>3</td> <td class="tl" >高楠順次郞, 「慧超往五天竺國傳に就いて」, 佛書硏究 제9집, 1915.</td> <td>미소장</td> </tr> <tr> <td>4</td> <td class="tl" >高柄翊, 東아시아의 文化史論考 (서울:서울대학교출판부, 1997)</td> <td>미소장</td> </tr> <tr> <td>5</td> <td class="tl" >伽山佛敎文化硏究院 編, 世界精神을 탐험한 위대한 한국인 慧超 (문화관광부 선정 1999년 2월의 문화인물 혜초스님 기념 학술세미나 자료집), 1999.</td> <td>미소장</td> </tr> <tr> <td>6</td> <td class="tl" > <a class="iBlue" href="javascript:searchInnerDetail('KINX2001012409','Y')" title="간략보기">密敎僧 慧超의 一考</a> </td> <td>소장</td> </tr> </tbody> </table> </div> <button class="btn_triger" type="button">더 보기</button> </div> </div><!-- //views --> <script> $(document).ready(function() { $("#chkAll").click(function(){ $("input[name=chk]").prop("checked", $(this).is(":checked")); }); }); </script> <div class="btng_sort type"> <div> <button class="btnS ty1" type="button" onclick="location.href='&hanjaYnByDetail=Y&hanjaYn=Y'"> <i class="ic_index"></i> 목록으로 </button> </div> <div> <button class="btnS ty1" type="button" onclick="javascript:loanBasketInsert('R','KINX2013120035');" title="야간이용신청"> <i class="ic_addList"></i> 야간이용신청 </button> <button class="btnS ty1" type="button" onclick="javascript:searchInnerDetail('KINX2013120035', 'N');" title="한자 한글변환"> <i class="ic_trans"></i> 한자 → 한글 </button> <button class="btnS ty1" type="button" title="MARC" onclick="viewMARC('KINX2013120035'); return false;"> <i class="ic_marc"></i>MARC </button> <div class="btnView_box"> <button class="btnS ty1" type="button"><i class="ic_view"></i>더 보기</button> <div class="pop_moreView" style="display:none"> <ul> <li> <button class="btnS ty1" type="button" onclick="fn_myLibrary('KINX2013120035');" title="내서재담기"> <i class="ic_library"></i>내 서재 담기 </button> </li> <li> <button class="btnS ty1" type="button" onclick="javascript:viewNoticeTalk('KINX2013120035');" title="알림톡 발송"> <i class="ic_addPost"></i> 알림톡 발송 </button> </li> <li> <button class="btnS ty1" type="button" onclick="javascript:insertPostCopyPrepare('KINX2013120035','11','KINX');" title="우편복사 목록담기"> <i class="ic_addPost"></i> 우편복사 목록담기 </button> </li> <li> <button class="btnS ty1" type="button" id="errors" onclick="javascript:viewWorngDataReg('KINX2013120035');"> <i class="ic_error"></i> 오류신고 </button> <li> </ul> </div> </div> </div> </div> <div class="views"> <div class="titg"> <h3>추천서가 <span>(다양한 추천 자료를 만나보세요)</span></h3> </div> <div class="viewTabs" id="recommendTab"> <ul> <li> <a href="#none;" onclick="recommendList(this, 'KINX2013120035', 'PERIOD');"> 요즘 인기자료 <div class="help_box"> <button class="btn_help" type="button">도움말</button> <div class="layer_help"> 일간 인기는 매일 새벽 2시에 갱신합니다.<br /> 주간 인기는 매주 월요일 새벽 2시에 갱신합니다.<br /> 월간 인기는 매월 1일 새벽 2시에 갱신합니다. </div> </div> </a> </li> <li> <a href="#none;" onclick="recommendList(this, 'KINX2013120035', 'STEADY');"> 꾸준 인기도서 <div class="help_box"> <button class="btn_help" type="button">도움말</button> <div class="layer_help"> 꾸준 인기자료는 매주 월요일 새벽 2시에 갱신합니다. </div> </div> </a> </li> <li> <a href="#none;" onclick="recommendList(this, 'KINX2013120035', 'DDC');"> 주제 인기도서 <div class="help_box"> <button class="btn_help" type="button">도움말</button> <div class="layer_help"> 주제 인기도서는 매주 월요일 새벽 2시에 갱신합니다. </div> </div> </a> </li> </ul> </div> <div class="viewTabs_content viewHot_box recmdDiv" id="PERIOD_RECMD" style="display: none;"> </div> <div class="viewTabs_content bookViews_slider recmdDiv" id="STEADY_RECMD" style="display: none;"> </div> <div class="viewTabs_content bookViews_slider recmdDiv" id="CHILD_RECMD" style="display: none;"> </div> <div class="viewTabs_content bookViews_slider recmdDiv" id="BRANCH_RECMD" style="display: none;"> </div> <div class="viewTabs_content bookViews_slider recmdDiv" id="DDC_RECMD" style="display: none;"> </div> </div> </div> </div> </div> </div> <div class="imgPreview oneCoverThums" id="coverOneImg" style="display:none"> <div class="popup"> <button class="close" type="button">닫기</button> <div class="slider"> <div class="img"> <img src="" id="orgCoverOneImg" alt="도서 표지" /> </div> </div> </div> </div> <!-- 레이어팝업 : MARC --> <div id="marc" class="modal"> <div class="dataPopup_ui"> <div class="popup"> <button class="close" type="button" onclick="closeSearchDeatilModal();">닫기</button> <div class="had"> <h1>MARC 보기</h1> </div> <div class="body mark"> <table> <tbody id="marcContents"> <!-- ajax 데이터 처리 --> </tbody> </table> </div> <div class="btn_block"> <button type="button" class="btnD1" id="downloadMARC" title="MARC 내려받기">MARC 내려받기</button> <button type="button" class="btnD4" id="closeMARC" title="닫기" onclick="closeSearchDeatilModal();">닫기</button> </div> </div> </div> </div> <!-- start : 오류신고 레이어 팝업 --> <div id="wrongDataReport" class="modal"> <div class="dataPopup_ui"> <div class="popup"> <button class="close" type="button" onclick="closeSearchDeatilModal();">닫기</button> <div class="had"> <h1>오류 데이터 정정요청</h1> </div> <div class="body"> <p class="txt_required"><strong>*</strong>표시는 필수 입력사항입니다.</p> <div class="form"> <form id="wrongDataForm" name="wrongDataForm" action=""> <input type="hidden" id="wrongDataUserId" name="wrongDataUserId"> <input type="hidden" id="wrongDataDbDiv" name="wrongDataDbDiv"> <table> <caption>오류데이터신고 테이블로 자료명, 저자사항, 제어번호, 요청자이름, 전화번호, 이메일, 요청내용, 오류항목으로 구성되어 있습니다.</caption> <colgroup> <col width="200px" /> <col width="" /> </colgroup> <tbody> <tr> <th scope="row">자료명</label></th> <td> <input type="text" id="wrongDataTitle" name="wrongDataTitle" disabled="disabled" class="inputNone" title="자료명"/> </td> </tr> <tr> <th scope="row">저자사항</label></th> <td> <input type="text" id="wrongDataAuthor" name="wrongDataAuthor" disabled="disabled" class="inputNone" title="저자사항"/> </td> </tr> <tr> <th scope="row">제어번호</label></th> <td> <input type="text" id="wrongDataControlNo" name="wrongDataControlNo" disabled="disabled" class="inputNone" title="제어번호"/> </td> </tr> <tr> <th scope="row"><label for="fName"><strong>*</strong>요청자 이름</label></th> <td> <input type="text" class="size3" id="wrongDataUserName" name="wrongDataUserName" title="요청자이름"/> <span class="txt2"> <span class="chk_box"> <input type="checkbox" title="회신요청" id="reqReply" name="reqReply" onclick="showHiddenReplyInfo(this)"/><label for="reqReply">회신요청</label> </span> </span> </td> </tr> <tr id="replyInfoTel" style="display:none;"> <th scope="row"><label for="fPhone"><strong>*</strong>전화번호</label></th> <td> <input type="text" class="size3" id="wrongDataUserTel" name="wrongDataUserTel" title="전화번호" placeholder="010-1234-1234"/> <span class="txt2">휴대폰 번호를 입력하세요.</span> </td> </tr> <tr id="replyInfoEmail" style="display:none;"> <th scope="row"><label for="fEmail"><strong>*</strong>이메일</label></th> <td> <div class="col3"> <input type="text" class="size1" id="wrongDataUserEmailId" name="wrongDataUserEmailId" title="이메일 아이디"/> <span class="part">@</span> <input type="text" class="size2" id="wrongDataUserEmailDomain" name="wrongDataUserEmailDomain" title="도메인"/> <select class="size4" id="selEmailDomain" name="selEmailDomain" onchange="changeUserEmail();" title="이메일 선택"> <option value="" selected="selected">직접입력</option> <option value='gmail.com'>gmail.com</option> <option value='naver.com'>naver.com</option> <option value='hanmail.net'>hanmail.net</option> <option value='daum.net'>daum.net</option> <option value='icloud.com'>icloud.com</option> <option value='hotmail.com'>hotmail.com</option> <option value='outlook.com'>outlook.com</option> <option value='nate.com'>nate.com</option> </select> </div> </td> </tr> <tr> <th scope="row"><label for="fMemo"><strong>*</strong>요청내용</label></th> <td> <textarea id="wrongDataReqContents" name="wrongDataReqContents" title="요청내용" class="hsize2"></textarea> </td> </tr> <tr> <th scope="row"><label for="fItem"><strong>*</strong>오류항목</label></th> <td> <select class="size3" id="selWongDataReportType" name="selWongDataReportType" title="오류항목 선택"> <option value="" selected="selected">선택하세요.</option> <option value="9">시스템 오류 및 기타</option> <option value="10">서지(제목,저자 등)</option> <option value="11">원문(초록,목차 등)</option> </select> </td> </tr> </tbody> </table> </form> </div> <div class="btn_block type"> <button type="button" class="btnD1" title="오류데이터 정정요청" onclick="requestWrongDataReport();">오류데이터 정정요청</button> <button type="button" class="btnD4" title="다시쓰기" onclick="rewriteWrongDataReport();">다시쓰기</button> </div> </div> </div> </div> </div> <!-- end : 오류신고 레이어 팝업 --> <!-- * 2024 개발 퍼블리싱 화면 없어서 임시 CSS --> <style> #noticeTalk.modal .dataPopup_ui .body .tbl_col tbody tr th { border-right: 1px solid #cacaca; background: #f9f9f9; } #noticeTalk.modal span.red { color: #ee145b; margin-right: 5px; } </style> <!-- 레이어팝업 : 알람톡 발송 --> <div id="noticeTalk" class="modal height"> <input type="hidden" id="tmp_template_code" name="tmp_template_code" value="NADL_0009" /> <div class="dataPopup_ui"> <div class="popup fluid"> <button class="close" type="button" onclick="doCloseNoticeTalkPop();">닫기</button> <div class="had"> <h1>알림톡 발송</h1> </div> <div class="body"> <div class="tbl_col"> <table> <caption class="skip">알림톡 발송로 자료명, 기사명/저자명, 수록지명, 자료실, 서가번호, 전화번호로 구성되어 있습니다.</caption> <colgroup> <col width="30%"> <col /> </colgroup> <tbody> <tr> <th scope="row" id="header"></th> <td class="tl tg-left" id="contents"></td> </tr> <tr id="collection"> <th scope="row"></th> <td class="tl tg-left"></td> </tr> <tr id="pds"> <th scope="row"></th> <td class="tl tg-left"></td> </tr> <tr id="giho"> <th scope="row"></th> <td class="tl tg-left"></td> </tr> <tr> <th scope="row">전화번호</th> <td class="tl pd tg-left dis-grid"> <span id="user_tel"></span> </td> </tr> </tbody> </table> </div> <span style="font-size: 14px;">※ 전화번호는 『My Library>개인정보 수정』에서 변경 가능합니다.</span> <br><a href="https://nanet.go.kr/member/reqModPwd.do" title="개인정보 수정 바로가기 (이동)"><span style="font-size: 14px;text-decoration: underline;">개인정보 수정 바로가기</span></a> <div id="kakaoTemplate" style="display:none;"> <textarea cols="100%" id="TEMPLATE_TEXT" name="TEMPLATE_TEXT" rows="10" style="width:100%; padding:5px;" title="알림톡 내용" class="" readonly="readonly"> </textarea> <p id="VARIABLE_LIST"></p> <!-- ajax setting --> </div> <div class="btn_block type"> <a href="#" onclick="javascript:fn_sendKakao();" class="btnM3" title="알림톡 발송하기">알림톡 발송하기</a> <!-- <a href="#close-modal" rel="modal:close" class="btnD btn4" title="닫기">닫기</a> --> </div> </div> </div> </div> <script type="text/javascript"> var systemId = 'nadl'; // 발신자 겸 관리자 아이디 var systemtel = '0267884181'; // 발신자 전화번호 var template_code = 'NADL_0009';// templateChange()를 호출하면서 저장할 템플릿코드 var str = ''; // 템플릿 내용 세팅을 위해 필요한 코드 패턴: NADL_0000 var isEqual = ['0009', '0010']; // 일치 조건 설정 (여기만 수정하면 됨) // 자료실 및 문의전화 (여기만 수정하면 됨) var expArr = [/대출대/, /열람실/, /논문실/, /자료실/, /정보센터/, /간행물실/, /방/]; var telArr = ['02-6788-4181', '02-6788-4181', '02-6788-4181', '02-6788-4181', '02-6788-4181', '02-6788-4181', '02-6788-4181']; /* 전화번호 패턴 체크 */ function telCheck(str) { return (/^01([0|1|6|7|8|9]?)?([0-9]{7,8})$/.test(str)); } /* 2019-08-01 syz 추가 시작 */ // 알림톡 발송으로 대체 function fn_sendKakao() { // 필수 파라미터 var CALLBACK = systemtel; // 발신자 전화번호 var SUBJECT = "국회도서관 발신";//$("#TEMPLATE_LIST option:selected").text(); // 템플릿명 대신 제목 하드코딩 var TEXT = refreshTemplateText("submit"); // 템플릿 내용 var TEXT_TYPE = $("#TEXT_TYPE").val(); // 0: plain, 1: html var MSG_TYPE = $("#MSG_TYPE").val(); // 5: SMS 알림톡, 7: LMS 알림톡 var TEMPLATE_CODE = $("#tmp_template_code").val(); // 템플릿코드 //수록지명이 없거나 자료실 둘다 없는 경우 : NADL_0009 , 수록지명 있는 경우 : NADL_0010 // 전송 $.ajax({ url : "/result/kakaoTalkSend.do",//"http://10.201.38.15:8080/send/msg.do" type : "POST", dataType : "JSON",//XML, HTML, SCRIPT, JSON, JSONP, TEXT data : {"controlNo":"KINX2013120035"}, cache : false, success : function(result) { if(result.RESULT_CODE == "200") { alert('알림톡 발송에 성공하였습니다.'); } else { alert(result.RESULT_MESSAGE); } // $("#user_tel").val(''); $.modal.close(); }, error : function(request, status, error) { alert('알림톡 발송에 실패하였습니다.'); } }); } // 페이지 세팅 function initPage() { // 텍스트타입 기본설정 $("#TEXT_TYPE").val("0"); // SMS,LMS byte 설정 (여기만 수정하면됨) $("#SMS_MAX").val("140"); // SMS 최대 byte(한글 70자) $("#LMS_MAX").val("4000"); // LMS 최대 byte(한글 1000자) } // 템플릿명 변경 function templateChange() { $("#TEMPLATE_TEXT").empty(); // 템플릿 내용(hidden) 비우기 $("#VARIABLE_LIST ~ p").remove(); // 변수 삭제 var hCollection = $('#hCollection').val().trim();// 수록지명 if(hCollection != ''){ template_code = "NADL_0010"; } $("#tmp_template_code").val(template_code); // 실제 카카오 템플릿 내용 세팅 // 콤보 박스에 옵션만 추가 또는 수정하고 여기서 isEqual, result만 하드코딩으로 추가 또는 수정 str = template_code.substr(5, 4); // 템플릿코드에서 4자리 숫자 추출 var result = ''; if(str == isEqual[0]){ result = '[국회전자도서관 자료 정보]\n국회전자도서관에서 요청하신 자료 정보입니다.\n\n#\{변수1\} : #\{변수2\}\n자료실 : #\{변수3\}\n청구기호 : #\{변수4\}\n\n문의 : #\{변수5\}'; setTemplateText(result); // 템플릿 내용 setVariableList(result); // 변수 }else if(str == isEqual[1]){ result = '[국회전자도서관 자료 정보]\n국회전자도서관에서 요청하신 자료 정보입니다.\n\n기사명/저자명 : #\{변수1\}\n수록지명 : #\{변수2\}\n자료실 : #\{변수3\}\n서가번호 : #\{변수4\}\n\n문의 : #\{변수5\}'; setTemplateText(result); // 템플릿 내용 setVariableList(result); // 변수 } } // 템플릿 내용 세팅 function setTemplateText(result) { var appendHtml = result; $("#TEMPLATE_TEXT").empty(); $("#TEMPLATE_TEXT").html(appendHtml); } // 변수 세팅 function setVariableList(result) { var text = result; var textArr = text.split("#"); var variableCount = textArr.length - 1; // 변수 개수 $("#VARIABLE_LIST ~ p").remove(); // 기존 생성된 변수 삭제 var appendHtml = ""; var lngth = 70; // 표시할 글자수 // 변수 input값 세팅 var hHeader = $('#hHeader').val().trim(); var hContents = $('#hContents').val().trim(); // 콘텐츠가 너무 길 경우 말줄임표 if(hContents.length > lngth){ hContents = hContents.substr(0, lngth)+'...';// 지정한 글자수 이후 표시할 말줄임표 } var hCollection = $('#hCollection').val().trim();// 수록지명 var hPds = $('#hPds').val().trim(); // 자료실 if(hPds == ''){ hPds = '해당없음'; } var hGiho = $('#hGiho').val().trim(); // 청구기호 var qnaTel = ''; // 자료실별 문의전화 // 정규식을 통해 자료실별 문의전화 세팅 for (var i=0; i < expArr.length; i++) { if(expArr[i].test(hPds)){ //console.log(expArr[i]+"에 해당"); qnaTel = telArr[i]; }else{ qnaTel = telArr[0]; // 해당하는 자료실이 없을 경우 } } // 2019-11-12 자료구분이 KINX일 경우 청구기호를 서가번호로 대체(수록지여부로 수정) if(hCollection != ''){ hGiho = $('#hBookShelfNo').val().trim(); } for (var index=0; index < variableCount; index++) { /* 템플릿 내용에 들어있는 변수 개수에 따라 count 조건문 개수도 달라집니다! 반드시 템플릿의 변수 개수를 체크하세요! 변수에 할당되는 값이 잘못될 수 있습니다! */ var count = parseInt(index)+1;// 변수 번호 (1부터 시작) appendHtml += "<p>"; appendHtml += "<span><b style='color: red;'>*</b><b id='VARIABLE_NM"+count+"'>변수"+count+"</b></span>  "; // 콤보 박스에 옵션이 추가 또는 수정되면 여기서 isEqual 이하 조건문 추가 또는 수정 // 자료 유형에 따라 hHeader, hContents, hCollection, hPds, hGiho 조건문 설정 if(str == isEqual[0]){ if(count == 1){ appendHtml += "<span id='VARIABLE_CD"+count+"' style='line-height: 1.5;'>"+hHeader+"</span>"; } if(count == 2){ appendHtml += "<span id='VARIABLE_CD"+count+"' style='line-height: 1.5;'>"+hContents+"</span>"; } if(count == 3){ appendHtml += "<span id='VARIABLE_CD"+count+"' style='line-height: 1.5;'>"+hPds+"</span>"; } if(count == 4){ appendHtml += "<span id='VARIABLE_CD"+count+"' style='line-height: 1.5;'>"+hGiho+"</span>"; } if(count == 5){ appendHtml += "<span id='VARIABLE_CD"+count+"' style='line-height: 1.5;'>"+qnaTel+"</span>"; } }else if(str == isEqual[1]){ if(count == 1){ appendHtml += "<span id='VARIABLE_CD"+count+"' style='line-height: 1.5;'>"+hContents+"</span>"; } if(count == 2){ appendHtml += "<span id='VARIABLE_CD"+count+"' style='line-height: 1.5;'>"+hCollection+"</span>"; } if(count == 3){ appendHtml += "<span id='VARIABLE_CD"+count+"' style='line-height: 1.5;'>"+hPds+"</span>"; } if(count == 4){ appendHtml += "<span id='VARIABLE_CD"+count+"' style='line-height: 1.5;'>"+hGiho+"</span>"; } if(count == 5){ appendHtml += "<span id='VARIABLE_CD"+count+"' style='line-height: 1.5;'>"+qnaTel+"</span>"; } } appendHtml += "</p>"; } $("#kakaoTemplate").append(appendHtml); keyDownVariable();// 변수입력 이벤트 여기서 call } // 변수 입력 키다운 이벤트 function keyDownVariable() { refreshTemplateText("change"); } // 템플릿 내용 변환 function refreshTemplateText(val) { var text = $("#TEMPLATE_TEXT").val(); var textArr = text.split("#"); var variableCount = textArr.length-1; for (var index=0; index < variableCount; index++) { var count = parseInt(index)+1; var v_cd = $("#VARIABLE_CD"+count).text(); var v_nm = $("#VARIABLE_NM"+count).text(); // 변수 input값 변환 이벤트 if(val == "change") { if(v_cd != null || v_cd != "") { text = text.replace("#\{"+v_nm+"\}",v_cd); } } } if(val == "change") { // 변환 $("#TEMPLATE_TEXT").empty(); $("#TEMPLATE_TEXT").append(text); // 템플릿 내용 변환 setTemplateByte(fnChkByte(text)); // byte에 따른 값 세팅 } else if (val == "submit") { // 전송 return text; // 템플릿 내용 리턴 } } // byte 체크 function fnChkByte(obj){ var str = obj; var str_len = str.length; var rbyte = 0; var one_char = ""; for(var i=0; i<str_len; i++){ one_char = str.charAt(i); if(escape(one_char).length > 4){ rbyte += 3; // 한글 3byte }else{ rbyte++; // 영문 등 나머지 1byte } } return parseInt(rbyte); } // 템플릿 내용 byte 세팅 function setTemplateByte(rbyte) { var SMS_MAX = $("#SMS_MAX").val();// SMS 최대 byte // SMS, LMS 변경 세팅 if(rbyte > SMS_MAX) { $("#MSG_TYPE").val("7"); } else { $("#MSG_TYPE").val("5"); } } /* 2019-08-01 syz 추가 종료 */ function init() { initPage(); templateChange(); } </script> </div> <!-- 레이어팝업 : 권호기사 --> <div id="article" class="modal"> <div class="dataPopup_ui"> <div class="popup"> <button class="close" type="button" onclick="$.modal.close();">닫기</button> <div class="had"> <h1>권호기사보기</h1> </div> <div class="body"> <div class="tbl_col scroll"> <table> <caption>권호기사 목록 테이블로 기사명, 저자명, 페이지, 원문, 기사목차 순으로 되어있습니다.</caption> <colgroup> <col> <col width="12%"> <col width="15%"> <col width="20%"> <col width="10%"> </colgroup> <thead class="txtCenter"> <tr> <th scope="col">기사명</th> <th scope="col">저자명</th> <th scope="col" data-breakpoints="xs">페이지</th> <th scope="col" data-breakpoints="xs sm">원문</th> <th scope="col" data-breakpoints="xs sm md">기사목차</th> </tr> </thead> <tbody id="articleContents"> <!-- ajax 데이터 처리 --> </tbody> </table> </div> <div class="btn_block type"> <button class="btnD1" onclick="$.modal.close();" type="button">닫기</button> </div> </div> </div> </div> </div> <script type="text/javascript"> $(document).ready(function(){ $("#loanSerlPopupList #volumnChkAll").click(function(){ if($("#loanSerlPopupList #volumnChkAll").is(":checked")){ $("#loanSerlPopupList .chk").each(function(){ if(!$(this).attr('disabled')){ $(this).prop("checked", true); } }); $("#loanSerlPopupList #volumnChkAll").prop('checked', true); } else { $("#loanSerlPopupList .chk").prop("checked", false); $("#loanSerlPopupList #volumnChkAll").prop('checked', false); } }); }); function searchButton(){ selectSerlVolumnList($('#loanSerlPopupList input[name="loanGubun"]').val(), $('#loanSerlPopupList input[name="check_cn"]').val(), $('#loanSerlPopupList #year').val()); } </script> <a id="btnLoanSerlPopupOpen" href="#loanSerlPopupList" rel="modal:open" class="dNone" title="연속간행물 팝업 열기" style="display: none;">연속간행물 팝업 열기</a> <div id="loanSerlPopupList" class="dataPopup_ui" style="display: none;"> <input type="hidden" name="loanGubun" value=""/> <input type="hidden" name="check_cn" value=""/> <input type="hidden" name="current_year" value=""/> <div class="popup"> <a class="close" type="button" href="#loanSerlPopupList" rel="modal:close">닫기</a> <div class="had"> <h1>연속간행물 권호 선택</h1> </div> <div class="body out_btn"> <div class="form"> <table> <caption class="skip">연속간행물 상세정보 입니다.</caption> <colgroup> <col width="200px" /> <col width="" /> </colgroup> <tbody> <tr> <th scope="row">청구기호</th> <td class="tl" id="callNo"></td> </tr> <tr> <th scope="row">자료명/저자사항</th> <td class="tl" id="title"></td> </tr> <tr> <th scope="row">발행사항</th> <td class="tl" id="pub"></td> </tr> <tr> <th scope="row">형태사항</th> <td class="tl" id="page"></td> </tr> <tr> <th scope="row">ISSN</th> <td class="tl" id="issn"></td> </tr> </tbody> </table> <!-- // table --> <dl class="form_data" style="margin:30px 0px 15px 0px;"> <div> <dd> <b> </b>   </dd> <dd> <select id="year" name="pubYear" title="연도 선택" class="size5"> </select> <button type="button" class="btnM2" title="조회" value="조회" onclick="javascript:searchButton();">조회</button> </dd> </div> </dl> <!-- // form_data --> </div> <!-- // form DIV --> <div class="tbl_col" id="dataTable"> <table> <caption>권호 정보를 보여주는 표이며 번호, 발행일자, 권호명, 제본정보, 자료실, 원문 순으로 되어있습니다.</caption> <colgroup> <col width="9%"> <col width="15%"> <col width="*"> <col width="15%"> <col width="15%"> <col width="8%"> </colgroup> <thead> <tr> <th scope="col"><span class="chk_box type"><input type="checkbox" name="check" id="volumnChkAll" /><label for="volumnChkAll">전체 선택</label></span></th> <th scope="col">발행일자</th> <th scope="col">권호명</th> <th scope="col">제본정보</th> <th scope="col">자료실</th> <th scope="col">원문</th> </tr> </thead> <tbody></tbody> </table> </div> <!-- // tbl_col--> </div> <!-- // body --> <!-- btn_block type --> <div class="btn_block type"> <div id="btn_r" style="display: inline-block;"> <button type="button" title="야간이용신청목록담기" class="btnD2" onclick="javascript:loanBasketInsertSerl('R');"/>야간이용신청목록담기</button> </div> <div id="btn_b" style="display: inline-block;"> <button type="button" value="야간이용신청목록담기" class="btnD2" onclick="javascript:loanBasketInsertSerl('R');"/>야간이용신청목록담기</button> </div> <div id="btn_l" style="display: inline-block;"> <button type="button" title="열람신청목록담기" class="btnD2" onclick="javascript:loanBasketInsertSerl('L');"/>열람신청목록담기</button> </div> <div id="btn_o" style="display: inline-block;"> <button type="button" title="열람신청목록담기" class="btnD2" onclick="javascript:loanBasketInsertSerl('L');"/>열람신청목록담기</button> <button type="button" title="국회의원실 간편 대출서비스 목록담기" class="btnD2" onclick="javascript:loanBasketInsertSerl('O');"/>국회의원실 간편 대출서비스 목록담기</button> </div> <button class="btnD4" type="button" onclick="$.modal.close();">닫기</button> </div> <!-- // btn_block type --> </div> <!-- // popup --> </div> <!-- // dataPopup_ui --> <script type="text/javascript"> $(document).ready(function(){ $("#postSerlPopupList #chkAll").click(function(){ if($("#postSerlPopupList #chkAll").is(":checked")){ $("#postSerlPopupList .chk").each(function(){ if(!$(this).attr('disabled')){ $(this).prop("checked", true); $(this).parent().parent().parent().find("input[name=postSerlPageCnt]").prop("disabled", false); } }) } else { $("#postSerlPopupList .chk").prop("checked", false); $("#postSerlPopupList input[name=postSerlPageCnt]").each(function(){ $(this).prop("disabled", true); }) } }); }); function postSerlPageCntToggle(obj){ // 체크 되면 인풋 활성화 if( $(obj).is(":checked") ){ $(obj).parent().parent().parent().find("input[name=postSerlPageCnt]").prop("disabled", false); // 체크 풀면 인풋 비활성화 } else { $(obj).parent().parent().parent().find("input[name=postSerlPageCnt]").prop("disabled", true); } } function postSerlSearchButton(){ selectPostSerlVolumnList($('#postSerlPopupList input[name="check_cn"]').val(), $('#postSerlPopupList #year').val()); } </script> <style> #dataTable input[type='text'] { width:100px; } #dataTable thead { text-align:center; } #dataTable thead tr th { font-size:18px; } #dataTable .chk_box label:before { top:1px !important; } </style> <a id="btnPostSerlPopupOpen" href="#postSerlPopupList" rel="modal:open" class="dNone" title="연속간행물 팝업 열기" style="display: none;">연속간행물 팝업 열기</a> <div id="postSerlPopupList" class="modal height serial"> <input type="hidden" name="loanGubun" value=""/> <input type="hidden" name="check_cn" value=""/> <input type="hidden" name="current_year" value=""/> <div class="dataPopup_ui popArticle_ui"> <div class="popup"> <button class="close" type="button" onclick="doCloseNoticeTalkPop();">닫기</button> <div class="had"> <h1>연속간행물 권호 선택</h1> </div> <div class="body"> <div id="form_data"> <h3 style="margin: 10px 0;">우편복사 안내</h3> <div class="notice grayBox mb30"> <ul> <li> <span class="tit"> ◾ </span> <span class="con">도서관을 방문하지 못할 경우 인터넷, 팩스 등으로 자료 복사를 신청하고, 복사물을 우편·팩스 등으로 제공받는 서비스</span> </li> <li> <span class="tit"> ◾ </span> <span class="con">대상자료: 일반도서, 연속간행물 및 학위논문</span> </li> <li> <span class="tit" style="font-size:10px;"> ※ </span> <span class="con">고서, 고잡지, 훼손될 우려가 있는 자료, 마이크로폼 자료 및 신문 등 제외</span> </li> <li> <span class="tit"> ◾ </span> <span class="con">신청 책수: 1인 5책 이하(1일 기준)</span> </li> <li> <span class="tit"> ◾ </span> <span class="con">신청 절차: 자료 검색 → 우편복사 목록담기 → 복사 범위 입력 → 우편복사 주문서 입력 → 접수 및 확인</span> </li> <li style="margin-top: 15px;"> <span class="tit" style="font-weight: bold; font-size:10px;"> ※ </span> <span class="con" style="font-weight: bold;">저작권법에 의거하여 부분 복사(전체 페이지 수의 1/3 범위 이내)만 가능</span> </li> <li> <span class="tit"> ◾ </span> <span class="con">복사 범위 입력 예시: (연속 페이지) 1-30, (부분 페이지) 25, 30-40</span> </li> </ul> </div> </div> <div class="btn_block type search" style="padding-left:0; text-align:left;"> <select id="year" name="pubYear" class="select2" title="연도 선택"></select> <input type="button" class="btnM3" title="조회" value="조회" onclick="postSerlSearchButton();"/> </div> <div class="tbl_col"> <table id="dataTable"> <caption class="skip">권호 정보를 보여주는 표이며 번호, 발행일자, 권호명, 제본정보, 자료실, 원문 순으로 되어있습니다.</caption> <colgroup> <col width="10%"> <col> <col> <col width="10%"> <col> <col width="10%"> <col> </colgroup> <thead> <tr> <th scope="col"> <span class="chk_box type"> <input type="checkbox" title="전체선택" name="chk" id="chkAll" /> <label for="chkAll">전체 선택</label> 번호 </span> </th> <th scope="col">발행일자</th> <th scope="col">권호명</th> <th scope="col">제본정보</th> <th scope="col">자료실</th> <th scope="col">원문</th> <th scope="col">신청 페이지</th> </tr> </thead> <tbody> </tbody> </table> </div> <div class="btn_block type"> <div id="btn_o"> <input type="button" title="우편복사 목록담기" value="우편복사 목록담기" class="btnM3" onclick="javascript:insertPostCopySerl();"/> </div> </div> </div> </div> </div> </div> <div id="bookLocationInfo" class="modal"> <div class="dataPopup_ui"> <div class="popup"> <button class="close" onclick="closeSearchDeatilModal();" type="button">닫기</button> <div class="had"> <h1>도서위치안내(서울관)</h1> </div> <div class="body"> <p class="txt">도서위치안내: 정기간행물실(524호) / 서가번호: 대학01</p> <p class="txt" style="margin-top: -10px; color: red">2021년 이전 정기간행물은 온라인 신청(원문 구축 자료는 원문 이용)</p> <div class="locImgArea"> <img id="locationImg" src="/images/ko/CoverPreView.png" alt="도서위치안내" /> </div> </div> <div class="btn_block type"> <button class="btnD1" onclick="closeSearchDeatilModal();" type="button">닫기</button> </div> </div> </div> </div> <div id="refdImg" class="modal"> <div class="dataPopup_ui"> <div class="popup" style="position: absolute;"> <div class="body"> <img src="" id="orgREFDImg" onerror="thumbImageOnError(this)" alt="표그림 이미지" style="max-width: 100%;""/> </div> <div class="btn_board"> <a href="javascript:void(0);" id="viewPdfByREFDImg" class="btnS2" style="display:none;" title="뷰어로 보기">뷰어로 보기</a> <a href="javascript:void(0);" id="viewOrgPdfByREFDImg" class="btnS2" style="display:none;" title="출처 보기">출처 보기</a> <a href="javascript:void(0);" id="downloadExcelByREFDImg" class="btnS2" style="display:none;" title="엑셀 다운로드">엑셀 다운로드</a> <a href="javascript:void(0);" onclick="$.modal.close();" class="btnS1">닫기</a> </div> </div> </div> </div> <!-- 레이어팝업 : 저자프로필 --> <div id="authorProfile" class="modal"> <div class="dataPopup_ui"> <div class="popup"> <button class="close" onclick="closeSearchDeatilModal();" type="button">닫기</button> <div class="had"> <h1>저자프로필</h1> </div> <div class="body"> <div class="form"> <table> <caption>저자프로필을 보여주는 테이블로 저자, 프로필 순으로 되어있습니다.</caption> <colgroup> <col width="25%"> <col width="75%"> </colgroup> <thead> <tr> <th scope="col">저자</th> <th scope="col">프로필</th> </tr> </thead> <tbody id="AUTHOR_PROFILE_TBODY"> </tbody> </table> </div> <div class="btn_block type"> <button class="btnD1" onclick="closeSearchDeatilModal();" type="button">닫기</button> </div> </div> </div> </div> </div> <!-- 레이어팝업 : 목차보기 --> <div id="volumeToc" class="modal height">0 <div class="dataPopup_ui"> <div class="popup"> <button class="close" type="button" onclick="doCloseVolumeTocPop();">닫기</button> <div class="had"> <h1>목차보기</h1> </div> <div class="body"> <div class="tbl_col"> <p id="VOLUME_TOC_TBODY"></p> <!-- ajax setting --> </div> </div> <div class="btn_block type"> <a href="#none" onclick="javascript:printVolumeToc(this);" class="btnM3" title="인쇄">인쇄</a> </div> </div> </div> </div> <!-- * 2024 개발 퍼블리싱 화면 없어서 임시 CSS --> <style> #postCopyPage.modal .bottom .item .sampleBtn { height: 26px; padding:0px 7px; margin-left:5px; font-size: 14px !important; line-height: 25px !important; } #postCopyPage.modal #exampleArea .popup { width: 600px; height: 500px; } #postCopyPage.modal #exampleArea .sample_img { display: grid; place-items: center; caret-color: transparent; } @media (max-width: 767px) { #postCopyPage.modal #exampleArea .sample_img img { width:100%; } } </style> <!-- 레이어팝업 : 우편복사 신청목록담기 --> <div id="postCopyPage" class="modal height"> <div id="exampleDim" style="width: 100%;height: 100%;position: absolute;z-index: 2;background-color: rgba(0,0,0,0.75);display: none;" onclick="toggleExample();"></div> <div class="dataPopup_ui"> <div class="popup"> <button class="close" type="button" onclick="doClosePostCoptyPagePop();">닫기</button> <div class="popupContensArea" style="overflow-y: auto;"> <div class="had"> <h1>우편복사 안내</h1> </div> <div id="exampleArea" onclick="toggleExample();"> <div class="dataPopup_ui"> <div class="popup"> <div class="sample_img"> <img id="exampleImg" src="/images/ko/sample/post_copy_example.png" alt="우편복사페이지 예시" align="top"> <div class="close"> <a href="#none" title="닫기">닫기</a> </div> </div> </div> </div> </div> <div class="bottom"> <div class="selectWrap"> <fieldset> <legend class="skip">우편복사 안내</legend> <div class="item"> <div><span>◾ 도서관을 방문하지 못할 경우 인터넷, 팩스 등으로 자료 복사를 신청하고, 복사물을 우편·팩스 등으로 제공받는 서비스</span></div> <div><span>◾ 대상자료: 일반도서, 연속간행물 및 학위논문 (※ 고서, 고잡지, 훼손될 우려가 있는 자료, 마이크로폼 자료 및 신문 등 제외)</span></div> <div><span>◾ 신청 책수: 1인 5책 이하 (1일 기준)</span></div> <div><span>◾ 신청 절차: 자료 검색 → 우편복사 목록담기 → 복사 범위 입력 → 우편복사 주문서 입력 → 접수 및 확인</span></div> </div> </fieldset> </div> </div> <div class="had mt50"> <h1>우편복사 목록담기</h1> </div> <div class="bottom"> <div class="selectWrap"> <fieldset> <legend class="skip">우편복사 목록담기</legend> <div class="item"> <div><span>우편복사 신청 페이지 범위를 입력해 주세요.</span></div> <input type="hidden" id="postCopyCn" name="postCopyCn" /> <input type="text" class="inputText wp100" id="postCopyPageCnt" name="postCopyPageCnt" title="신청 페이지 수" onkeydown="if(event.keyCode == 13) insertPostCopy();" /> <div class="mt12 mb16"><span>※ </span><span style="font-weight: bold;">저작권법에 의거하여 부분 복사(전체 페이지 수의 1/3 범위 이내)만 가능</span></div> <div> <span>- 전체 페이지 및 복사 범위 확인: 전자도서관 자료 검색 후, 해당 자료 상세화면에서 확인</span> <input type="button" class="sampleBtn btnM3" value="예시보기" title="예시보기" onclick="toggleExample();"> </div> <div><span>- 복사 범위 입력 예시: (연속 페이지) 1-30, (부분 페이지) 25, 30-40</span></div> </div> </fieldset> </div> </div> </div> <div class="btn_block type"> <input type="button" class="btnM3" value="우편복사 신청목록담기" title="우편복사 신청목록담기" onclick="insertPostCopy();"> </div> </div> </div> </div> <!-- 레이어팝업 : 우편복사 확인 --> <div id="postCopyPageComplete" class="modal height alert line2"> <div class="dataPopup_ui"> <div class="popup"> <div class="had"> <h1>확인</h1> </div> <div class="bottom"> <p class="mb30">우편복사 목록담기를 완료하였습니다.</p> <div class="btn_block type"> <input type="button" class="btnM3" value="담은목록으로 이동" title="담은목록으로 이동" onclick="goPostCopyList();"> <a href="#close-modal" rel="modal:close" class="btnM2" title="닫기">닫기</a> </div> </div> </div> </div> </div> <!-- 레이어팝업 : 내서재담기 --> <div id="myLibrary2" class="modal sDetail"> <div class="dataPopup_ui"> <div class="popup"> <button class="close" onclick="closeSearchDeatilModal();" type="button">닫기</button> <div class="had"> <h1>내서재에 담기</h1> </div> <div class="body"> <form action="/mylist/insertitem.do" name="myListForm" id="myListForm" method="POST"> <div id="itemInput"></div> <div class="form"> <table> <caption>자료를 담을 내서재를 선택합니다.</caption> <colgroup> <col width="200px" /> <col width="" /> </colgroup> <tbody> <tr> <th scope="row"><label for="listNo">담을 곳</label></th> <td> <select id="listNo" name="listNo" title="새로운서재 선택" class="size3"> <option value="0">새로운서재</option> </select> </td> </tr> </tbody> </table> </div> </form> <div class="btn_block type"> <button class="btnD1 save" title="저장" type="button">저장</button> </div> </div> </div> </div> </div> <!-- 레이어팝업 : 새로운서재 --> <div id="favoriteLib" class="modal sDetail"> <div class="dataPopup_ui"> <div class="popup"> <button class="close" onclick="closeSearchDeatilModal();" type="button">닫기</button> <div class="had"> <h1>새로운 서재</h1> </div> <div class="body"> <p class="txt_required"><strong>*</strong>표시는 필수 입력사항입니다.</p> <form action="/mylist/pop/insert.do" name="myListNewForm" id="myListNewForm" method="POST"> <div id="itemInput"></div> <div class="form"> <table> <colgroup> <col width="20%"> <col > </colgroup> <caption>내서재 추가 테이블로 서재, 실명, 공개수준으로 구성되어 있습니다.</caption> <tbody> <tr> <th scope="row"><strong>*</strong> 서재명</th> <td> <input type="text" name="listName" autocomplete="off" title="서재 입력창" onchange="javascript: $('#btnChk').click(); return;"/> <input type="hidden" name="chkOk" value="0"/> <input type="hidden" name="btnChk" id="btnChk" /> <div id="resultMsg"></div> </td> </tr> <tr> <th scope="row">설명</th> <td> <input type="text" name="description" autocomplete="off" title="설명 입력창"/> </td> </tr> <tr> <th scope="row"><strong>*</strong> 공개수준</th> <td> <input type="radio" name="listPrivacy" id="open2" value="3" checked="checked"/> <label for="open2">비공개</label> <input type="radio" name="listPrivacy" id="open1" value="1"/> <label for="open1">완전공개</label> <p id="msg" style="display:none;" class="red"> * 주의: 국회도서관 이용자 모두에게 공유서재로 서비스 됩니다.</p> </td> </tr> </tbody> </table> </div> </form> <div class="btn_block type"> <button class="btnD1 newSave" type="button" title="저장">저장</button> <button class="btnD4 reset" type="button" title="다시쓰기">다시쓰기</button> </div> </div> </div> </div> </div> <!-- 확인 --> <div id="alert" class="modal sDetail"> <div class="dataPopup_ui"> <div class="popup"> <div class="had"> <h1>저장</h1> </div> <div class="body"> <div class="form"> <p>저장 되었습니다.</p> </div> <div class="btn_block type"> <button class="btnD1" onclick="closeSearchDeatilModal();" type="button">닫기</button> </div> </div> </div> </div> </div> <a href="#confirmPopup" rel="modal:open" class="btn" style="display:none;" id="confirmPopupOpenLink" title="확인"></a> <div id="confirmPopup" class="modal alert line2"> <div class="wrap"> <div class="bottom"> <p class="mb30" style="margin: 25px 0px 25px 0px;"></p> <div class="btnWrap tc" style="text-align: center;"> <a href="#close-modal" rel="modal:close" class="btnS2" title="닫기">닫기</a> </div> </div> </div> </div> <a id="searchPcLoginPopup" href="#loginP" rel="modal:open" class="btn" style="display:none;" title="로그인 팝업 열기"></a> <div id="loginP" class="modal"> <div class="pop_apply"> <div class="popup login"> <h1>로그인</h1> <p class="txt"> 로그인을 하시려면 아이디와 비밀번호를 입력해주세요.<br /> 모바일 간편 열람증으로 입실한 경우 회원가입을 해야합니다.<br /> <span style="color: blue;">공용 PC이므로 한번 더 로그인 해 주시기 바랍니다.</span> </p> <div class="input"> <div class="form"> <button class="close" type="button" onclick="$.modal.close();">닫기</button> <div class="input"> <input type="text" placeholder="아이디" id="searchPcLoginId" class="wide" /> <input type="hidden" id="searchPcItemRegNo" > <input type="hidden" id="searchPcBranchCode" > </div><br /> <div class="input"> <input type="password" placeholder="비밀번호" id="searchPcLoginPw" class="wide" onkeydown="if(event.keyCode == 13) searchPcLoginForReservationProc('loanReservation');" /> </div> <div style="font-size: 14px; color: #4b4b4b; padding-top: 10px; display: none;" id="pwdErrorDiv"> <p style="color: red;">아이디 또는 비밀번호를 확인해주세요</p> </div> </div> <br /> <div> <a href="javascript:void(0);" id="loanBasketLogin" onclick="javascript:searchPcLoginForReservationProc('loanReservation');" class="btnD2" style="width: 100%;">로그인</a> <a href="javascript:void(0);" style="display:none;" id="loanFailLogin" onclick="javascript:searchPcLoginForReservationProc('loanFail');" class="btnD2" style="width: 100%;">로그인</a> </div> <br/> <div id="searchPcLoginPopupLink"> <li></li> <li> <a href="https://www.nanet.go.kr/member/searchIdPwdForm.do" target="_blank" title="아이디찾기(새창)">아이디찾기</a> </li> <li> <a href="https://www.nanet.go.kr/member/searchPwdForm.do" target="_blank" title="비밀번호변경(새창)">비밀번호변경</a> </li> <li> <a href="https://www.nanet.go.kr/member/insertMemberForm1.do" target="_blank" title="회원가입(새창)">회원가입</a> </li> <li></li> </div> </div> </div> </div> </div> <script type="text/javascript"> $(document).ready(function(){ $('.infor').show(); showMoreBtnShowHide(); selectRecommendRandomly(); $("header").addClass("searchDetailLayout"); $(".lnb").addClass("searchDetailLayout"); $(".dataSearch_had").addClass("searchDetailLayout"); $(".tab_search").addClass("searchDetailLayout"); $(".btng_sort.type").addClass("searchDetailLayout"); }); function closeSearchDeatilModal(){ $.modal.close(); } function popViewJs(el) { var dotLink = $(el).attr('href'); var textMap = { '목차': '목차', '권호기사': '권호기사', '목차': '목차', '권호기사': '권호기사' }; if ($(el).hasClass('active')) { $(el).removeClass('active'); $(dotLink).hide(); } else { $('.body .lists .list a').removeClass('active').each(function() { var currentText = $(this).text(); if (currentText === '목차') { $(this).text('목차'); } else if (currentText === '권호기사') { $(this).text('권호기사'); } }); $('.popView_box').hide(); $(dotLink).show(); $(el).addClass('active'); } var currentText = $(el).text(); if (textMap[currentText]) { $(el).text(textMap[currentText]); } } $('.btnView_box > .btnS').click(function(e) { const autoHide = function() { target.hide(); target.css("margin-left", ""); $(window).off("click", autoHide); }; const target = $(this).closest(".btnView_box").find(".pop_moreView"); const onoff = target.css("display"); e.stopPropagation(); if (onoff == "none") { target.show(); const offsetLeft = target.offset().left; const marginLeft = parseInt(target.css("margin-left")); const width = target.width(); const screenWidth = $(window).width(); if (offsetLeft < 0) { target.attr("style", "margin-left:" + (marginLeft - offsetLeft + 10) + "px !important"); } else if (offsetLeft + width > screenWidth) { target.attr("style", "margin-left:" + (marginLeft - (offsetLeft + width - screenWidth) - 10) + "px !important"); } $(window).on("click", autoHide); } else { autoHide(); } }); function showMoreBtnShowHide(){ var $btn = $('.infor .btn_triger.showMoreBtn'); var $target = $btn.parent().find('ul').children('li.afterDpLocationItem'); if($target.length == 0) { $btn.hide(); } } $('.infor .btn_triger.showMoreBtn').click(function() { var $btn = $(this); var $target = $btn.parent().find('ul').children('li.afterDpLocationItem'); $btn.toggleClass('open fold'); if ($target.is(':visible')) { $target.hide(); $btn.text('더 보기'); $('.popView_box').hide(); } else { $target.show(); $btn.text('접기'); } }); $('.txt_box .btn_triger').click(function() { var $txt = $(this).closest('.txt_box'); if ($txt.hasClass('fold')) { $txt.addClass('open').removeClass('fold'); $(this).text('접기'); } else { $txt.addClass('fold').removeClass('open'); $(this).text('더 보기'); } }); $('.tblCol_box .btn_triger').click(function() { var $txt = $(this).closest('.tblCol_box'); if ($txt.hasClass('fold')) { $txt.addClass('open').removeClass('fold'); $(this).text('접기'); } else { $txt.addClass('fold').removeClass('open'); $(this).text('더 보기'); } }); var virtualBookShelfSlider = $('#virtualBookShelf').slick({ initialSlide:0,slidesToShow:5,slidesToScroll:5,autoplay:false,autoplaySpeed:4000,dots:false,arrows:true,infinite:true,speed:800,variableWidth:false, responsive: getSlickResponsiveOption() }); var steadyRecommendSlider = $('#STEADY_RECMD').slick({ initialSlide:-1,slidesToShow:5,slidesToScroll:5,autoplay:false,autoplaySpeed:4000,dots:false,arrows:true,infinite:true,speed:800,variableWidth:true,centerMode:true, responsive: getSlickResponsiveOption() }); var childRecommendSlider = $('#CHILD_RECMD').slick({ initialSlide:-1,slidesToShow:5,slidesToScroll:5,autoplay:false,autoplaySpeed:4000,dots:false,arrows:true,infinite:true,speed:800,variableWidth:true,centerMode:true, responsive: getSlickResponsiveOption() }); var branchRecommendSlider = $('#BRANCH_RECMD').slick({ initialSlide:-1,slidesToShow:5,slidesToScroll:5,autoplay:false,autoplaySpeed:4000,dots:false,arrows:true,infinite:true,speed:800,variableWidth:true,centerMode:true, responsive: getSlickResponsiveOption() }); var ddcRecommendSlider = $('#DDC_RECMD').slick({ initialSlide:-1,slidesToShow:5,slidesToScroll:5,autoplay:false,autoplaySpeed:4000,dots:false,arrows:true,infinite:true,speed:800,variableWidth:true,centerMode:true, responsive: getSlickResponsiveOption() }); $('.thums a').click(function(e) { e.preventDefault(); if($(this).attr("onclick") != undefined && $(this).attr("onclick").indexOf("viewMedia") == 0){ return; } var thumsId = $(this).closest('.thums').attr('id'); var index; if ($(this).closest('.big').length) { index = 0; } else if ($(this).closest('.imgs').length) { index = $(this).closest('div').index() + 1; } $('.imgPreview.'+thumsId).show(); imgPreview.slick('slickGoTo', index); imgPreview.slick('refresh'); }); $('.imgPreview .close').click(function() { $('.imgPreview').hide(); }); var imgPreview = $('.imgPreview .slider').slick({ initialSlide:1,slidesToShow:1,autoplay:false,autoplaySpeed:4000,dots:false,arrows:true,infinite:true,speed:800 }); </script> <script type="text/javascript"> (function() { const outsideDocList = $(".outside-doc"); if (outsideDocList.length <= 1) { return; } const docArea = outsideDocList.last().find("p"); for (let index = 0; index < outsideDocList.length - 1; index++) { const item = outsideDocList.eq(index); docArea.find("a").last().after(item.find("a")); const extra = item.find("div.extra"); if (extra.length != 0) { docArea.append(extra); } item.remove(); } })(); $(document).ready(function() { $("#listNo").prop("selectedIndex", 0); var controlNo = "KINX2013120035"; viewVolume(controlNo); $("a[id^='summaryShortBtn']").click(function(e) { $(e.target).siblings().removeClass('active'); $(e.target).addClass("active"); $('.summary-content div').hide(); $('.summary-content div.short').show(); }); $("a[id^='summaryLongBtn']").click(function(e) { $(e.target).siblings().removeClass('active'); $(e.target).addClass("active"); $('.summary-content div').hide(); $('.summary-content div.long').show(); }); if(!false) { checkCloudData('KINX2013120035'); } if('' != null && '' == 'Y') { getKistiDataAjax('KINX2013120035'); } $('.p_player').each(function(idx, item) { var url = $(item).attr('data-url'); var id = $(item).attr('id'); $('#' + id).gmediaVideoPlugin({ autoPlay: false, vodUrl: url }); }); if($("#kistiArea").find("p").html() == "") { $("#kistiArea").remove(); } }); function fn_myLibrary(controlNo){ var isLogin = ''; var isLoginSub = ''; var userClass1 = '0'; if(!isLogin) { alert("로그인 후 이용 가능합니다."); window.location.href = '/login.do'; return false; } if(isLogin && (userClass1 == '1' || userClass1 == '2') && !isLoginSub) { alert("로그인 후 이용 가능합니다."); window.location.href = '/loginSub.do'; return false; } jQuery.ajaxSettings.traditional= true; $.ajax({ type: "POST", url: "/mylist/pop/writeitem.do", data: {"data": controlNo}, dataType: "json", success: function(data) { previousFocus = document.activeElement; $("#myLibrary2").modal(); $('#myLibrary2 #listNo').empty(); $('#myLibrary2 #itemInput').empty(); if(data != null){ var content = ""; var inputVal = ""; var selectedNo = ""; for(var i=0; i<data.mylistList.length; i++){ selectedNo = data.mylistList[i].basicYn == 'Y' ? data.mylistList[i].listNo : ''; content += '<option value=\"'+data.mylistList[i].listNo+'\">'+data.mylistList[i].listName+'</option>'; } content += "<option value=\"0\">[새로운 서재 추가]</option>"; for(var i=0; i<data.items.length; i++){ inputVal += "<input type=\"hidden\" title=\"서재명\" name=\"item\" value="+data.items[i]+">"; } $('#myLibrary2 #listNo').append(content); $('#myLibrary2 #itemInput').append(inputVal); if(selectedNo != "") $('#myLibrary2 #listNo').val(selectedNo); } }, error: function() { alert("basket input fail!"); } }); } function checkCloudData(controlNo) { $.ajax({ type: "POST", url: "/cloud/isExistPolicyData.do", data: {"controlNo": controlNo}, dataType: "json", success: function(data) { if(data.msg != 'ok'){ $('#cloudData').removeClass('afterDpLocationItem'); $('#cloudData').hide(); } else { $('#cloudData').addClass('afterDpLocationItem'); //$('#cloudData').show(); } }, error: function() { console.log("checkCloudData fail!"); } }); } function getKistiDataAjax(controlNo) { if ($("li#KISTI").length != 0 || $(".outside-doc a.KISTI").length != 0) { return; } $.ajax({ type: "POST", url: "/cloud/getKistiDataAjax.do", data: { "controlNo": controlNo }, dataType: "json", success: function(data) { if (data == undefined || data.msg != 'ok' || data.kistiUrl == '') { console.log("url does not exist."); return; } let htmlText; htmlText = "<a href='" + data.kistiUrl + "' title='새 창에서 열기' class='KISTI' target='_blank'><img src='/images/ko/ico/KISTI.png' class='KISTI'>과학기술지식인프라(KISTI)</a>"; let docArea = $(".outside-doc").children('p:eq(0)'); if (docArea.length == 0) { docArea = $("#kistiArea"); docArea.addClass("outside-doc"); docArea.show(); docArea = docArea.children('p:eq(0)'); } if (docArea.find("a").length > 0) { docArea.find("a").last().after(htmlText); } else { docArea.append(htmlText); } }, error: function(data) { console.log("getKistiDataAjax fail!"); } }); } function viewLocationList() { if("[LocationBean(roomNm=정기간행물실(524호), bookshelfDiv=null, bookshelfNo=대학01, bookshelfNm=null, roomNo=null, imgpath=/upload/shelf/11/SHELF_11_19.png, bookshelfPosition=null)]" == "") return false; var list = new Array(); var locaNm = ""; var locaNo = ""; var locaPath = ""; var roomNo = ""; if(locaNm == '정기간행물실(524호)') { locaNo += "," + '대학01'; locaPath += "|" + '/upload/shelf/11/SHELF_11_19.png'; } else { if(locaNm != "") { var data = { locaNm: locaNm, locaNo: locaNo, locaPath: locaPath } list.push(data); } locaNm = '정기간행물실(524호)'; locaNo = '대학01'; roomNo = ''; if(roomNo == '12') { locaNo = ''; } locaPath = '/upload/shelf/11/SHELF_11_19.png'; } var data = { locaNm: locaNm, locaNo: locaNo, locaPath: locaPath, roomNo: roomNo } list.push(data); $("#bookLocationInfo").find("h1").text("도서위치안내 [서울관]"); $('#bookLocationInfo .popup .body').html(''); $.each(list, function(idx, item) { if (item.locaPath.length == 0) { return true; } var html = '<p class="txt">도서위치안내: ' + item.locaNm + ' / 서가번호: ' + item.locaNo+ '</p>'; if(roomNo == '12') { html = '<p class="txt">도서위치안내: ' + item.locaNm + ' / 서가명: ' + item.locaNo+ '</p>'; } if(item.locaNm == '정기간행물실(524호)') { html += '<p class="txt" style="margin-top: -10px; color: red">2021년 이전 정기간행물은 온라인 신청(원문 구축 자료는 원문 이용)</p>'; } var imgId = 'locationImg' + idx; html += '<div class="locImgArea">' + '<img id="' + imgId + '" alt="도서위치안내">' + '</div>'; $('#bookLocationInfo .body').append(html); imgId = '#' + imgId; var map = item.locaPath.split("|"); for (var i = 0; i < map.length; i++) { map[i] = "" + map[i] + ""; if (i == 0) { if ($(imgId).after()) $(imgId).siblings().remove(); $(imgId).attr("src", map[i]); } else { $(imgId).after("<img id=\"orgCoverImg"+i+"\" src=\"" + map[i] + "\" alt=\"도서위치안내\" />"); } } }); previousFocus = document.activeElement; $("#bookLocationInfo").modal(); } function getWindowType () { let innerWidth = window.innerWidth; let type = ''; if (innerWidth > 1400) { type = 'pc'; } else if (innerWidth > 768) { type = 'tablet'; } else { type = 'mobile'; } return type; } document.querySelectorAll('.btn_triger').forEach((button) => { button.addEventListener('click', function () { let txtBox = this.closest('.txt_box'); if (!txtBox) return; if (txtBox.classList.contains('fold')) { let innerWidth = getWindowType(); let height = 0; if (innerWidth === 'pc') { height = -110; } else if (innerWidth === 'tablet') { height = -140; } else { height = -100; } setTimeout(() => { window.scrollTo({top: txtBox.getBoundingClientRect().top + window.scrollY + height, behavior: 'smooth'}); }, 50); } }); }); document.querySelector('.showMoreBtn').addEventListener('click', function () { let button = this; if (button.classList.contains('fold')) { let body = button.closest('.body'); if (!body) return; let innerWidth = getWindowType(); let height = 0; if (innerWidth === 'pc') { height = -75; } else if (innerWidth === 'tablet') { height = -105; } else { height = 85; } setTimeout(() => { window.scrollTo({top: body.getBoundingClientRect().top + window.scrollY + height, behavior: 'smooth'}); }, 50); } }); (function() { const win = $(window); win.load(function() { const scrollToContentTop = function() { if (win.width() > 480) { return; } window.scrollTo({ top: $(".tab_search").offset().top - $(".header").height() - 5, behavior: "smooth" }); }; setTimeout(scrollToContentTop, 1); }); const btn = $(".btng_sort button[title=MARC]"); let shortened = false; const reorganizeActionBar = function() { if (win.width() <= 360) { if (shortened) { return; } shortened = true; btn.each(function(index, item) { item = $(item); const box = item.siblings(".btnView_box").find(".pop_moreView ul"); const li = $("<li></li>"); li.append(item); box.prepend(li); }); } else { if (shortened == false) { return; } shortened = false; btn.each(function(index, item) { item = $(item); const box = btn.closest(".btnView_box"); const li = item.parent(); box.before(item); li.remove(); }); } }; win.resize(reorganizeActionBar); reorganizeActionBar(); const reorganizeDocInfo = function() { const doc = $(".doc_list"); const items = doc.find("li"); if (items.length > 0) { $("li.afterDpLocationItem").eq(0).before(items); doc.remove(); } } reorganizeDocInfo(); })(); </script> </div> </div> <!-- dBody --> <footer> <div class="footer"> <span class="f_logo"> <img src="/resources/images/cmm/logo_g.svg" alt="국민을 지키는 미래로 나아가는 국회" class="logo_ty01"> <img src="/resources/images/cmm/logo_b.png" alt="국민을 지키는 미래로 나아가는 국회" class="logo_ty02"> </span> <ul class="f_link"> <li><a href="https://www.nanet.go.kr/member/persionlInfoView.do">개인정보 처리방침</a></li> <li><a href="https://www.nanet.go.kr/member/mailrefusalView.do">이메일수집거부</a></li> <li><a href="https://www.nanet.go.kr/libintroduce/etc/libDirectView.do">찾아오시는 길</a></li> <li><a href="https://www.nanet.go.kr/libintroduce/etc/libCoypRightView.do">저작권정책</a></li> </ul> <div class="address"> <p>서울특별시 영등포구 의사당대로 1 (여의도동) 07233</p> <p>대표전화 : 02-6788-4211</p> <p>홈페이지 관련 문의 webw3@nanet.go.kr</p> </div> <div class="copy">Copyrightⓒ 국회도서관. All rights reserved.<br />대한민국 국회도서관 홈페이지의 모든 정보에 대한 권한은 국회도서관에 있습니다.</div> <div class="family_site"> <div class="select"> <button type="button">소관기관 홈페이지</button> <div class="option"> <ul> <li><a target="_blank" href="https://www.assembly.go.kr/portal/main/main.do">대한민국 국회</a></li> <li><a target="_blank" href="https://nas.na.go.kr">국회사무처</a></li> <li><a target="_blank" href="https://www.nabo.go.kr">국회예산정책처</a></li> <li><a target="_blank" href="https://www.nars.go.kr">국회입법조사처</a></li> <li><a target="_blank" href="https://www.nafi.re.kr/new/index.do">국회미래연구원</a></li> </ul> </div> </div> <div class="select"> <button type="button">위원회 홈페이지</button> <div class="option"> <ul> <li><a target="_blank" href="https://committee.na.go.kr:444">국회상임위원회 및 특별위원회</a></li> <li><a target="_blank" href="https://steering.na.go.kr:444">국회운영위원회</a></li> <li><a target="_blank" href="https://legislation.na.go.kr:444">법제사법위원회</a></li> <li><a target="_blank" href="https://policy.na.go.kr:444">정무위원회</a></li> <li><a target="_blank" href="https://finance.na.go.kr:444">기획재정위원회</a></li> <li><a target="_blank" href="https://edu.na.go.kr:444">교육위원회</a></li> <li><a target="_blank" href="https://science.na.go.kr:444">과학기술정보방송통신위원회</a></li> <li><a target="_blank" href="https://uft.na.go.kr:444">외교통일위원회</a></li> <li><a target="_blank" href="https://defense.na.go.kr:444">국방위원회</a></li> <li><a target="_blank" href="https://adminhom.na.go.kr:444">행정안전위원회</a></li> <li><a target="_blank" href="https://cst.na.go.kr:444">문화체육관광위원회</a></li> <li><a target="_blank" href="https://agri.na.go.kr:444">농림축산식품해양수산위원회</a></li> <li><a target="_blank" href="https://industry.na.go.kr:444">산업통상자원중소벤처기업위원회</a></li> <li><a target="_blank" href="https://health.na.go.kr:444">보건복지위원회</a></li> <li><a target="_blank" href="https://environment.na.go.kr:444">환경노동위원회</a></li> <li><a target="_blank" href="https://ltc.na.go.kr:444">국토교통위원회</a></li> <li><a target="_blank" href="https://intelligence.na.go.kr:444">정보위원회</a></li> <li><a target="_blank" href="https://women.na.go.kr:444">여성가족위원회</a></li> <li><a target="_blank" href="https://budget.na.go.kr:444">예산결산특별위원회</a></li> <li><a target="_blank" href="https://spc.na.go.kr:444">특별위원회</a></li> </ul> </div> </div> <div class="select"> <button type="button">유관기관 홈페이지</button> <div class="option"> <ul> <li><a target="_blank" href="https://www.natv.go.kr">국회방송</a></li> <li><a target="_blank" href="https://museum.assembly.go.kr/">국회박물관</a></li> <li><a target="_blank" href="https://training.assembly.go.kr">국회의정연수원</a></li> <li><a target="_blank" href="https://vplatform.assembly.go.kr/">정책영상플랫폼</a></li> <li><a target="_blank" href="https://www.naon.go.kr">국회뉴스ON</a></li> <li><a target="_blank" href="http://assembly.webcast.go.kr">인터넷의사중계</a></li> </ul> </div> </div> <div class="select"> <button type="button">국회정보시스템</button> <div class="option"> <ul> <li><a target="_blank" href="https://open.assembly.go.kr">열린국회정보</a></li> <li><a target="_blank" href="https://petitions.assembly.go.kr/paHome">국민동의청원</a></li> <li><a target="_blank" href="https://likms.assembly.go.kr/bill/main.do">의안정보시스템</a></li> <li><a target="_blank" href="http://w3.assembly.go.kr/vod">영상회의록</a></li> <li><a target="_blank" href="https://likms.assembly.go.kr/record">회의록시스템</a></li> <li><a target="_blank" href="https://pal.assembly.go.kr">국회입법예고</a></li> <li><a target="_blank" href="https://likms.assembly.go.kr/law">국회법률정보시스템</a></li> <li><a target="_blank" href="https://likms.assembly.go.kr/bill/nafs/nafsList.do">예결산정보시스템</a></li> <li><a target="_blank" href="https://likms.assembly.go.kr/inspections/main.do">국정감사정보시스템</a></li> <li><a target="_blank" href="https://open.assembly.go.kr:442/admjud/guideAdmjud.do">행정심판시스템</a></li> <li><a target="_blank" href="https://gosi.assembly.go.kr">국회채용시스템</a></li> </ul> </div> </div> <div class="select mobile"> <button type="button">유관부서 이동하기</button> <div class="option"> <ul> <li><a target="_blank" href="https://busan.nanet.go.kr">국회부산도서관</a></li> <li><a target="_blank" href="https://www.assembly.go.kr/portal/main/main.do">대한민국 국회</a></li> <li><a target="_blank" href="https://nas.na.go.kr">국회사무처</a></li> <li><a target="_blank" href="https://www.nabo.go.kr">국회예산정책처</a></li> <li><a target="_blank" href="https://www.nars.go.kr">국회입법조사처</a></li> <li><a target="_blank" href="https://archives.nanet.go.kr/main.do">국회기록보존소</a></li> <li><a target="_blank" href="https://dokdo.nanet.go.kr/dokdo">독도홈페이지</a></li> <li><a target="_blank" href="https://lnp.nanet.go.kr/">의회법률정보포털</a></li> <li><a target="_blank" href="https://open.assembly.go.kr">열린국회정보</a></li> <li><a target="_blank" href="https://petitions.assembly.go.kr/paHome">국민동의청원</a></li> <li><a target="_blank" href="https://likms.assembly.go.kr/bill/main.do">의안정보시스템</a></li> <li><a target="_blank" href="https://likms.assembly.go.kr/record">회의록시스템</a></li> <li><a target="_blank" href="https://pal.assembly.go.kr">국회입법예고</a></li> <li><a target="_blank" href="https://likms.assembly.go.kr/law">국회법률정보시스템</a></li> <li><a target="_blank" href="https://likms.assembly.go.kr/bill/nafs/nafsList.do">예결산정보시스템</a></li> <li><a target="_blank" href="https://likms.assembly.go.kr/inspections/main.do">국정감사정보시스템</a></li> <li><a target="_blank" href="https://open.assembly.go.kr:442/admjud/guideAdmjud.do">행정심판시스템</a></li> <li><a target="_blank" href="https://gosi.assembly.go.kr">국회채용시스템</a></li> <li><a target="_blank" href="https://www.natv.go.kr">국회방송</a></li> <li><a target="_blank" href="https://museum.assembly.go.kr/">국회박물관</a></li> <li><a target="_blank" href="https://training.assembly.go.kr">국회의정연수원</a></li> <li><a target="_blank" href="https://vplatform.assembly.go.kr/">정책영상플랫폼</a></li> <li><a target="_blank" href="https://www.nafi.re.kr/new/index.do">국회미래연구원</a></li> <li><a target="_blank" href="https://www.naon.go.kr">국회뉴스ON</a></li> <li><a target="_blank" href="http://assembly.webcast.go.kr">인터넷의사중계</a></li> <li><a target="_blank" href="http://w3.assembly.go.kr/vod">영상회의록</a></li> <li><a target="_blank" href="https://committee.na.go.kr:444">국회상임위원회 및 특별위원회</a></li> <li><a target="_blank" href="https://steering.na.go.kr:444">국회운영위원회</a></li> <li><a target="_blank" href="https://legislation.na.go.kr:444">법제사법위원회</a></li> <li><a target="_blank" href="https://policy.na.go.kr:444">정무위원회</a></li> <li><a target="_blank" href="https://finance.na.go.kr:444">기획재정위원회</a></li> <li><a target="_blank" href="https://edu.na.go.kr:444">교육위원회</a></li> <li><a target="_blank" href="https://science.na.go.kr:444">과학기술정보방송통신위원회</a></li> <li><a target="_blank" href="https://uft.na.go.kr:444">외교통일위원회</a></li> <li><a target="_blank" href="https://defense.na.go.kr:444">국방위원회</a></li> <li><a target="_blank" href="https://adminhom.na.go.kr:444">행정안전위원회</a></li> <li><a target="_blank" href="https://cst.na.go.kr:444">문화체육관광위원회</a></li> <li><a target="_blank" href="https://agri.na.go.kr:444">농림축산식품해양수산위원회</a></li> <li><a target="_blank" href="https://industry.na.go.kr:444">산업통상자원중소벤처기업위원회</a></li> <li><a target="_blank" href="https://health.na.go.kr:444">보건복지위원회</a></li> <li><a target="_blank" href="https://environment.na.go.kr:444">환경노동위원회</a></li> <li><a target="_blank" href="https://ltc.na.go.kr:444">국토교통위원회</a></li> <li><a target="_blank" href="https://intelligence.na.go.kr:444">정보위원회</a></li> <li><a target="_blank" href="https://women.na.go.kr:444">여성가족위원회</a></li> <li><a target="_blank" href="https://budget.na.go.kr:444">예산결산특별위원회</a></li> <li><a target="_blank" href="https://spc.na.go.kr:444">특별위원회</a></li> </ul> </div> </div> </div> <a class="mark" href="javascript:newViewerCall('wa2025.pdf', '', 'wa', '28');" title="WA 웹접근성인증마크"> </a> <div class="snsMl75" style="margin-top:12px;"> <a href="https://www.youtube.com/c/NALKR" target="_blank" title="YouTube 새창열기" class="snsBt10" style="width: 25px;margin-right:10px;"> <img src="/resources/images/sns/sns_1.png" alt="YouTube" style="width:25px;margin-top: 8px;"/> </a> <a href="https://www.instagram.com/nal_kr/" target="_blank" title="Instagram 새창열기" class="snsBt10" style="width: 25px;margin-right:10px;"> <img src="/resources/images/sns/sns_2.png" alt="Instagram" style="width:25px;margin-top: 8px;"/> </a> <a href="https://www.facebook.com/NationalAssemblyLibraryROK" target="_blank" title="Facebook 새창열기" class="snsBt10" style="width: 25px;margin-right:10px;"> <img src="/resources/images/sns/sns_3.png" alt="Facebook" style="width:25px;margin-top: 8px;"/> </a> <a href="https://blog.naver.com/nalkr2017" target="_blank" title="블로그 새창열기" class="snsBt10" style="width: 25px;margin-right:10px;"> <img src="/resources/images/sns/sns_4.png" alt="블로그 " style="width:25px;margin-top: 8px;"/> </a> </div> </div> </footer> <!-- 챗봇 --> <button class="btn-intro" onclick="openChatbot();"> <!-- <img src="/images/btn/btn-intro-icon-over.png" alt="챗봇" class="over"> --> <!-- <img src="/images/btn/btn-intro-icon.png" alt="챗봇" class="original"> --> <img src="/images/btn/btn-chatbot.gif" alt="챗봇"> </button> <!-- <a href="#header" class="btnTop">위로</a> --> <div id="tipBox"></div> <script type="text/javascript"> subJs(); /*2025년 2월 25일에 챗봇 오픈 후 챗봇 아이콘 보이게 할 예정. by 남규태 주무관님 요청.*/ $(document).ready(function() { if(window.self !== window.top){ $('.btn-intro').hide(); } }); // get 방식 function openChatbot() { // 현재 페이지의 URL 가져오기 let currentUrl = window.location.href; if(currentUrl.indexOf('searchInnerList') > -1 || (currentUrl.indexOf('searchOuterList.do') > -1 && currentUrl.indexOf('searchOuterDetail.do') == -1)){ // 내부/외부 검색 목록에서 챗봇을 실행하였을 경우 currentUrl = window.location.origin+''+'&hanjaYnByDetail='+'Y'; // 검색 파라미터값들을 주소에 세팅 } console.log('currentUrl', currentUrl); // URL 인코딩 const encodedUrl = encodeURIComponent(currentUrl); const formValues = {}; if(currentUrl.indexOf('/search/') > -1){ const form = document.getElementById("searchForm"); const formData = new FormData(form); for(let [key, value] of formData.entries()){ formValues[key] = value; } }/* else { const parameterStr = window.location.search; // GET 방식에서의 파라미터 가져오기 const parameterObj = new URLSearchParams(parameterStr); for(let [key, value] of parameterObj.entries()){ formValues[key] = value; } } */ // formValues["hanjaYnByDetail"]="Y"; /* let innerSearchUrl = ''.replace("/search/searchInnerList.do?",""); const innerSearchParamObj = new URLSearchParams(innerSearchUrl); for(let [key, value] of innerSearchParamObj.entries()){ formValues[key] = value; //innerSearchParamObj.get("searchType") } */ // 챗봇 페이지 URL const chatbotUrl = 'https://aichat.nanet.go.kr/chatbot.html?iframeUrl=' + encodedUrl; if((currentUrl.indexOf('searchInnerDetail') > -1 || currentUrl.indexOf('searchOuterDetail') > -1 || currentUrl.indexOf('searchInnerList') > -1 || currentUrl.indexOf('searchOuterList') > -1) && encodedUrl.indexOf('?') == -1){ // 검색목록 또는 검색상세페이지이며, encodedUrl값에 ?가 없는 경우 window.location.href = chatbotUrl.replace(/&/gi,'┼'); } else { let queryString = ""; if(Object.keys(formValues).length > 0){ queryString = '?' + new URLSearchParams(formValues).toString().replace(/&/gi,'┼'); } window.location.href = chatbotUrl + queryString; } /* if(currentUrl.indexOf('searchInnerList') > -1){ window.location.href = chatbotUrl.replace(/&/gi,'┼'); }else if(currentUrl.indexOf('searchInnerDetail') == -1 && encodedUrl.indexOf('?') == -1){ const queryString = new URLSearchParams(formValues).toString().replace(/&/gi,'┼'); window.location.href = chatbotUrl + '?' + queryString; }else{ window.location.href = chatbotUrl.replace(/&/gi,'┼'); } */ } //#################################### 원문 아이콘 툴팁박스 관련 시작 ################################## function displayTip(obj, content){ if(content == undefined || content == ""){ return; } var objWidth = $(obj).width(); var objOffSet = $(obj).offset(); var targetOffX = String(parseInt(objOffSet.left) - (5000/objWidth) + 'px'); var targetOffY = String(parseInt(objOffSet.top) + 57 + 'px'); // console.log('objWidth : ' + objWidth); // console.log('objOffSet.left : ' + objOffSet.left); // console.log('objOffSet.top : ' + objOffSet.top); // console.log('targetOffX : ' + targetOffX); // console.log('targetOffY : ' + targetOffY); $("#tipBox").css("left", targetOffX); $("#tipBox").css("top", targetOffY); $("#tipBox").html(content); $("#tipBox").css("display", "block"); $(obj).on("mouseout", hideTip); } function hideTip() { $("#tipBox").css("display", "none"); } //#################################### 원문 아이콘 툴팁박스 관련 끝 ################################## //#################################### 챗봇 관련 시작 ################################## window.addEventListener('message', function(event) { // 보안을 위해 출처 확인 (실제 부모 도메인으로 변경 필요) if(event.origin.indexOf(".nanet.go.kr") === -1){ // 국회도서관 URL이 아닌 경우 return; } if (event.data.type === 'REQUEST_URL') { // 현재 페이지의 URL 가져오기 let currentUrl = window.location.href; if(currentUrl.indexOf('searchInnerList') > -1 || (currentUrl.indexOf('searchOuterList.do') > -1 && currentUrl.indexOf('searchOuterDetail.do') == -1)){ // 검색 목록화면인 경우 currentUrl = window.location.origin+''+'&hanjaYnByDetail='+'Y'; // 검색 파라미터값들을 주소에 세팅 } // URL 인코딩 const encodedUrl = encodeURIComponent(currentUrl); const formValues = {}; if(currentUrl.indexOf('/search/') > -1){ const form = document.getElementById("searchForm"); const formData = new FormData(form); for(let [key, value] of formData.entries()){ formValues[key] = value; } }/* else { const parameterStr = window.location.search; // GET 방식에서의 파라미터 가져오기 const parameterObj = new URLSearchParams(parameterStr); for(let [key, value] of parameterObj.entries()){ formValues[key] = value; } } */ if((currentUrl.indexOf('searchInnerDetail') > -1 || currentUrl.indexOf('searchInnerList') > -1 || currentUrl.indexOf('searchOuterDetail') > -1 || currentUrl.indexOf('searchOuterList') > -1) && encodedUrl.indexOf('?') == -1){ window.parent.postMessage({ type: 'URL_RESPONSE', url: encodedUrl }, '*'); } else { let queryString = ""; if(Object.keys(formValues).length > 0){ queryString = '?' + new URLSearchParams(formValues).toString().replace(/&/gi,'┼'); } window.parent.postMessage({ type: 'URL_RESPONSE', url: encodedUrl + queryString }, '*'); } /* if(currentUrl.indexOf('searchInnerDetail') == -1 && encodedUrl.indexOf('?') == -1){ // 부모 창으로 현재 URL 전송 window.parent.postMessage({ type: 'URL_RESPONSE', url: encodedUrl + '?' + queryString }, '*'); }else{ window.parent.postMessage({ type: 'URL_RESPONSE', url: encodedUrl }, '*'); } */ } }); //#################################### 챗봇 관련 시작 ################################## /** * [문서뷰어 호출] (홈페이지 스크립트 footer의 웹접근성 링크) * @author SANGGEUN * @since 2024-11-09 */ function newViewerCall(fileNm, seq, gubun, fileSavegbn, dYn, fileNo) { try { let downYn = "Y"; if (dYn == "N") { downYn = "N"; } let access_type = "PC"; let menuName = ""; if (seq != "") { menuName = gubun + seq + "_"; } else { menuName = gubun + "_"; } let sys = ""; if (fileNm.indexOf("siga-bodo") > 0) { sys = fileNm; } else if (fileNm.lastIndexOf("/") > 0) { sys = fileNm.substring(fileNm.lastIndexOf("/")+1, fileNm.length); } else { sys = fileNm; } let ext = ""; if (fileNm.lastIndexOf("pptx") > 0 || fileNm.lastIndexOf("ppt") > 0 || fileNm.lastIndexOf("hwp") > 0 || fileNm.lastIndexOf("xlsx") > 0 || fileNm.lastIndexOf("xls") > 0) { ext = "Y"; } $("#menuName").val(menuName); $("#access_type").val(access_type); $("#fileExt").val(ext); $("#saveGbn").val(fileSavegbn); $("#fileName").val(sys); $("#viewer_form").attr("target", "_blank"); $("#downYn").val(downYn); $("#fileNo").val(fileNo||""); $("#viewer_form").attr("action", 'https://www.nanet.go.kr/cmmn/file/fileViewer.do').submit(); } catch (exception) { console.error("newViewerCall()", exception); } }; </script> <!-- 웹접근성 뷰어 form --> <form id="viewer_form" name="viewer_form" method="post"> <input type="hidden" id="fileExt" name="fileExt" value=""/> <input type="hidden" id="fileNo" name="fileNo" value=""/> <input type="hidden" id="saveGbn" name="fileSavegbn" value=""/> <input type="hidden" id="fileName" name="fileName" value=""/> <input type="hidden" id="menuName" name="menuName" value=""/> <input type="hidden" id="access_type" name="access_type" value=""/> <input type="hidden" id="downYn" name="downYn" value=""/> </form> </body> </html>