CINXE.COM
메인 | KBO
<!DOCTYPE html> <html lang="ko"> <head><title> 메인 | 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/main.min.css?version=20241107" /> <script type="text/javascript" charset="utf-8" src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/min/js/S2i.GameList-1.0.0.min.js?version=20241107"></script> <script type="text/javascript" charset="utf-8" src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/min/js/S2i.AjaxHtml-1.0.0.min.js?version=20241107"></script> <script type="text/javascript" charset="utf-8" src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/min/js/jquery.ba-throttle-debounce.min.js?version=20241107"></script> <script type="text/javascript" charset="utf-8" src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/min/js/main-ui.min.js?version=20241107"></script> <script type="text/javascript" charset="utf-8" src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/min/js/popupControl.min.js?version=20241107"></script> <script type="text/javascript" charset="utf-8" src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/min/js/jquery.cookie.min.js?version=20241107"></script> <script src="https://players.brightcove.net/6415825029001/default_default/index.min.js"></script> <link rel="stylesheet" type="text/css" href="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/min/css/jquery.mCustomScrollbar.min.css?version=20241107"> <script type="text/javascript" charset="utf-8" src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/min/js/jquery.mCustomScrollbar.min.js?version=20241107"></script> </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="./Default.aspx" id="mainForm"> <div class="aspNetHidden"> <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUINjI0OTUxMDFkZNcUJWFKOQ9OipK7ycfDQye7YoqoJ1Y6uLNd12Zbo/0+" /> </div> <div class="aspNetHidden"> <input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="CA0B0334" /> </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="mainVisual" class="main-visual"> <div class="wrapping"> <div class="part mr20" style="width:647px;"> <ul class="visual" id="ulSlideBanner"> <li><a href="" style="background:url('//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/banner_main.png')"></a></li> </ul> <div id="postseasonSchedule" class="wildcard" style="display: none;"></div> </div> <div class="part" style="width:calc(100% - 667px);"> <span class="btn-more"><a id="rankMore" class="btn" href="/Record/TeamRank/TeamRank.aspx">더보기</a></span> <span class="btn-more" style="display:none"><a class="btn" href="/Record/Ranking/Top5.aspx">더보기</a></span> <ul class="title"> <li class="prev"> <a href="#none;" id="btnRankingPrev"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/btn_prev.png" alt="" /> </a> </li> <li class="name"> <h4 id="rankTitle" nowtype="post"> TEAM RANKING </h4> </li> <li class="next"> <a href="#none;" id="btnRankingNext"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/btn_next.png" alt="" /> </a> </li> </ul> <ul id="ulRanking"> <li class="player-ranking" id="divRegular" style="display:none"> <div class="tab-area" id="tabRanking"> <ul id="tabPlayerRank" class="tab tab3"> <li class="tab-tit on" section="hit"><a href="#none">타자</a></li> <li class="tab-tit" section="pit"><a href="#none">투수</a></li> <li class="tab-tit" section="week"><a href="#none">주간 랭킹</a></li> </ul> <div id="hitterRank" class="tbl-keyplayer tab-cont hitter" style="display: block;"> <table id="tblHitterRank" class="tbl" summary="PLAYER RANKING 타자 (타율, 홈런, 타점)"> <caption>PLAYER RANKING 타자</caption> <colgroup> <col width="8%" /> <col width="25%" /> <col width="8%" /> <col width="25%" /> <col width="8%" /> <col width="25%" /> </colgroup> <thead> <tr> <th> </th> <th>타율</th> <th> </th> <th>홈런</th> <th> </th> <th>타점</th> </tr> </thead> </table> </div> <div id="pitcherRank" class="tbl-keyplayer tab-cont pitcher" style="display: none;"> <table id="tblPitcherRank" class="tbl" summary="PLAYER RANKING 투수 (평균자책점, 승리, 탈삼진)"> <caption>PLAYER RANKING 타자</caption> <colgroup> <col width="8%" /> <col width="25%" /> <col width="8%" /> <col width="25%" /> <col width="8%" /> <col width="25%" /> </colgroup> <thead> <tr> <th> </th> <th>평균자책점</th> <th> </th> <th>승리</th> <th> </th> <th>탈삼진</th> </tr> </thead> </table> </div> <div id="weeklyRank" class="tbl-keyplayer tab-cont weekly" style="display: none;"> <table id="tblWeekRank" class="tbl" summary="주간랭킹 (타율, 홈런, 안타)"> <caption>PLAYER RANKING 타자</caption> <colgroup> <col width="8%" /> <col width="25%" /> <col width="8%" /> <col width="25%" /> <col width="8%" /> <col width="25%" /> </colgroup> <thead> <tr> <th> </th> <th>타율</th> <th> </th> <th>홈런</th> <th> </th> <th>안타</th> </tr> </thead> </table> </div> <p id="lblPlayerRank" class="sub-script txt-r"></p> <p id="lblWeekRank" class="sub-script txt-r" style="display:none;"></p> </div> </li> <li class="team-ranking on" id="divTeamRank" style="display:none"> <table id="tblTeamRank" class="tbl" summary="TEAM RANKING (순위, 팀명, 승, 패, 무, 승률, 게임차, 연속)"> <caption>TEAM RANKING 표</caption> <colgroup> <col width="11%" /> <col width="12%" /> <col width="11%" /> <col width="8%" /> <col width="8%" /> <col width="7%" /> <col width="15%" /> <col width="15%" /> <col width="13%" /> </colgroup> <thead> <tr> <th>순위</th> <th>팀명</th> <th>경기</th> <th>승</th> <th>패</th> <th>무</th> <th>승률</th> <th>게임차</th> <th>연속</th> </tr> </thead> <tbody> </tbody> </table> <p id="lblTeamRank" class="sub-script"></p> </li> <li class="post-match" id="divPost" style="display:none"> </li> </ul> </div> </div> </section> <section id="LiveRelay" class=""> <div class="game-schedule"> <div class="date-select"> <ul class="date"> <li class="prev"> <a href="#none;" id="lnkPrev"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/btn_prev.png" alt="" /> </a> </li> <li class="today"><span class="date-txt" id="lblGameDate"></span></li> <li class="next"> <a href="#none;" id="lnkNext"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/btn_next.png" alt="" /> </a> </li> </ul> <!--<div class="btn-schedule-all"> <a id="btnScheduleAll" class="btn" href="/Schedule/Schedule.aspx">전체일정 보기</a> <a href="#nbsp;" id="btnGameRefresh" class="btn-refresh ml5"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/common/btn_refresh_s.png" alt="새로고침" /></a> </div>--> <div class="btn-wrap"> <!--<div class="btn-weather"><a class="btn" href="/Main/PopWeather.aspx" id="btnWeather" onclick="window.open(this, 'tvCast', 'toolbar=no, scrollbars=yes, width=755px, height=340px');return false;" target="_blank">날씨설명</a></div> <div class="btn-broadcast"><a class="btn" href="/Main/PopBroadCast.aspx?gameDate=20170314" id="btnBroadCast" onclick="window.open(this, 'tvCast', 'toolbar=no, scrollbars=yes, width=755px, height=580px');return false;" target="_blank">중계일정</a></div>--> <div class="btn-raincancel"><a class="btn" href="/Main/PopRainCancel.aspx" id="" onclick="window.open(this, '', 'toolbar=no, width=750px, height=520px');return false;" target="_blank">경기취소 규정</a></div> <div class="btn-issue"> <a href="#" id="btnLiveIssue" class="btn" target="_blank">경기이슈</a> </div> <div class="btn-futures-main"> <span class="btn-more"><a class="btn" href="/Futures/Main.aspx" id="btnFuturesMain">퓨처스리그 메인 바로가기 </a></span> </div> </div> <div class="btn-wrap right"> <div class="mr0"> <input type="text" id="txtGameDate" style="display: none;" /> </div> </div> </div> <div class="tab-league"> <ul class="tab"> <li class="tab-main-tit" le-id="1" sr-id="0" id="leagueRegular"><a href="#none">KBO 정규시즌</a></li> <li class="tab-main-tit on" le-id="1" sr-id="8" id="interGame"><a href="#none">프리미어 12</a></li> <li class="tab-main-tit" le-id="1" sr-id="3,4,5,7" id="leaguePost"><a href="#none">KBO 포스트시즌</a></li> </ul> </div> <input type="hidden" id="nowDate" /> <input type="hidden" id="BeforeDate" /> <input type="hidden" id="AfterDate" /> <!-- 경기 일정 --> <div class="today-game"> <ul class="game-list-n"> </ul> </div> <!-- // 경기 일정 --> </div> <div class="game-info"> <h4 class="tit-info dp-none" id="lblGameTitle" style=""></h4> <div class="tab-info" id="gameTab"> <ul class="tab" id="tabGame"></ul> </div> <div class="tab-cont" id="gameDetail"></div> <!-- 퓨쳐스리그 컨텐츠 --> <div id="FL" class=""> <h4 class="tit-info"><span class="logo"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/common/logo_futures_s.png" alt=""></span>PLAYER RANKING</h4> <div class="tab-info" id="tabFL1"> <ul id="tabFutures" class="tab tab2"> <li class="tab-tit on" section="hit"><a href="#none">타자</a></li> <li class="tab-tit" section="pit"><a href="#none">투수</a></li> </ul> <div id="futuresPlayerRank" class="tab-cont"></div> </div> <div id="futuresTeamRank"></div> </div> <!-- // 퓨쳐스리그 컨텐츠 --> </div> </section> <section id="service"> <div class="service-wrap"> <div class="wrapping"> <ul class="service-box"> <li> <a href="/Schedule/GameCenter/Main.aspx"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/icon_service1.png" alt="게임센터" /> </a> <p>게임센터</p> </li> <li> <a href="/Record/Player/HitterBasic/Basic1.aspx"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/icon_service2.png" alt="기록실" /> </a> <p>기록실</p> </li> <li> <a href="/MediaNews/Highlight/List.aspx"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/icon_service3.png" alt="하이라이트" /> </a> <p>하이라이트</p> </li> <li> <a href="https://www.kborc.com/main.do" target="_blank" rel='noopener noreferrer'> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/icon_service4.png" alt="비디오 판독" /> </a> <p>비디오 판독</p> </li> <li> <a href="/Record/TeamRank/TeamRank.aspx"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/icon_service5.png" alt="팀 순위" /> </a> <p>팀 순위</p> </li> <li> <a href="/Player/Search.aspx"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/icon_service6.png" alt="선수" /> </a> <p>선수</p> </li> <li> <a href="/Kbo/League/GameManageRule/GameTimeAvg.aspx"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/icon_service11.png" alt="평균경기시간" /> </a> <p>평균경기시간</p> </li> <li> <a href="https://www.kbomarket.com" target="_blank" rel='noopener noreferrer'> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/icon_service7.png" alt="마켓" /> </a> <p>마켓</p> </li> <li> <a href="http://www.cleankbo.com" target="_blank" rel='noopener noreferrer'> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/icon_service8.png" alt="클린베이스볼" /> </a> <p>클린베이스볼</p> </li> <li> <a href="http://www.koreabaseballmuseum.com" target="_blank" rel='noopener noreferrer'> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/icon_service9.png" alt="야구박물관" /> </a> <p>야구박물관</p> </li> <li> <a href="https://certificate.koreabaseball.com" target="_blank" rel='noopener noreferrer'> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/icon_service10.png" alt="증명서" /> </a> <p>증명서</p> </li> </ul> </div> </div> </section> <section id="news"> <div class="wrapping"> <div class="news-box"> <h4> KBO 소식 <span class="btn-more"><a href="/MediaNews/Notice/List.aspx" class="btn">더보기</a></span> </h4> <ul class="news-list" id="ulNotice"> </ul> </div> <div class="news-box"> <h4> KBO 뉴스 <span class="btn-more"><a href="/MediaNews/News/BreakingNews/List.aspx" class="btn">더보기</a></span> </h4> <ul class="news-list" id="ulNews"> </ul> </div> <div class="news-box"> <h4> 선수 이동 현황 <span class="btn-more"><a href="/Player/Trade.aspx" class="btn">더보기</a></span> </h4> <ul class="news-list" id="ulTrade"> </ul> </div> </div> </section> <section id="partners"> <div class="wrapping"> <div class="kbo-club"> <ul class="club-list"> <li><a href="http://www.tigers.co.kr" target="_blank"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/emblem/regular/2022/HT.png" alt="KIA 타이거즈" /></a></li> <li><a href="http://www.samsunglions.com/" target="_blank"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/emblem/regular/2022/SS.png" alt="삼성 라이온즈" /></a></li> <li><a href="http://www.lgtwins.com/" target="_blank"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/emblem/regular/2022/LG.png" alt="LG 트윈스" /></a></li> <li><a href="http://www.doosanbears.com/" target="_blank"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/emblem/regular/2022/OB.png" alt="두산 베어스" /></a></li> <li><a href="http://www.ktwiz.co.kr/sports/site/baseball/main.do" target="_blank"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/emblem/regular/2022/KT.png" alt="kt wiz" /></a></li> <li><a href="http://www.ssglanders.com" target="_blank"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/emblem/regular/2024/SK.png" alt="SSG 랜더스" /></a></li> <li><a href="http://www.giantsclub.com/html/" target="_blank"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/emblem/regular/2022/LT.png" alt="롯데 자이언츠" / ></a></li> <li><a href="http://www.hanwhaeagles.co.kr/" target="_blank"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/emblem/regular/2025/HH.png" alt="한화 이글스" /></a></li> <li class="nc"><a href="https://www.ncdinos.com/" target="_blank"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/emblem/regular/2022/NC.png" alt="NC 다이노스" /></a></li> <li><a href="http://www.heroesbaseball.co.kr/index.do" target="_blank"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/emblem/regular/2022/WO.png" alt="키움 히어로즈" /></a></li> </ul> </div> </div> </section> <section id="hightlightZone"> <h4> <a href="/MediaNews/Highlight/List.aspx"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/icon_kbo.png" alt="하이라이트" /> 하이라이트 </a> <span class="btn-more"><a href="/MediaNews/Highlight/List.aspx" class="btn">더보기</a></span> </h4> <div class="wrapping"> <ul id="ulHighlight" class="movie-list"> </ul> </div> </section> <section id="KBOMovie"> <h4> <a href="https://www.kborc.com/main.do" target="_blank"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/icon_kbo.png" alt="비디오판독" /> 비디오판독 </a> <span class="btn-more"><a class="btn" href="https://www.kborc.com/main.do" target="_blank">더보기</a></span> </h4> <div class="wrapping"> <ul id="KBOMovieUl" class="movie-list"> <li class="no-img"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/no_img_video.png" alt="비디오 판독 영상을 업데이트 중입니다" /> </li> </ul> </div> </section> <section id="insta"> <h4> <a href="https://www.instagram.com/kbo.official/" target='_blank' rel='noopener noreferrer' > <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/icon_insta.png" alt="인스타그램" /> </a> INSTAGRAM </h4> <div class="wrapping"> <ul class="sns-list"> <li class="no-img dp-none"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/no_img_insta.png" alt="no-img" /> </li> <li> <div class="link"> <a href="https://tv.naver.com/kboofficial" target="_blank"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/btn_tv.png?ver=0329" alt="tv" /> </a> <a href="https://tv.kakao.com/channel/2658166/video" target="_blank"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/btn_kakao.png?ver=0329" alt="kakao" /> </a> <a href="https://m.post.naver.com/my.nhn?memberNo=29153969" target="_blank"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/btn_naver.png?ver=0329" alt="naver" /> </a> <a href="https://www.instagram.com/kbo.official/" target="_blank"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/btn_insta.png?ver=0329" alt="insta" /> </a> <a href="https://goo.gl/2ov0I3" target="_blank"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/btn_youtube.png?ver=0329" alt="youtube" /> </a> <a href="https://www.tiktok.com/@kbo.official?is_from_webapp=1&sender_device=pc" target="_blank"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/btn_tiktok.png?ver=0329" alt="tiktok" /> </a> <a href="https://goo.gl/TI6IPH" target="_blank"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/btn_facebook.png?ver=0329" alt="facebook" /> </a> <a href="https://play.google.com/store/apps/details?id=com.sports2i.kbo" target="_blank"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/btn_kbo.png?ver=0329" alt="kbo" /> </a> </div> </li> </ul> </div> </section> <section id="youtube"> <h4> <a href="https://www.youtube.com/channel/UCoVz66yWHzVsXAFG8WhJK9g" target='_blank' rel='noopener noreferrer'> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/icon_youtube.png" alt="YOUTUBE" /> </a> YOUTUBE </h4> <div class="wrapping"> <ul id="youtubeUl" class="movie-list"> </ul> </div> </section> <section id="KBOBanner"> <div class="wrapping"> <div class="sponBanner"> <a href="" id="aSponBanner"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/banner_sponsor.png" /> </a> <a href="" id="aSponBanner2" style="display:none"> </a> </div> <!-- <div class="noticeBanner" style="height:144px;"> <ul id="noticeSlidebanner"> <li><a href=""><img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/banner_notice.png" /></a></li> </ul> </div> --> </div> </section> <section id="sponsor"> <div class="wrapping"> <ul class="sponsor-list"> <li> <a href="https://www.shinhan.com/index.jsp" target="_blank"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/img_spon2022_shinhan.png?ver=0324" alt="신한은행" /> </a> </li> <li> <a href="https://www.donga-otsuka.co.kr/" target="_blank"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/img_spon2024_pocari.jpg?ver=0324" alt="동아오츠카(포카리스웨트)" /> </a> </li> <li> <a href="http://www.shell.co.kr/" target="_blank"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/img_spon2024_shell.jpg?ver=0324" alt="쉘힐릭스" /> </a> </li> <li> <a href="http://ticket.interpark.com/Contents/Sports" target="_blank"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/img_spon2023_interpark.png?ver=0324" alt="인터파크" /> </a> </li> <li> <a href="https://psynet3.imweb.me/livescore" target="_blank"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/img_spon2024_live.jpg?ver=0324" alt="사이넷" /> </a> </li> <li> <a href="https://web.dominos.co.kr/main" target="_blank"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/img_spon2022_pizza.png?ver=0324" alt="도미노피자" /> </a> </li> <li> <a href="http://www.hyfresh.co.kr/main.do" target="_blank"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/img_spon2022_yakult.png?ver=0324" alt="한국야쿠르트" /> </a> </li> <li> <a href="https://bit.ly/3viiSmJ" target="_blank"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/img_spon2024_wemade.jpg?ver=0324" alt="위메이드" /> </a> </li> <li> <a href="https://www.prospecs.com" target="_blank"> <img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/img_spon2024_prospecs.jpg?ver=0324" alt="프로스펙스" /> </a> </li> </ul> </div> </section> <div class="modal dp-none"></div> <div id="mainPopup-modal" class="event-wrap dp-none"> <div id="box-mainContent-modal" class="video"></div> <a href="#" id="popupVideo"><img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/popup/event-btn1.png" alt="KBO 홈페이지 바로가기" /></a> <a href="#none" id="popupMoreInfo" target="_blank"><img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/popup/event-btn3.png" alt="자세히 보기" /></a> <p> <label><input type="checkbox" id="popValCheck" value="" /> 오늘 하루 보지 않기</label> </p> </div> <div class="pop-movie dp-none"> <p class="tit">04.03 NC:SK (문학)</p> <a class="btn-close" href="#none"><img src="//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/icon_close.png" alt="닫기" /></a> <div class="cont"></div> <p class="info">판독정보</p> <div class="info-box"> <ul> <li><span>판독이닝</span>8회초</li> <li><span>요청팀</span>NC</li> <li><span>소요시간</span>1분 0초</li> <li><span>최초판정</span>아웃</li> <li><span>최종판정</span>아웃</li> <li><span>판독결과</span>원심</li> <li><span>유형</span>홈런</li> <li><span>방송국</span>SPOTV</li> </ul> </div> </div> <!-- // 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 () { let date = new Date(); // 24.05.27, 올스타전 세션 스토리지 //try { // if (Request("vote") == "true") { // sessionStorage.setItem("vote", "true"); // } // var allstarTimeCheck = date.getTime() < new Date("2024/08/01 00:00:00").getTime(); // if (allstarTimeCheck && sessionStorage.getItem("vote") != "true") { // location.href = "https://allstar.koreabaseball.com"; // return; // } //} catch (e) { } $.datepicker.setDefaults($.datepicker.regional['ko']); let nowDate = $.datepicker.formatDate('yymmdd', date); let check = true; document.addEventListener('scroll', function () { if (check) { //console.log('currentScrollValue is ' + currentScrollValue); getPlayerTrade(); // 선수이동현황 getNoticeBanner(); // 노티스 배너 getHomeBanner(); // KBO 배너 getSponBanner(); // 스폰서 배너 //getSponBanner2(); // 스폰서2 배너 setHighlight(2024); // 하이라이트 setPressRelease(); // KBO 소식 setNews(); // KBO NEWS getVedio(2024); // 비디오 판독 check = false; } }); //if (Request("notshow") == "true") { // $.cookie("notshow", true, { expires: 1 }); //} //let allstarBannerStart = new Date(2020, 10, 1, 09, 00); ////let allstarBannerEnd = new Date(2020, 9, 31, 00, 00); ////if ((new Date() > allstarBannerStart) && (new Date() < allstarBannerEnd)) { //if (new Date() > allstarBannerStart) { // $('#newBanner').attr('href', 'https://m.shinhan.com/rib/mnew/index.jsp?cr=220011320000&EVNT_SEQ=4128&utm_source=kboweb&utm_medium=cpc&utm_campaign=POPREWARD'); // $('#newBanner img').attr('src', '//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/img_spon2020_shinhan_1030.png'); //} //if (Request("notshow") == "true") { // $.cookie("notshow", true, { expires: 1 }); //} setDateEvent(); // 시리즈 자동화 지정 initControl(); // 초기 컨트롤 세팅 setMainPopup(); // 초기 진입 영상 //getPostSeasonSeries(); // 2017-09-28 yeeun, 포스트시즌 체크(시즌 종료시 주석처리) //setPostSeasonSeed() setTeamRank(); // 팀 순위 getTopBanner(); // 상단 슬라이드 getGameDate(nowDate); // 경기일정 getHitterRank(); // 타자 순위 //getPitcherRank(); // 투수순위 --> #tabPlayerRank 클릭 이벤트 안으로 이동 //getWeekRank(); // 주간순위 --> #tabPlayerRank 클릭 이벤트 안으로 이동 //setNewsTab(); // 2017-12-08 yeeun, 시즌끝나서 속보로 디폴트 경기종료 따라 NEWS 선택변경 (경기전:프리뷰, 경기종료:속보) //getTimeLine(); // TIMELINE --> 2021 리뉴얼 시 삭제 //setPressRelease(); // KBO 소식 //setNews(); // KBO NEWS //getVedio(2024); // 비디오 판독 //setOfficialVideoTop3(); //공식영상 TOP3 --> 2021 리뉴얼 시 삭제 getSubNoticeBanner(""); // 서브 NOTICE (119 제외) getDownBanner(); // 하단 배너 //setSaveSacrifice(); // 희명병원 --> 2021 리뉴얼 시 삭제 //getSubNoticeBanner("btogether"); //서브 NOTICE (119 포함) //setBannerCount(); //신한은행 배너 클릭 카운트 // btogether //getMainBTogether119(); CheckCache(); //==> 인스타그램 캐시 확인 함수 getYoutube(); //$(".ui-datepicker-trigger").click(function (e) { // alert(e.pageX + "||" + e.pageY + "////" + e.clientX + "||" + e.clientY); //}); //if ($("#ui-datepicker-div").is($("#ui-datepicker-div").show())) { // $("#ui-datepicker-div").hide(); //} else { // $("#ui-datepicker-div").show(); //} //$(document).on("click", ".ui-datepicker-trigger", function (e) { // alert("22") // //x = e.clientX; // //y = e.clientY; // //alert('x좌표:' + x + ', y좌표:' + y); //}); selectFirstShowRankTab("postseason"); // 상단 랭킹 탭 setEventBinding(nowDate); // 이벤트 바인딩 //setTiebreakDate(); // 타이브레이크 종료시 주석 //getSaveSacrifice() // Save & Sacrifice 캠페인 $("#btnLiveIssue").click(function (e) { e.preventDefault(); var url = e.target.href; window.open(url, 'pop', 'toolbar=no,menubar=no,location=no,scrollbars=no,status=no, width=980, height=' + screen.availHeight + ''); return false; }) }); // 초기화 function initControl() { var minYear = 2010; var maxYear = getGameMaxYear("0,1,3,4,5,7,9"); //new Date().getFullYear(); $('#txtGameDate').datepicker({ dateFormat: 'yymmdd' , minDate: '20100306' , showOn: "button" , buttonImage: "//lgcxydabfbch3774324.cdn.ntruss.com/KBO_IMAGE/KBOHome/resources/images/main/btn_calendar.png" , buttonImageOnly: true , beforeShow: function (textbox, instance) { instance.dpDiv.css({ marginTop: '30px', marginLeft: '-163px' }); }, onSelect: function (selectedDate) { getGameDate(selectedDate); // 2021까지 메인에서 일정 바뀜 // 22.09.23 (추가) 다시 월별일정 -> 메인 일정변경으로 수정 //getMonthCalendar(selectedDate); // 2022부터 월별일정으로 이동 $(".tab-depth1").addClass("dp-none"); }, changeMonth: true, changeYear: true, yearRange: String.format("{0}:{1}", minYear, maxYear), yearSuffix: '' }); $("#txtGameDate").val($.datepicker.formatDate('yymmdd', new Date())); $("#lblGameDate").text($.datepicker.formatDate('yy.mm.dd(D)', new Date())); $(".game-info").hide(); $("#FL").hide(); // KBO베너 if ($("#ulKboBanner").children().length > 1) { $('#ulKboBanner').bxSlider({ controls: true, auto: true, pause: 15000, pager: true, infiniteLoop: true }); } // 하단 스폰서 리스트 if ($("#sponsor ul.sponsor-list").children().length > 7) { $('.sponsor-list').bxSlider({ auto: true , pause: 3000 , pager: false , controls: false , autoStart: true , autoControls: false , slideWidth: 148 , minSlides: 7 , maxSlides: 7 , moveSlides: 1 , slideMargin: 10 , infiniteLoop: true , hideControlOnEnd: true }); } } // 타이브레이크 순위결정전 날짜 변경 숨김 //function setTiebreakDate() { // $("#lnkPrev").parent().hide(); // $("#lnkNext").parent().hide(); // $("#txtGameDate").next().hide(); //}; // 이벤트 세팅 function setEventBinding(nowDate) { // 리그 탭 $(document).on("click", ".tab-league > ul > li > a", function (e) { var tab = $(this).parents("li"); tab.addClass("on").siblings().removeClass("on"); var leId = tab.attr("le-id"); var srId = tab.attr("sr-id"); var seasonId = tab.attr("season_id"); let types = String(tab.attr("match-type")).split(' '); $("#FL").hide(); $("#lblGameTitle").hide(); $("#gameTab").hide(); $("#gameDetail").hide(); if (leId == "1" && srId == "6" && types[0] == "tiebreaker") { $("#lnkPrev").parent().hide(); $("#lnkNext").parent().hide(); $("#txtGameDate").next().hide(); getTiebreakerGame(types[1], nowDate); } else { $("#lnkPrev").parent().show(); $("#lnkNext").parent().show(); $("#txtGameDate").next().show(); getGameDate(nowDate); } //getGameDate(nowDate); if (leId == "2") { setFuturesHitterRank(); setFuturesTeamRank(); $(".game-info").show(); $("#FL").show(); } // 23.01.03, 김연중, 포스트시즌 미표출로 인한 주석처리 // POST SEASON BRACKET //if (leId == "1" && srId == "3,4,5,7") { // hideAllRankingTab(); // showTabPostseasonBracket(); // showTabTeamRanking(); //} else if (leId = "1" && srId == "0") { // hideAllRankingTab(); // showTabTeamRanking(); //} e.preventDefault(); }); // 경기리스트 새로고침 $(document).on("click", "#btnGameRefresh", function (e) { var li = $(".game-list-n > li.on"); var gameSc = li.attr("game_sc"); var leId = li.attr("le_id"); var srId = li.attr("sr_id"); var gId = li.attr("g_id"); getGameList(); $(".game-list-n > li[g_id='" + gId + "'").addClass("on").siblings().removeClass("on"); if (leId == "1") { if (srId == "1" || (srId == "0" && gameSc != "1")) { setGameDetailAnalysis(); } } e.preventDefault(); }); // 경기(프리뷰,LIVE,리뷰) 버튼 클릭 //$(document).on("click", ".game-list-n > li ", function (e) { // var li = $(this); // //if (li.attr("le_id") == "1" && li.attr("sr_id") == "6" && ((li.attr("game_sc") == "1" && li.attr("lineup_ck") == 0) || li.attr("game_sc") == "3")) { // // return false; // //} // if (li.hasClass("cancel") == false) { // 취소경기 선택불가 // if (li.hasClass("on")) { // li.removeClass("on"); // if (li.attr("le_id") == "1") { // 2017-04-18 yeeun, 퓨처스리그는 항상 보여야함 // $(".game-info").hide(); // } // if (li.attr("le_id") == "1" && li.attr("sr_id") == "9" && (li.attr("game_sc") == "1" || li.attr("game_sc") == "3")) { // 2017-07-14 yeeun, 올스타전 예외처리 // setAllstarClick(li); // } else if (li.attr("le_id") == "1" && li.attr("sr_id") == "8") { // 2017-11-08 yeeun, APBC 예외처리 // //} else if (li.attr("le_id") == "1" && li.attr("sr_id") == "8" && li.attr("season") == "2019") { // 2017-11-08 yeeun, APBC 예외처리, 2019년도 프리미어12 문자중계 진행(한국경기만) // //alert("click") // setAllstarClick(li); // } else if (li.attr("le_id") == "1" && (li.attr("sr_id") == "6" && li.attr("season") != "2021")) { // 2017-11-08 yeeun, APBC 예외처리 // //} else if (li.attr("le_id") == "1" && li.attr("sr_id") == "8" && li.attr("season") == "2019") { // 2017-11-08 yeeun, APBC 예외처리, 2019년도 프리미어12 문자중계 진행(한국경기만) // //alert("click") // setAllstarClick(li); // } else if (li.attr("le_id") == "1" && (li.attr("sr_id") == "4" || li.attr("sr_id") == "3" || li.attr("sr_id") == "5" || li.attr("sr_id") == "7") && li.attr("season") == "2016" && (li.attr("game_sc") == "3" && li.attr("result_ck") == "1")) { // 2017-09-29 yeeun, 2016 포스트시즌 예외처리 // location.href = String.format("/Schedule/GameCenter/Main.aspx?gameDate={0}&gameId={1}§ion=REVIEW", li.attr("g_dt"), li.attr("g_id")); // //} else if(li.attr("le_id") == "1" && li.attr("sr_id") == "0"){ // 2017-11-09 yeeun, 정규시즌 예외처리 // // location.href = String.format("/Schedule/GameCenter/Main.aspx?gameDate={0}&gameId={1}§ion=REVIEW", li.attr("g_dt"), li.attr("g_id")); // } else if (li.attr("le_id") == "1" && li.attr("sr_id") == "0" && li.attr("result_ck") == "1") { // 2019-03-07 heokyunam 정규시즌도 전송 확인. 홍승규대리 요청 // location.href = String.format("/Schedule/GameCenter/Main.aspx?gameDate={0}&gameId={1}§ion=REVIEW", li.attr("g_dt"), li.attr("g_id")); // } // } else { // li.addClass("on").siblings().removeClass("on"); // setGameDetail(); // } // } // e.preventDefault(); //}); // 타자 정보 누를 때 불러오기 $(document).one("click", "#btnRankingNext, #btnRankingPrev ", function (e) { getHitterRank(); }); // 경기 일정 중간 부분 $(document).on("click", ".game-list-n > li > .wrap > .middle", function (e) { var li = $(this).parent().parent(); var leId = li.attr("le_id"); var srId = li.attr("sr_id"); var gId = li.attr("g_id"); var gameSc = li.attr("game_sc"); var season = li.attr("season"); var result = li.attr("result_ck"); var lineup = li.attr("lineup_ck"); if (li.hasClass("cancel") == false) { // 취소경기 선택불가 if (!(leId == "2")) // 2군 경기전,중 선택 불가 { if (leId == "1" && (srId == "9" || srId == "8") && (gameSc == "1" || gameSc == "2"|| gameSc == "3")) { // 2017-07-14 yeeun, 올스타전 예외처리 //setAllstarClick(li); // 2022-07-01 안현수, middle 부분 클릭이벤트 제거 return; } if (li.hasClass("on")) { // 이미 클릭한 상태 li.removeClass("on"); if (leId == "1") { // 2017-04-18 yeeun, 퓨처스리그는 항상 보여야함 $(".game-info").hide(); } if (leId == "1" && srId == "8") { // 2017-11-08 yeeun, APBC 예외처리 //} else if (li.attr("le_id") == "1" && li.attr("sr_id") == "8" && li.attr("season") == "2019") { // 2017-11-08 yeeun, APBC 예외처리, 2019년도 프리미어12 문자중계 진행(한국경기만) //alert("click") setAllstarClick(li); } else if (leId == "1" && (srId == "6" && season != "2021")) { // 2017-11-08 yeeun, APBC 예외처리 //} else if (li.attr("le_id") == "1" && li.attr("sr_id") == "8" && li.attr("season") == "2019") { // 2017-11-08 yeeun, APBC 예외처리, 2019년도 프리미어12 문자중계 진행(한국경기만) //alert("click") setAllstarClick(li); } else if (leId == "1" && (srId == "4" || srId == "3" || srId == "5" || srId == "7") && season == "2016" && (gameSc == "3" && result == "1")) { // 2017-09-29 yeeun, 2016 포스트시즌 예외처리 location.href = String.format("/Schedule/GameCenter/Main.aspx?gameDate={0}&gameId={1}§ion=REVIEW", li.attr("g_dt"), gId); //} else if(li.attr("le_id") == "1" && li.attr("sr_id") == "0"){ // 2017-11-09 yeeun, 정규시즌 예외처리 // location.href = String.format("/Schedule/GameCenter/Main.aspx?gameDate={0}&gameId={1}§ion=REVIEW", li.attr("g_dt"), li.attr("g_id")); } else if (leId == "1" && (srId == "0" || srId == "1") && result == "1") { // 2019-03-07 heokyunam 정규시즌도 전송 확인. 홍승규대리 요청 location.href = String.format("/Schedule/GameCenter/Main.aspx?gameDate={0}&gameId={1}§ion=REVIEW", li.attr("g_dt"), gId); } } else { li.addClass("on").siblings().removeClass("on"); // 1군, 정규, 기록 전송 후 .middle 클릭 시 리뷰 페이지 if (leId == "1" && (srId == "0" || srId == "1" || srId == "6") && result == "1") { location.href = String.format("/Schedule/GameCenter/Main.aspx?gameDate={0}&gameId={1}§ion=REVIEW", li.attr("g_dt"), gId); } else { setGameDetail(); } } } else { // 교육리그 중계 X if ((Number(lineup) > 0 || gameSc == "2") && gameSc != "3" && srId != 15) { var checkLogin = chekLogin(); if (checkLogin) { var url = String.format("/Game/Futures/LiveText.aspx?leagueId={0}&seriesId={1}&gameId={2}&gyear={3}", leId, srId, gId, season); window.open(url, 'FuturesLiveText', 'toolbar=no,menubar=no,location=no,scrollbars=no,status=no, width=1020, height=720'); return false; } else { if (gameSc != "3") alert("로그인을 하셔야 문자중계를 보실 수 있습니다"); return false; } } } } e.preventDefault(); }); // 경기 일정 하단 버튼 $(document).on("click", ".game-cont > .wrap > .bottom > ul > li > a", function (e) { var li = $(this).parent().parent().parent().parent().parent(); var leId = li.attr("le_id"); var srId = li.attr("sr_id"); var gId = li.attr("g_id"); var gameSc = li.attr("game_sc"); var season = li.attr("season"); var result = li.attr("result_ck"); var kbotSe = li.attr("kbot_se"); var lineup = li.attr("lineup_ck"); var btnText = $(this).text(); if (li.hasClass("cancel") == false) { // 취소경기 선택불가 // 2022.07.01, 김연중, 중복코드 단일화, "중계" 버튼 클릭 할 시 if (leId == "1" && (srId == "1" || srId == "0" || srId == "9" || srId == "3" || srId == "4" || srId == "5" || srId == "7" || srId == "6" || srId == "8") && btnText == "중계") { // KBO 정규시즌, 올스타전, 포스트시즌 > 중계 눌렀을 때 var checkLogin = chekLogin(); if (checkLogin) { var url = String.format("/Game/LiveText.aspx?leagueId={0}&seriesId={1}&gameId={2}&gyear={3}", leId, srId, gId, season); window.open(url, 'liveText', 'toolbar=no,menubar=no,location=no,scrollbars=no,status=no, width=1020, height=720'); return false; } else { alert("로그인을 하셔야 문자중계를 보실 수 있습니다"); return false; } } if (leId == "1" && srId == "9" && (gameSc == "1" || gameSc == "3")) { // 2017-07-14 yeeun, 올스타전 예외처리 / 2022-07-01 안현수 올스타전 클릭이벤트 조건 변경 setAllstarClick(li); return; } if (li.hasClass("on")) { // 이미 클릭한 상태 li.removeClass("on"); if (leId == "1") { // 2017-04-18 yeeun, 퓨처스리그는 항상 보여야함 $(".game-info").hide(); } if (leId == "1" && srId == "8") { // 2017-11-08 yeeun, APBC 예외처리 //} else if (li.attr("le_id") == "1" && li.attr("sr_id") == "8" && li.attr("season") == "2019") { // 2017-11-08 yeeun, APBC 예외처리, 2019년도 프리미어12 문자중계 진행(한국경기만) //alert("click") //setAllstarClick(li); } else if (leId == "1" && (srId == "6" && (season != "2021" && season != "2024"))) { // 2017-11-08 yeeun, APBC 예외처리 //} else if (li.attr("le_id") == "1" && li.attr("sr_id") == "8" && li.attr("season") == "2019") { // 2017-11-08 yeeun, APBC 예외처리, 2019년도 프리미어12 문자중계 진행(한국경기만) //alert("click") setAllstarClick(li); } else if (leId == "1" && (srId == "4" || srId == "3" || srId == "5" || srId == "7") && season == "2016" && (gameSc == "3" && result == "1")) { // 2017-09-29 yeeun, 2016 포스트시즌 예외처리 location.href = String.format("/Schedule/GameCenter/Main.aspx?gameDate={0}&gameId={1}§ion=REVIEW", li.attr("g_dt"), gId); //} else if(li.attr("le_id") == "1" && li.attr("sr_id") == "0"){ // 2017-11-09 yeeun, 정규시즌 예외처리 // location.href = String.format("/Schedule/GameCenter/Main.aspx?gameDate={0}&gameId={1}§ion=REVIEW", li.attr("g_dt"), li.attr("g_id")); } //else if (leId == "1" && srId == "0" && result == "1") { // 2019-03-07 heokyunam 정규시즌도 전송 확인. 홍승규대리 요청 //location.href = String.format("/Schedule/GameCenter/Main.aspx?gameDate={0}&gameId={1}§ion=REVIEW", li.attr("g_dt"), gId); //} } else if (btnText != "TICKET") { if (leId != "2") { li.addClass("on").siblings().removeClass("on"); setGameDetail(); } } // 2군 if (leId == "2") { if (gameSc == "3" && result == "1" && btnText == "경기정보") { location.href = String.format("/Futures/Schedule/BoxScore.aspx?leagueId={0}&seriesId={1}&gameId={2}&seasonId={3}", leId, srId, gId, season); } else if (btnText.indexOf("케이봇") > -1 && kbotSe > 0) { location.href = String.format("/Futures/KBot/View.aspx?bdSe={0}", kbotSe); } else if ((gameSc == "1" && Number(lineup > 0)) || gameSc == "2" && btnText == "중계") { var checkLogin = chekLogin(); if (checkLogin) { var url = String.format("/Game/Futures/LiveText.aspx?leagueId={0}&seriesId={1}&gameId={2}&gyear={3}", leId, srId, gId, season); window.open(url, 'FuturesLiveText', 'toolbar=no,menubar=no,location=no,scrollbars=no,status=no, width=1020, height=720'); return false; } else { alert("로그인을 하셔야 문자중계를 보실 수 있습니다"); return false; } } } } }); // 경기(선발,키플레이어,NEWS,라인업 등) 탭 선택 $(document).on("click", "#tabGame > li > a", function (e) { $(this).parent().addClass("on").siblings().removeClass("on"); setGameDetailAnalysis(); e.preventDefault(); }); // 퓨처스 랭킹(투수/타자) 탭 선택 $(document).on("click", "#tabFutures > li > a", function (e) { var rankTab = $(this).parent(); rankTab.addClass("on").siblings().removeClass("on"); var section = rankTab.attr("section"); if (section == "hit") { setFuturesHitterRank(); } else { setFuturesPitcherRank(); } e.preventDefault(); }); // KBO 랭킹(투수/타자/주간랭킹) 탭 선택 $(document).on("click", "#tabPlayerRank > li > a", function (e) { var rankTab = $(this).parent(); rankTab.addClass("on").siblings().removeClass("on"); var section = rankTab.attr("section"); if (section == "hit") { $("#hitterRank").show(); $("#pitcherRank").hide(); $("#weeklyRank").hide(); $("#lblPlayerRank").show(); $("#lblWeekRank").hide(); //$(".player-ranking").children("span.btn-more").children("a").attr("href", "/Record/Ranking/Top5.aspx"); $("#rankMore").attr("href", "/Record/Ranking/Top5.aspx"); } else if (section == "pit") { getPitcherRank(); // 투수순위 $("#hitterRank").hide(); $("#pitcherRank").show(); $("#weeklyRank").hide(); $("#lblPlayerRank").show(); $("#lblWeekRank").hide(); //$(".player-ranking").children("span.btn-more").children("a").attr("href", "/Record/Ranking/Top5.aspx"); $("#rankMore").attr("href", "/Record/Ranking/Top5.aspx"); } else { getWeekRank(); // 주간순위 $("#hitterRank").hide(); $("#pitcherRank").hide(); $("#weeklyRank").show(); $("#lblPlayerRank").hide(); $("#lblWeekRank").show(); //$(".player-ranking").children("span.btn-more").children("a").attr("href", "/Record/Ranking/Week.aspx"); $("#rankMore").attr("href", "/Record/Ranking/Week.aspx"); } e.preventDefault(); }); // 상단 랭킹 영역 $(document).on("click", "ul.title > li > a", function (e) { let nowTitle = $('#rankTitle').attr('nowtype'); hideAllRankingTab(); // 2023.12.01 이후 아래 if문 분기 삭제 및 포스트시즌 대진표 switch (nowTitle) { // 23.01.03, 김연중, 포스트시즌 대진표 삭제로 인한 주석처리 case "team": // 선수랭킹 ← 현재 → 포스트시즌 if ($(this).parent().hasClass("next")) { showTabPostseasonBracket(); } else if ($(this).parent().hasClass("prev")) { showTabPlayerRanking(); } else { showTabTeamRanking(); } break; case "player": // 포스트시즌 ← 현재 → 팀랭킹 if ($(this).parent().hasClass("next")) { showTabTeamRanking(); } else if ($(this).parent().hasClass("prev")) { showTabPostseasonBracket(); } else { showTabPlayerRanking(); } break; case "postseason": default: // 팀랭킹 ← 현재 → 선수랭킹 if ($(this).parent().hasClass("next")) { showTabPlayerRanking(); } else if ($(this).parent().hasClass("prev")) { showTabTeamRanking(); } else { showTabPostseasonBracket(); } break; } //switch (nowTitle) { // // 23.11.30, 김연중, 정규시즌 처리로직 // case "player": // showTabTeamRanking(); // break; // case "team": // default: // showTabPlayerRanking(); // break; //} e.preventDefault(); }); // NEWS 탭 선택 $(document).on("click", "#tabNews > li > a", function (e) { var tab = $(this).parent(); tab.addClass("on").siblings().removeClass("on"); setNews(); e.preventDefault(); }); // NEWS 썸네일 선택 //$(document).on("click", "#ulNewsThum > li > a", function (e) { // $("#lnkMainNews").attr("href", $(this).attr("bd_url")); // $("#imgMainNews").attr("src", $(this).children("img").attr("src")); // $("#dtMainTitle").text($(this).attr("bd_tt")); // $("#ddMainContent").text($(this).attr("bd_ct")); // e.preventDefault(); //}); // TIMELINE 월 선택 //$(document).on("click", "#tabTimeLine > ul > li > a", function (e) { // var tab = $(this).parent(); // tab.addClass("on").siblings().removeClass("on"); // //$("#lblTimeLineTitle").text(String.format("{0} KBO", tab.attr("data_year"))); // $(String.format("#{0}", tab.attr("data_id"))).show(); // $(String.format("#{0}", tab.attr("data_id"))).siblings("div").hide(); // e.preventDefault(); //}); //$('.ui-datepicker ').css({ "margin-left": "-164px", "margin-top": "-223px" }); //달력(calendar) 위치 // 1위 결정전 관련 추가 // 22.09.22, 김연중, 코드중복?? 주석처리 //var tab = $(".tab-league .tab").children("li.on"); //var leId = tab.attr("le-id"); //var srId = tab.attr("sr-id"); //var seasonId = tab.attr("season_id"); // //if (leId == "1" && srId == "6" && seasonId == "2021") { // $("#lnkPrev").parent().hide(); // $("#lnkNext").parent().hide(); // $("#txtGameDate").next().hide(); //} else { // $("#lnkPrev").parent().show(); // $("#lnkNext").parent().show(); // $("#txtGameDate").next().show(); //} // ------------- 김연중 $(".tab-league > .tab").addClass(addTabClass($(".tab-league > .tab").children().length)); //if (sessionStorage.getItem("popup") == null) { // 세션값에 따른 팝업 표출 // $("body").addClass("modal-hidden"); // $(".event-wrap").removeClass("dp-none"); // $(".modal").removeClass("dp-none"); // $(document).on("click", "#popupVideo", function (e) { // $("body").removeClass("modal-hidden"); // $(".event-wrap").remove(); // //$(".event-wrap").addClass("dp-none"); // $(".modal").addClass("dp-none"); // e.preventDefault(); // }); //} // 비디오 클릭시 레이어팝업 $(document).on("click", "#KBOMovieUl li a", function () { $(".modal").removeClass("dp-none"); $(".pop-movie").removeClass("dp-none"); let list = JSON.parse($(this).attr("attr-list")); // 제목 $(".pop-movie .tit").text(String.format("{0} {1}:{2} ({3})", list.game_date, list.away_team_name, list.home_team_name, list.stadium)); // 판독정보 let ul = $(".pop-movie ul"); ul.children().remove(); let li = "<li><span>{0}</span>{1}</li>"; let game_date = list.read_need_time_txt.split('분'); let game_date_txt = ''; if (game_date.length > 1) { game_date_txt = String.format("{0}분 {1}", game_date[0], game_date[1]); } else { game_date_txt = game_date; } ul.append(String.format(li, "판독이닝", list.read_inning)); ul.append(String.format(li, "최초판정", list.first_result)); ul.append(String.format(li, "소요시간", game_date_txt)); ul.append(String.format(li, "최종판정", list.last_result)); ul.append(String.format(li, "요청팀", list.request_team_name)); ul.append(String.format(li, "판독결과", list.read_result)); ul.append(String.format(li, "유형", list.read_type)); ul.append(String.format(li, "방송국", list.broad_station)); // 비디오 let video = "<video-js data-account='{0}' data-player='default' data-embed='default' controls='' data-video-id='{0}' data-playlist-id='' data-application-id='' width='600px' height='336px'></video-js><script src='{1}' />"; $(".pop-movie .cont").append(String.format(video, list.attach_video_id, "https://players.brightcove.net/6415825029001/default_default/index.min.js")); //console.log(video); }); // 비디오 레이어 팝업 닫기 $(".pop-movie .btn-close").click(function () { $(".modal").addClass("dp-none"); $(".pop-movie").addClass("dp-none"); $(".pop-movie .cont").children().remove(); }); } // 날짜 조건 이벤트 세팅 function setDateEvent() { var currentDate = new Date(); // 각 구성 요소를 가져오기 const year = currentDate.getFullYear(); const month = currentDate.getMonth() + 1; const day = currentDate.getDate(); const formattedDate = `${year}${String(month).padStart(2, '0')}${String(day).padStart(2, '0')}`; // 정규시즌 활성화 //if (formattedDate >= "20240708") { // $("#leagueRegular").addClass("on"); //} //// 올스타전 활성화 //else if (formattedDate >= "20240706") { // $("#leagueAllstar").addClass("on"); //} //else { // $("#futuresAllstar").addClass("on"); //} //// 2020년 5월 1일 22시 이후에는 정규시즌이 디폴트 //if (date >= new Date(2020, 4, 1, 22, 00)) { // $('#leagueRegular').siblings().removeClass('on'); // $('#leagueRegular').addClass('on'); //} //신한은행 배너 변경 이벤트 //if(nowDate < "20191016") { // $(".sponsor-list.col1 li:eq(0)").hide(); //} //else { // $(".sponsor-list.col1 li:eq(1)").hide(); //} //// 올스타 활성 탭 변경 //if (nowDate < "20190722") { // $("#leagueAllstar").addClass("on"); // $("#leagueRegular").removeClass("on"); //} else { // $("#leagueAllstar").removeClass("on"); // $("#leagueRegular").addClass("on"); //} } // 초기 진입 영상 function setMainPopup() { if ($.cookie("_popupVideo") == undefined) { // 초기 진입 영상 불러오기 getMainPopup(); $(document).on("click", "#popupVideo", function (e) { if ($("#popValCheck").is(":checked") == true) { $("body").removeClass("modal-hidden"); $(".event-wrap").remove(); $(".modal").addClass("dp-none"); setCookie("_popupVideo", "done", 1); } else { $("body").removeClass("modal-hidden"); $(".event-wrap").remove(); $(".modal").addClass("dp-none"); } //sessionStorage.setItem("popup", false); // 쿠키 추가로 인해 세션 스토리지 주석 처리 e.preventDefault(); }); } } // 쿠키 생성 함수 function setCookie(name, value, expiredays) { var todayDate = new Date(); todayDate.setDate(todayDate.getDate() + expiredays); document.cookie = name + "=" + escape(value) + "; path=/; expires=" + todayDate.toGMTString() + ";" } // 경기종료 따라 NEWS 선택변경 (경기전:프리뷰, 경기종료:속보) function setNewsTab() { var tabNo = setNewsCheck('1,2,3,20'); // 프리뷰,경기속보,인터뷰 switch (tabNo) { case 1: // 프리뷰 tabNo = 0; break; case 2: // 속보 tabNo = 1; break; case 3: // 인터뷰 tabNo = 3; break; case 20: // 카드뉴스 tabNo = 2; break; } $("#tabNews > li").removeClass(); $("#tabNews > li").eq(tabNo).addClass("on"); } // 탭 개수에 따른 클래스 function addTabClass(count) { var tabClass = ''; switch (count) { case 2: tabClass = "two"; break; case 3: tabClass = "three"; break; case 4: tabClass = "four"; break; default: tabClass = ""; break; } return tabClass; } //// 2020 한국시리즈 입장권 예매 팝업 //function openPopup() { // let popDate = new Date(2020, 10, 24, 00, 00); // 2019-09-02 09:00 // // if (getCookie("POP_20200727") != "done" && new Date() <= popDate) { // window.open('/PopUp/Popup20201123.aspx', 'POP', 'left=0, top=0,scrollbars=0, width=700,height=710'); // } //} // Save & Sacrifice 캠페인 //function getSaveSacrifice() { // var request = $.ajax({ // type: 'post' // , url: "/ws/Event.asmx/GetSave" // , dataType: "json" // , data: { // leId: 1 // , srId: "0,3,4,5,7" // 연습경기 테스트용 // , seasonId: 2023 // } // , error: ajaxFailed // , 'async': false // }); // // request.done(function (data) { // if (data.result_cd == "100") { // let sh_cn = data.sh_cn == null ? 0 : data.sh_cn; // let sv_cn = data.sv_cn == null ? 0 : data.sv_cn; // let money = (sv_cn * 150000) + (sh_cn * 50000); // // // 적립금 // let span = 7; // span 갯수 // money = String(money); // // for (let i = money.length - 1; i >= 0; i--) { // $(String.format("#dvMoney span:eq({0})", span)).text(money.charAt(i)); // span--; // } // // // 세이브 // span = 3; // span 갯수 // sv_cn = String(sv_cn); // // for (let i = sv_cn.length; i >= 0; i--) { // $(String.format("#dvSave span:eq({0})", span)).text(sv_cn.charAt(i)); // span--; // } // // // 희생 번트 // span = 3; // span 갯수 // sh_cn = String(sh_cn); // // for (let i = sh_cn.length; i >= 0; i--) { // $(String.format("#dvSh span:eq({0})", span)).text(sh_cn.charAt(i)); // span--; // } // } // }); //} </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>