CINXE.COM
레전드 40 | 선수 | KBO
<!DOCTYPE html> <html lang="ko"> <head><title> 레전드 40 | 선수 | KBO </title><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta http-equiv="Content-Script-Type" content="text/javascript" /><meta http-equiv="Content-Style-Type" content="text/css" /><meta http-equiv="X-UA-Compatible" content="IE=edge, Chrome" /><meta name="title" content="KBO" /><meta name="author" content="스포츠투아이" /><meta name="keywords" content="KBO, 한국야구위원회, 프로야구, KBO 리그, 퓨처스리그, 프로야구순위, 프로야구 일정" /><meta name="viewport" content="width=1200" /> <!-- OG --> <meta property="og:type" content="website" /><meta property="og:title" content="KBO 홈페이지" /><meta property="og:description" content="KBO, 한국야구위원회, 프로야구, KBO 리그, 퓨처스리그, 프로야구순위, 프로야구 일정" /><meta property="og:image" content="https://lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/common/open_graph_kbo_2022.png" /><meta property="og:url" content="https://www.koreabaseball.com/" /> <link rel="shortcut icon" type="image/x-icon" href="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/common/favicon.ico" /> <link rel="stylesheet" type="text/css" href="/resources/min/css/font.min.css?version=20241107 %>"/> <link rel="stylesheet" type="text/css" href="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/min/css/reset.min.css?version=20241107" /> <link rel="stylesheet" type="text/css" href="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/min/css/common.min.css?version=20241107" /> <link rel="stylesheet" type="text/css" href="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/min/css/layout.min.css?version=20241107" /> <link rel="stylesheet" type="text/css" href="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/min/css/contents.min.css?version=20241107" /> <link rel="stylesheet" type="text/css" href="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/min/css/jquery-ui.min.css?version=20241107" /> <link rel="stylesheet" type="text/css" href="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/min/css/jquery-ui-theme.min.css?version=20241107" /> <link rel="stylesheet" type="text/css" href="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/min/css/jquery.bxslider.min.css?version=20241107" /> <script type="text/javascript" charset="utf-8" src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/min/js/jquery-1.12.4.min.js?version=20241107"></script> <script type="text/javascript" charset="utf-8" src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/min/js/jquery-migrate-1.1.1.min.js?version=20241107"></script> <script type="text/javascript" charset="utf-8" src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/min/js/jquery-ui.min.js?version=20241107"></script> <script type="text/javascript" charset="utf-8" src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/min/js/jquery.bxslider.min.js?version=20241107"></script> <script type="text/javascript" charset="utf-8" src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/min/js/jquery.ui.datepicker-ko.min.js?version=20241107"></script> <script type="text/javascript" charset="utf-8" src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/min/js/S2i.Common-1.0.1.min.js?version=20241107"></script> <script type="text/javascript" charset="utf-8" src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/min/js/S2i.Paging-1.0.8.min.js?version=20241107"></script> <script type="text/javascript" charset="utf-8" src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/min/js/common.min.js?version=20241107"></script> <script type="text/javascript" charset="utf-8" src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/min/js/S2i.MakeTable-1.0.3.min.js?version=20241107"></script> <script type="text/javascript" charset="utf-8" src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/min/js/bTogether.min.js?version=20241107"></script> <!—[if lt IE 9]> <script src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/min/js/html5shiv.min.js?version=20241107"></script> <![endif]—> <!-- Google Tag Manager --> <script> (function (w, d, s, l, i) { w[l] = w[l] || []; w[l].push({ 'gtm.start': new Date().getTime(), event: 'gtm.js' }); var f = d.getElementsByTagName(s)[0], j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f); })(window, document, 'script', 'dataLayer', 'GTM-K3BL64Q'); $(document).ready(function () { var jbOffset = $('.lnb-wrap').offset(); $(window).scroll(function () { if ($(document).scrollTop() > jbOffset.top) { $('.lnb-wrap').addClass('fixed'); } else { $('.lnb-wrap').removeClass('fixed'); } }); }); </script> <!-- End Google Tag Manager --> <link rel="stylesheet" type="text/css" href="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/min/css/sub.min.css?version=20241107" /> <link type="text/css" rel="stylesheet" href="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/min/css/player.min.css?version=20241107"/> <link rel="stylesheet" href="https://unpkg.com/swiper/swiper-bundle.min.css" /> </head> <body> <!-- Google Tag Manager (noscript) --> <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-K3BL64Q" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) --> <form method="post" action="./Legend40.aspx" id="mainForm"> <div class="aspNetHidden"> <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKLTkzOTg1NzU1NWRkyCTYul2A/8UEv5OjBYLO7sdWk9P/jmUbw/90AhpMclA=" /> </div> <div class="aspNetHidden"> <input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="FCC37229" /> </div> <!-- wrap --> <div id="wrap"> <!-- header --> <header> <div id="gnb" class="bgf3"> <div class="gnb-wrap"> <ul class="menu"> <li><a href="/Member/Login.aspx">로그인</a></li> <li><a href="/Member/Join/Accessterms.aspx">회원가입</a></li> <li><a href="http://eng.koreabaseball.com/">ENGLISH</a></li> </ul> <div class="search-area"> <div class="search-box"> <input class="ipt-search" type="text" id="txtTopPlayerWord" placeholder="선수 검색하기" /> <a href="#none;" id="btnTopPlayerSearch" class="btn-search"><img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/common/btn_search.png" alt="검색" /></a> </div> <div id="player_search_area" class="search-result"> <!-- <p class="null">검색 결과가 없습니다.</p> --> </div> </div> </div> </div> <div class="wrapping lnb-wrap"> <div class="lnb-box"> <h1 class="logo"><a href="/Default.aspx"><img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/common/h1_logo.png" alt="" /></a></h1> <nav> <ul id="lnb"> <li> <a href="/Schedule/Schedule.aspx">일정・결과</a> <div class="lnb-sub"> <ul class="lnb01"> <li><a href="/Schedule/Schedule.aspx">경기일정・결과</a></li> <li><a href="/Schedule/GameCenter/Main.aspx">게임센터</a></li> <li><a href="/Schedule/ScoreBoard.aspx">스코어보드</a></li> <li><a href="/Schedule/Allstar/Game/Main2024.aspx">올스타전</a></li> <li><a href="/Schedule/International/Etc/Premier2024.aspx">국제대회</a></li> <li><a href="/Schedule/Weather.aspx">야구장 날씨</a></li> </ul> </div> </li> <li> <a href="/Record/Player/HitterBasic/Basic1.aspx?sort=HRA_RT">기록・순위</a> <div class="lnb-sub"> <ul class="lnb02"> <li><a href="/Record/Player/HitterBasic/Basic1.aspx?sort=HRA_RT">기록실</a></li> <li><a href="/Record/TeamRank/TeamRankDaily.aspx">팀 순위</a></li> <li><a href="/Record/Ranking/Top5.aspx">선수 순위</a></li> <li><a href="/Record/History/Top/Hitter.aspx">역대 기록</a></li> <li><a href="/Record/Expectation/WeekList.aspx">예상 달성 기록</a></li> <li><a href="/Record/RecordCorrect/RecordCorrect.aspx">기록 정정 현황</a></li> <li><a href="/Record/Crowd/GraphTeam.aspx">관중 현황</a></li> </ul> </div> </li> <li> <a href="/Player/Search.aspx">선수</a> <div class="lnb-sub"> <ul class="lnb04"> <li><a href="/Player/Search.aspx">선수 조회</a></li> <li><a href="/Player/Register.aspx">선수 등록 현황</a></li> <li><a href="/Player/Trade.aspx">선수 이동 현황</a></li> <li><a href="/Player/Awards/PlayerPrize.aspx">수상 현황</a></li> <li><a href="/Player/Legend40.aspx">레전드 40</a></li> <li><a href="/Player/CareerCertificate.aspx">경력증명서 신청</a></li> </ul> </div> </li> <li> <a href="/MediaNews/Highlight/List.aspx">미디어・뉴스</a> <div class="lnb-sub"> <ul class="lnb05"> <li><a href="/MediaNews/Highlight/List.aspx">하이라이트</a></li> <li><a href="/MediaNews/News/BreakingNews/List.aspx">뉴스</a></li> <li><a href="/MediaNews/Notice/List.aspx">KBO 보도자료</a></li> <li><a href="/MediaNews/UbivMarketer/VideoList.aspx">대학생 마케터</a></li> </ul> </div> </li> <li> <a href="javascript:;">KBO</a> <div class="lnb-sub lnb-style-all"> <div class="wrapping lnb-all-wrap" style="width:713px;"> <h3>KBO</h3> <div class="lnb-all kbo01"> <h4>KBO 리그</h4> <ul> <li><a href="/Kbo/League/GameManage2024.aspx">2024 규정∙규칙 변화</a></li> <li><a href="/Kbo/League/GameManageRule/GameManage.aspx">경기운영제도</a></li> <li><a href="/Kbo/League/TeamInfo.aspx">구단 소개</a></li> <li><a href="/Kbo/League/TeamHistory.aspx">구단 변천사</a></li> <li><a href="/Kbo/League/Map.aspx">티켓 안내</a></li> </ul> </div> <div class="lnb-all kbo02"> <h4>게시판</h4> <ul> <li><a href="/Kbo/Board/Notice/List.aspx">NOTICE</a></li> <li><a href="/Kbo/Board/Faqs/List.aspx">자주 하는 질문</a></li> <li><a href="/Kbo/Board/Ebook/EbookPublication.aspx">규정・자료실</a></li> </ul> </div> <div class="lnb-all kbo03"> <h4>ABOUT KBO</h4> <ul> <li><a href="/Kbo/AboutKbo/GroupAndActivity.aspx">조직・활동</a></li> <li><a href="/Kbo/AboutKbo/Logo/Logo.aspx">KBO 로고</a></li> <li><a href="/Kbo/AboutKbo/Committee/OrganizationChart.aspx">기록위원회</a></li> <li><a href="/Kbo/AboutKbo/MedicalCommittee/MedicalOrganization.aspx">의무위원회</a></li> </ul> </div> <div class="lnb-all kbo04"> <h4>주요 사업・행사</h4> <ul> <li data-tab="MvpApplication"></li> <li class="lnbMedia"></li> <li><a href="/Kbo/BusinessAndEvent/SafeGuide.aspx">KBO 경기장 안전정책</a></li> </ul> </div> </div> </div> </li> <li class="futures"> <a href="/Futures/Main.aspx">퓨처스리그</a> <div class="lnb-sub"> <ul class="lnb06"> <li><a href="/Futures/Schedule/GameList.aspx">경기일정・결과</a></li> <li><a href="/Futures/TeamRank/North.aspx">팀 순위</a></li> <li><a href="/Futures/Top/Main.aspx">TOP5</a></li> <li><a href="/Futures/Player/Hitter.aspx">기록실</a></li> <li><a href="/Futures/Player/Register.aspx">선수 등록 현황</a></li> </ul> </div> </li> <li id="market" class="market"><a href="https://www.kbomarket.com/" target="_blank">KBO 마켓</a></li> <li id="" class="kbofont" data-tab="KboFont"><a href="/Reference/etc/KboFont.aspx">KBO 폰트</a></li> <li id="lnbAll"> <a href="javascript:;">전체 메뉴</a> <div class="lnb-sub lnb-style-all"> <div class="wrapping lnb-all-wrap"> <div class="line line01"> <h3>전체 메뉴</h3> <div class="lnb-all menu01"> <h4>일정・결과</h4> <ul> <li><a href="/Schedule/Schedule.aspx">경기일정・결과</a></li> <li><a href="/Schedule/GameCenter/Main.aspx">게임센터</a></li> <li><a href="/Schedule/ScoreBoard.aspx">스코어보드</a></li> <li><a href="/Schedule/Allstar/Game/Main2024.aspx">올스타전</a></li> <li><a href="/Schedule/International/Etc/Premier2024.aspx">국제대회</a></li> <li><a href="/Schedule/Weather.aspx">야구장 날씨</a></li> </ul> </div> <div class="lnb-all menu02"> <h4>기록・순위</h4> <ul> <li><a href="/Record/Player/HitterBasic/BasicOld.aspx?sort=HRA_RT">기록실</a></li> <li><a href="/Record/TeamRank/TeamRankDaily.aspx">팀 순위</a></li> <li><a href="/Record/Ranking/Top5.aspx">선수 순위</a></li> <li><a href="/Record/History/Top/Hitter.aspx">역대 기록</a></li> <li><a href="/Record/Expectation/WeekList.aspx">예상 달성 기록</a></li> <li><a href="/Record/RecordCorrect/RecordCorrect.aspx">기록 정정 현황</a></li> <li><a href="/Record/Crowd/GraphTeam.aspx">관중 현황</a></li> </ul> </div> <div class="lnb-all menu03"> <h4>선수</h4> <ul> <li><a href="/Player/Search.aspx">선수 조회</a></li> <li><a href="/Player/Register.aspx">선수 등록 현황</a></li> <li><a href="/Player/Trade.aspx">선수 이동 현황</a></li> <li><a href="/Player/Awards/PlayerPrize.aspx">수상 현황</a></li> <li><a href="/Player/Legend40.aspx">레전드 40</a></li> <li><a href="/Player/CareerCertificate.aspx">경력증명서 신청</a></li> </ul> </div> <div class="lnb-all menu04"> <h4>미디어・뉴스</h4> <ul> <li><a href="/MediaNews/Highlight/List.aspx">하이라이트</a></li> <li><a href="/MediaNews/News/BreakingNews/List.aspx">뉴스</a></li> <li><a href="/MediaNews/Notice/List.aspx">KBO 보도자료</a></li> <li><a href="/MediaNews/UbivMarketer/VideoList.aspx">대학생 마케터</a></li> </ul> </div> <div class="lnb-all menu05"> <h4>퓨처스리그</h4> <ul> <li><a href="/Futures/Schedule/GameList.aspx">경기일정・결과</a></li> <li><a href="/Futures/TeamRank/North.aspx">팀 순위</a></li> <li><a href="/Futures/Top/Main.aspx">TOP5</a></li> <li><a href="/Futures/Player/Hitter.aspx">기록실</a></li> <li><a href="/Futures/Player/Register.aspx">선수 등록 현황</a></li> </ul> </div> </div> <div class="line line02"> <h3>KBO</h3> <div class="lnb-all menu07"> <h4>KBO 리그</h4> <ul> <li><a href="/Kbo/League/GameManage2024.aspx">2024 규정∙규칙 변화</a></li> <li><a href="/Kbo/League/GameManageRule/GameManage.aspx">경기운영제도</a></li> <li><a href="/Kbo/League/TeamInfo.aspx">구단 소개</a></li> <li><a href="/Kbo/League/TeamHistory.aspx">구단 변천사</a></li> <li><a href="/Kbo/League/Map.aspx">티켓 안내</a></li> </ul> </div> <div class="lnb-all menu08"> <h4>게시판</h4> <ul> <li><a href="/Kbo/Board/Notice/List.aspx">NOTICE</a></li> <li><a href="/Kbo/Board/Faqs/List.aspx">자주 하는 질문</a></li> <li><a href="/Kbo/Board/Ebook/EbookPublication.aspx">규정・자료실</a></li> </ul> </div> <div class="lnb-all menu09"> <h4>ABOUT KBO</h4> <ul> <li><a href="/Kbo/AboutKbo/GroupAndActivity.aspx">조직・활동</a></li> <li><a href="/Kbo/AboutKbo/Logo/Logo.aspx">KBO 로고</a></li> <li><a href="/Kbo/AboutKbo/Committee/OrganizationChart.aspx">기록위원회</a></li> <li><a href="/Kbo/AboutKbo/MedicalCommittee/MedicalOrganization.aspx">의무위원회</a></li> </ul> </div> <div class="lnb-all menu10 "> <h4>주요 사업・행사</h4> <ul> <li><a href="/Kbo/BusinessAndEvent/SafeGuide.aspx">KBO 경기장 안전정책</a></li> </ul> </div> </div> </div> <div class="btn-close"> <a href="javascript:;"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/common/btn_close_fff.png" alt="" /> <span>닫기</span> </a> </div> </div> </li> </ul> </nav> </div> </div> </header> <!-- // header --> <hr /> <!-- container --> <section id="container"> <div class="wrapping container-wrap"> <aside> <h3>선수</h3> <ul id="snb"> <li><a href="/Player/Search.aspx" id="lnbPlayerSearch">선수 조회</a></li> <li><a href="/Player/Register.aspx" id="lnbPlayerRegister">선수 등록 현황</a></li> <li><a href="/Player/Trade.aspx" id="lnbPlayerTrade">선수 이동 현황</a></li> <li><a href="/Player/Awards/PlayerPrize.aspx" id="lnbPlayerAwards">수상 현황</a></li> <li><a href="/Player/Legend40.aspx" id="lnbLegend">레전드 40</a></li> <li><a href="/Player/CareerCertificate.aspx" id="lnbCareerCertificate">경력증명서 신청</a></li> </ul> </aside> <div id="contents"> <!--sub title & location --> <div class="location"> <span class="home"><a href="/Default.aspx"><img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/common/ico_home.gif" alt="홈으로" /></a></span> > <span class="depth1"><a href="/Player/Search.aspx">선수</a></span> > <span class="depth2"><a href="/Player/Legend40.aspx">레전드 40</a></span> </div> <h4 class="tit-page">레전드 40</h4> <!-- // sub title & location --> <div class="sub-content"> <a href="https://m.sports.naver.com/kbo40/index" target="_blank"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/sub/img_40th_banner.png" alt="KBO 40주년" /> </a> <div class="legend-box"> <img class="tit-banner" src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/sub/img_40th_test2.png" alt="KBO 40주년 - 띠 배너" /> <ul class="legend-list"> <li> <a style="background-image:url(//lgcxydabfbch3774324.cdn.ntruss.com/KBO_FILE/legend/images/2022/07/27/img_40th_test.png);" alt= "no-image"> </a> </li> </ul> </div> </div> </div> </div> </section> <!-- // container --> <hr /> <!-- footer --> <footer> <div id="fnb"> <div class="wrapping fnb-wrap"> <ul class="fnb-list"> <li class="privacy"><a href="/Etc/Privacy.aspx">개인정보 처리방침</a></li> <li><a href="/Schedule/ScoreBoard.aspx">문자중계</a></li> <li><a href="/Kbo/Board/Faqs/List.aspx">고객질문</a></li> <li><a href="/Etc/SiteMap.aspx">사이트맵</a></li> </ul> </div> </div> <div id="kboInfo" class="wrapping"> <h2><a href="/Etc/PressRelease.aspx"><img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/common/h2_logo.png" alt="KBO" /></a></h2> <address class="kbo-info"> <div class="address01"> <p>(사)한국야구위원회 | 서울시 강남구 강남대로 278 | 02)3460-4600</p> </div> </address> <div class="copyright"> <span>Copyrightⓒ KBO, All Rights Reserved.</span> </div> <div class="certification"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/img_certification.png" alt="w3c xhtml 3.0, Verisign" /> </div> </div> </footer> <!-- // footer --> </div> <!-- // wrap --> </form> <script type="text/javascript"> $(document).ready(function () { currentLnb("Legend"); getBox(); }); // 레전드 40 데이터 Get function getBox() { var request = $.ajax({ type: "post" , url: "/ws/board.asmx/GetLegend" , dataType: "json" , error: ajaxFailed , async: true }); request.done(function (data) { if (data.code == "100") { setBox(data.row); } }); } // 레전드 40 데이터 Set function setBox(data) { $(".legend-box").remove(); for (let i = 0; i < data.length; i++) { var playerData = data[i]; let $div = $("<div>").attr("class", "legend-box"); let $img = $("<img>").attr("class", "tit-banner").attr("src", "//lgcxydabfbch3774324.cdn.ntruss.com/KBO_FILE/" + playerData[0]).attr("alt", "KBO 40주년 - 띠 배너"); let $ul = $("<ul>").attr("class", "legend-list"); for (let j = 1; j < 5; j++) { var playerArray = playerData[j]; let $li = $("<li>", {}); let $a = $("<a>").attr("href", String.format("{0}", playerArray.player_lk)).attr("target", "_blank"); let player_img = playerArray.player_img.toString().replace(" ", ""); $a.css({ "background": String.format("url({0})", "//lgcxydabfbch3774324.cdn.ntruss.com/KBO_FILE/" + player_img) }); let $p = $("<p>"); $p.append(playerArray.player_tt); $a.append($p); $li.append($a); $ul.append($li); } $div.append($img).append($ul); $(".sub-content").append($div); } } </script> <script type="text/javascript"> $(document).ready(function () { // 선수 검색 $(document).on("click", "#btnTopPlayerSearch", function (e) { getPlayerSearch(); e.preventDefault(); }); // 선수 검색 엔터 $(document).on("keypress", "#txtTopPlayerWord", function (e) { if (event.keyCode == 13) { getPlayerSearch(); e.preventDefault(); } }); //// 선수 검색 마우스 아웃 //$("body").click(function (e) { // var container = $("#player_search_area"); // if (container.css("display") == "block") { // if (!container.has(e.target).length) { // container.hide(); // } // } //}); // 21.06.29 | veron | 나중에 탭들 다 지우고 배너 다시 원복 후 이부분 삭제해야함 // 8월 15일 00시 지나가면 삭제 //if (new Date().getTime() > new Date("2021/08/15 00:00:00").getTime()) { // // 위에 탭 삭제 // $(".menu04 li:last").remove(); // $(".lnb-sub ul.lnb04 li:last").remove(); // // Player.master 삭제 // $("#liRookie").remove(); // // 메인 배너 교체 // $("#imgGijang").attr("href", "http://gijangcmc.or.kr/baseball/main/main.asp"); // $("#imgGijang img").attr("src", "//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/img_banner01.jpg"); //} // 2023 미디어데이 if (new Date().getTime() < new Date("2023/03/22 09:00:00")) $('.lnbMedia').hide(); // SaveSacrifice if (new Date().getTime() < new Date("2023/04/01 09:00:00")) $('[data-tab=SaveSacrifice]').hide(); // draft // 2024.09.02 11시 이전 또는 2024.09.03 00:30 이후로는 표출 숨김 if (new Date().getTime() < new Date("2024/09/03 11:00:00") || new Date().getTime() > new Date("2024/09/04 00:30:00")) $('[data-tab=DraftApplication]').hide(); // KBO 시상식 if (new Date().getTime() < new Date("2024/11/21 10:00:00") || new Date().getTime() > new Date("2024/11/22 00:30:00")) $('[data-tab=MvpApplication]').hide(); // KBO 골든글러브 if (new Date().getTime() < new Date("2023/12/06 10:00:00")) $('[data-tab=GGApplication]').hide(); }); // 선수 검색 function getPlayerSearch() { if ($("#txtTopPlayerWord").val() == "") { alert("선수명은 필수 입니다."); $("#txtTopPlayerWord").focus(); return false; } else { //var searchWord = encodeURI($("#txtTopPlayerWord").val()); //if (searchWord != "") { // location.href = "/Player/Search.aspx?searchWord=" + searchWord; //} var request = $.ajax({ type: "post" , url: "/ws/Controls.asmx/GetSearchPlayer" , dataType: "json" , data: { name: $("#txtTopPlayerWord").val() } , error: ajaxFailed , async: true }); request.done(function (data) { if (data.code == "100") { var container = $(".search-result"); container.children().remove(); container.hide(); if (data.now.length > 0 || data.retire.length > 0) { // 2017-05-22 yeeun, 홍지희 사원 요청, 결과가 1명일 경우 바로 페이지 연결 if (data.now.length + data.retire.length == 1) { var link = ""; if (data.now.length == 1) { link = data.now[0]["P_LINK"]; } else { link = data.retire[0]["P_LINK"]; } location.href = link; } else { if (data.now.length > 0) { container.append($("<h4>등록 선수</h4>")); var div = $("<div class='active' />"); div.children().remove(); setPlayerDiv(data.now, div, true); container.append(div); } if (data.retire.length > 0) { container.append($("<h4>역대 선수</h4>")); var div = $("<div class='retire'/>"); div.children().remove(); setPlayerDiv(data.retire, div, false); container.append(div); } //container.append($(String.format("<p><a href='/Player/Search.aspx?searchWord={0}''>'{0}' 검색결과 모두 보기</a></p>", $("#txtTopPlayerWord").val()))); container.append($("<p><a href='/Player/Search.aspx?searchWord=" + $("#txtTopPlayerWord").val() + "''>'" + $("#txtTopPlayerWord").val() + "' 검색결과 모두 보기</a></p>")); container.show(); } } else { container.append($("<p class='null'>검색 결과가 없습니다.</p>")); container.show(); } } }); } } // 선수 검색 div function setPlayerDiv(list, div, isActive) { $.each(list, function (index, player) { var aLink = $("<a />"); aLink.attr("href", player["P_LINK"]); var dl = $("<dl />"); var dt = $("<dt />"); var backNo = ""; if (isActive) { //backNo = String.format("No.{0}", player["BACK_NO"]); backNo = "No." + player["BACK_NO"]; } //dt.text(String.format("{0} {1}", player["P_NM"], backNo)); dt.text(player["P_NM"] + " " + backNo); dl.append(dt); var dd = $("<dd />"); //dd.text(String.format("{0} {1}({2})", player["T_NM"], player["POS_NO"], player["P_TYPE"])); dd.text(player["T_NM"] + " " + player["POS_NO"] + "(" + player["P_TYPE"] + ")"); dl.append(dd); var ddImg = $(String.format("<dd class='btn-arrow'><img src='{0}/resources/images/common/btn_arrow_search.png' alt='' /></dd>", "//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome")); dl.append(ddImg); aLink.append(dl); div.append(aLink); }); } </script> </body> </html>