NAVER
2019.04.02. 08:30 ~ 11:30
ٷΰ
ٷΰ
NAVER
04.02(ȭ)
ֿ䴺
εѵ 1δ δ 1300
ӡ, ' λ åӷ' ġ
ȸʳ 20 ҿܰ
'Ȳ ౸ ' 泲FC, 20
ϱ ɻ
SK â , ħ
12 33 ⡦37
"1ڹۿ ȵſ"'' ո ںȣ
14 ߷ ̡, д
ȭ 1õ ö ڹ
ʴ븦 ܳѴ
ģ ǥ '' ҰѰ?
" ̴ ٵ"
Ʈüũ
л
л
̺귯
迭 ̷
л û Դϴ.Ȩ ٷΰ | ġ ȸ Ȱ/ȭ IT/ ġ
ȸ
Ȱ/ȭ
IT/
var ranking_selectedSectionId = ''; var ranking_listAllSection = jindo.$A(['100', '101', '102', '103', '104', '105']); function ranking_select_tab(sectionId) jindo.$('right.ranking_tab_' + sectionId).innerHTML = "" + ranking_select_section_name(sectionId) + ""; jindo.$Element('right.ranking_tab_' + sectionId).addClass('is_click').attr('aria-selected', true); if (ranking_selectedSectionId) jindo.$('right.ranking_tab_' + ranking_selectedSectionId).innerHTML = ranking_select_section_name(ranking_selectedSectionId); jindo.$Element('right.ranking_tab_' + ranking_selectedSectionId).removeClass('is_click').attr('aria-selected', false); if (ranking_selectedSectionId == sectionId) jindo.$('right.ranking_tab_' + sectionId).innerHTML = "" + ranking_select_section_name(sectionId) + ""; jindo.$Element('right.ranking_tab_' + ranking_selectedSectionId).addClass('is_click').attr('aria-selected', true); ranking_selectedSectionId = sectionId; function ranking_select_section(sectionId) if (!ranking_listAllSection.has(sectionId)) sectionId = '100'; jindo.$('right.ranking_contents').innerHTML = jindo.$('ranking_' + sectionId).innerHTML; ranking_select_tab(sectionId); function ranking_select_section_name(sectionId) var selectSectionName = "��ġ"; switch (sectionId) case '100' : selectSectionName = "��ġ"; break; case '101' : selectSectionName = "����"; break; case '102' : selectSectionName = "��ȸ"; break; case '103' : selectSectionName = "��Ȱ/��ȭ"; break; case '104' : selectSectionName = "����"; break; case '105' : selectSectionName = "IT/����"; break; default : selectSectionName = "��ġ"; return selectSectionName; function ranking_tab_handler(event) var sectionId = jindo.$Event(event).element.id.replace('right.ranking_tab_', ''); if (sectionId) ranking_select_section(sectionId); ranking_listAllSection.forEach(function (v, i, o) jindo.$Fn(ranking_tab_handler, window).attach(jindo.$Element(jindo.$('right.ranking_tab_' + v)), 'mouseover'); ); ranking_select_section('201'); оߺ ֿ䴺û /Ȱ û
û
û/Ȱ
/Ȱ
/Ȱvar rightDailyList = id: 'right_dailyList', init: function () this.tabList = jindo.$A(jindo.$$('#' + this.id + ' div.category a')); this.contentsList = jindo.$A(jindo.$$('#' + this.id + ' div.classfy')); var randomIndex = this.getRandomIndex(); this.toggle(randomIndex); jindo.$Fn(this.handler, this).attach(this.tabList, 'mouseover'); , getRandomIndex: function () return Math.floor(Math.random() * this.tabList.length()); , getSelectedIndex: function (el) var selectedIndex; this.tabList.forEach(function (value, index, array) if (el.tagName === 'A' && value == el) selectedIndex = index; else if (el.tagName === 'STRONG' && value == el.parentNode) selectedIndex = index; ); return selectedIndex; , handler: function (event) event.stopDefault(); var selectedIndex = this.getSelectedIndex(event.element); if (this.currentIndex !== selectedIndex) this.toggle(selectedIndex); , toggle: function (selectedIndex) var self = this; this.tabList.forEach(function (value, index, array) var wel = jindo.$Element(value); if (selectedIndex === index) wel.html('' + wel.html() + ''); wel.attr("aria-selected", true); wel.addClass("is_click"); else if (self.currentIndex === index) wel.html(wel.first().html()); wel.attr("aria-selected", false); wel.removeClass("is_click"); ); this.contentsList.forEach(function (value, index, array) var wel = jindo.$Element(value); if (selectedIndex === index) wel.show(); else wel.hide(); ); this.currentIndex = selectedIndex; rightDailyList.init(); /
Ͻ ʾ ֽ ϴ. 2019.04.02. 08:30 ~ 11:30 var newsTopicInfo = welContainer : null, welTabContainer : null, welTabList : null, welTopicList : null, initialize : function() this.setCache(); this.setEvent(); , setCache : function() this.welContainer = jindo.$Element('newstopic_container'); this.welTabContainer = jindo.$Element('newstopic_tab'); this.welTabList = jindo.$ElementList(this.welTabContainer.queryAll('a')); this.welTopicList = jindo.$ElementList(this.welContainer.queryAll('ol')); , setEvent : function() this.welTabContainer.delegate('mouseover', 'a', jindo.$Fn(this.onTabMouseOver, this).bind()); this.welTabContainer.delegate('click', 'a', jindo.$Fn(this.onTabClick, this).bind()); , onTabClick : function(e) e.stopDefault(); , onTabMouseOver : function(e) this.welTabList.removeClass('is_click').attr('aria-selected', false); var tabName = jindo.$Element(e.element).addClass('is_click').attr('aria-selected', true).attr('data-tab'); this.welTopicList.hide(); jindo.$Element('newstopic_' + tabName).show(); ; newsTopicInfo.initialize(); try jindo.$("doubleDA").innerHTML = ' catch(e) |