$(document).ready(function(){ $(".table_sorting_up").click(function(){ if( $(this).hasClass('table_sorting_up_sel') == false ) { $(".table_sorting_up").removeClass('table_sorting_up_sel'); $(".table_sorting_down").removeClass('table_sorting_down_sel'); $(this).addClass('table_sorting_up_sel'); } else { $(this).removeClass('table_sorting_up_sel'); } }); $(".table_sorting_down").click(function(){ if( $(this).hasClass('table_sorting_down_sel') == false ) { $(".table_sorting_up").removeClass('table_sorting_up_sel'); $(".table_sorting_down").removeClass('table_sorting_down_sel'); $(this).addClass('table_sorting_down_sel'); } else { $(this).removeClass('table_sorting_down_sel'); } }); $(".list_abc").click(function(){ if( $(this).hasClass("list_abc_ac") == false ) { $(".list_abc").removeClass("list_abc_ac"); $(".matrix_point").css("opacity","0.2"); $(".point_ac").css("opacity","1"); $(this).addClass("list_abc_ac"); } else { $(".list_abc").removeClass("list_abc_ac"); $(".matrix_point").css("opacity","1"); } }); $(".bar_graph_box_dis1_cell_d1").mouseover(function(){ $(this).children('.marking').css("display","block"); }); $(".bar_graph_box_dis1_cell_d1").mouseout(function(){ $(this).children('.marking').css("display","none"); }); $(".bar_graph_box_dis1_cell_d2").mouseover(function(){ $(this).children('.marking').css("display","block"); }); $(".bar_graph_box_dis1_cell_d2").mouseout(function(){ $(this).children('.marking').css("display","none"); }); $(".bar_graph_box_dis1_cell_d3").mouseover(function(){ $(this).children('.marking').css("display","block"); }); $(".bar_graph_box_dis1_cell_d3").mouseout(function(){ $(this).children('.marking').css("display","none"); }); $("#toggle").click(function(){ if( $(".side_menu").css("display") == "block") { $(".side_menu").css("display","none"); $(this).children('img:nth-of-type(2)').css("display","inline-block"); $(this).children('img:nth-of-type(1)').css("display","none"); $(this).css("color","#d9b484"); $(".contents").css("width","calc( 100% - 58px )"); $(".contents").css("left","58px"); $(".tab_area").css("left","58px"); $(".tab_area").css("width","calc( 100% - 58px )"); var tab_wid2 = $(".contents").width(); var tab_all2 = $(".tab").length; if ( tab_all2 >= 8 ) { var tab_n_wid123 = tab_wid2 / tab_all2 -20; $(".tab").css("width", tab_n_wid123 ); } if ( tab_all2 < 8 ) { $(".tab").css("width","11%"); } } else { $(".side_menu").css("display","block"); $(this).children('img:nth-of-type(2)').css("display","none"); $(this).children('img:nth-of-type(1)').css("display","inline-block"); $(this).css("color","#fff"); $(".contents").css("width","calc( 100% - 283px )"); $(".contents").css("left","283px"); $(".tab_area").css("left","283px"); $(".tab_area").css("width","calc( 100% - 283px )"); var tab_wid3 = $(".contents").width(); var tab_all3 = $(".tab").length; if ( tab_all3 >= 8 ) { var tab_n_wid1234 = tab_wid3 / tab_all3 -20; $(".tab").css("width", tab_n_wid1234 ); } if ( tab_all3 < 8 ) { $(".tab").css("width","11%"); } } }); $(".list_cell_left div").click(function(){ var tab_wid3 = $(".contents").width(); var tab_all3 = $(".tab").length; if ( tab_all3 >= 8 ) { var tab_n_wid1234 = tab_wid3 / tab_all3 -20; $(".tab").css("width", tab_n_wid1234 ); } else { $(".tab").css("width","11%"); } }); $(".after").click(function(){ var tab_wid444 = $(".contents").width(); var tab_all444 = $(".tab").length; if ( tab_all444 >= 8 ) { var tab_n_wid4444 = tab_wid444 / tab_all444 -20; $(".tab").css("width", tab_n_wid4444 ); } else { $(".tab").css("width","11%"); } }); $(".search_btn_01").click(function(){ if( $(this).children('img:nth-of-type(1)').css("display") == "inline-block" ) { $(this).css("background","#182b51"); $(this).children('img:nth-of-type(2)').css("display","inline-block"); $(this).children('img:nth-of-type(1)').css("display","none"); } else { $(this).css("background","#959595"); $(this).children('img:nth-of-type(2)').css("display","none"); $(this).children('img:nth-of-type(1)').css("display","inline-block"); } }); // 왼쪽메뉴 펼침&닫힘 // 2020.07.09. 현주가 | 다시ㅠ.ㅜ; $(".side_menu a").click(function(){ if ( $(this).next('ul').css("display") == "none" ) { $(".side_menu a").css("color","white"); $(".side_menu ul").css("display","none"); $(".side_menu a").children("img:nth-of-type(1)").css("display","inline-block"); $(".side_menu a").children("img:nth-of-type(2)").css("display","none"); $(this).next('ul').css("display","block"); $(this).css("color","#182c52"); $(this).css("font-weight","bold"); $(this).children("img:nth-of-type(1)").css("display","none"); $(this).children("img:nth-of-type(2)").css("display","inline-block"); } else { // Left Menu : T(상위메뉴), S(서브메뉴) if ( $(this).attr("lm") == "T") { if ($(this).text() == "의원정보") { $(this).css("color","#182c52"); } $(".side_menu ul li a").removeClass("act"); $(this).addClass("act"); $(".side_menu a").css("color","white"); $(".side_menu ul").css("display","none"); $(".side_menu a").children("img:nth-of-type(1)").css("display","inline-block"); $(".side_menu a").children("img:nth-of-type(2)").css("display","none"); } else { $(".side_menu ul li a").removeClass("act"); $(this).addClass("act"); } } }); /* $(".side_menu a").click(function(){ if ( $(this).next('ul').css("display") == "none" ) { $(".side_menu a").css("color","white"); $(".side_menu ul").css("display","none"); $(".side_menu a").children("img:nth-of-type(1)").css("display","inline-block"); $(".side_menu a").children("img:nth-of-type(2)").css("display","none"); $(this).next('ul').css("display","block"); $(this).css("color","#182c52"); $(this).css("font-weight","bold"); $(this).children("img:nth-of-type(1)").css("display","none"); $(this).children("img:nth-of-type(2)").css("display","inline-block"); } else { $(".side_menu a").css("color","white"); $(".side_menu ul").css("display","none"); $(".side_menu a").children("img:nth-of-type(1)").css("display","inline-block"); $(".side_menu a").children("img:nth-of-type(2)").css("display","none"); } }); */ $(".pyogyul").click(function(){ $(".list_content_sosok").css("display","none"); $(".list_content_suggest").css("display","none"); $(".list_content_vote").css("display","none"); // $(".list_content_pyogyul").css("display","none"); $(".list_content_keyword").css("display","none"); $(".list_content_meeting_all2").css("display","none"); if ( $(this).hasClass("table_act") == false ) { $(".list_cell_left").removeClass("list_cell_left_active"); $(".list_cell_left").children("table").children().children().children('td').removeClass("table_act"); $(".list_cell_left").children(".play_01").css("display","none") $(this).addClass("table_act"); $(this).parent().parent().parent().parent(".list_cell_left").addClass("list_cell_left_active"); $(".list_cell_right").css("display","none"); $(".list_content_pyogyul").css("display","block"); $(this).parent().parent().parent().parent(".list_cell_left").children(".play_01").css("display","block"); $(".list_cell").css("width","571px"); google.charts.load('current', {'packages':['corechart']}); google.charts.setOnLoadCallback(drawChartasd); function drawChartasd() { var dataasd = new google.visualization.DataTable(); dataasd.addColumn('number', 'x'); dataasd.addColumn('number', 'values'); dataasd.addColumn({id:'i0', type:'number', role:'interval'}); dataasd.addColumn({id:'i1', type:'number', role:'interval'}); dataasd.addRows([ [2019, 100, 90, 110], [2020, 120, 95, 130], [2021, 130, 105, 140], [2022, 90, 85, 95], [2024, 100, 90, 110]]); // The intervals data as narrow lines (useful for showing raw source data) var options_lines = { title: '년도별표결성향', lineWidth: 4, intervals: { 'style':'line' }, legend: 'none', series: {1: {color: '#3783c4'},2: {color: '#c43737'} }, intervals: { 'style':'area' } }; var chart_lines = new google.visualization.LineChart(document.getElementById('pyo_ch')); chart_lines.draw(dataasd, options_lines); } } else { $(".list_cell_left").removeClass("list_cell_left_active"); $(".list_cell_left").children("table").children().children().children('td').removeClass("table_act"); $(".list_cell_left").children(".play_01").css("display","none") $(".list_cell_right").css("display","block"); $(".list_content_pyogyul").css("display","none"); $(".list_cell").css("width","100%"); } }); $(".sosok").click(function(){ // $(".list_content_sosok").css("display","none"); $(".list_content_suggest").css("display","none"); $(".list_content_vote").css("display","none"); $(".list_content_pyogyul").css("display","none"); $(".list_content_keyword").css("display","none"); $(".list_content_meeting_all2").css("display","none"); if ( $(this).hasClass("table_act") == false ) { $(".list_cell_left").removeClass("list_cell_left_active"); $(".list_cell_left").children("table").children().children().children('td').removeClass("table_act"); $(".list_cell_left").children(".play_01").css("display","none") $(this).addClass("table_act"); $(this).parent().parent().parent().parent(".list_cell_left").addClass("list_cell_left_active"); $(".list_cell_right").css("display","none"); $(".list_content_sosok").css("display","block"); $(this).parent().parent().parent().parent(".list_cell_left").children(".play_01").css("display","block"); $(".list_cell").css("width","571px"); } else { $(".list_cell_left").removeClass("list_cell_left_active"); $(".list_cell_left").children("table").children().children().children('td').removeClass("table_act"); $(".list_cell_left").children(".play_01").css("display","none") $(".list_cell_right").css("display","block"); $(".list_content_sosok").css("display","none"); $(".list_cell").css("width","100%"); } }); $(".suggest").click(function(){ $(".list_content_sosok").css("display","none"); $(".list_content_vote").css("display","none"); // $(".list_content_suggest").css("display","none"); $(".list_content_pyogyul").css("display","none"); $(".list_content_keyword").css("display","none"); $(".list_content_meeting_all2").css("display","none"); if ( $(this).hasClass("table_act") == false ) { $(".list_cell_left").removeClass("list_cell_left_active"); $(".list_cell_left").children("table").children().children().children('td').removeClass("table_act"); $(".list_cell_left").children(".play_01").css("display","none") $(this).addClass("table_act"); $(this).parent().parent().parent().parent(".list_cell_left").addClass("list_cell_left_active"); $(".list_cell_right").css("display","none"); $(".list_content_suggest").css("display","block"); $(this).parent().parent().parent().parent(".list_cell_left").children(".play_01").css("display","block"); $(".list_cell").css("width","571px"); } else { $(".list_cell_left").removeClass("list_cell_left_active"); $(".list_cell_left").children("table").children().children().children('td').removeClass("table_act"); $(".list_cell_left").children(".play_01").css("display","none") $(".list_cell_right").css("display","block"); $(".list_content_suggest").css("display","none"); $(".list_cell").css("width","100%"); } }); $(".vote").click(function(){ // $(".list_content_vote").css("display","none"); $(".list_content_sosok").css("display","none"); $(".list_content_suggest").css("display","none"); $(".list_content_pyogyul").css("display","none"); $(".list_content_keyword").css("display","none"); $(".list_content_meeting_all2").css("display","none"); if ( $(this).hasClass("table_act") == false ) { $(".list_cell_left").removeClass("list_cell_left_active"); $(".list_cell_left").children("table").children().children().children('td').removeClass("table_act"); $(".list_cell_left").children(".play_01").css("display","none") $(this).addClass("table_act"); $(this).parent().parent().parent().parent(".list_cell_left").addClass("list_cell_left_active"); $(".list_cell_right").css("display","none"); $(".list_content_vote").css("display","block"); $(this).parent().parent().parent().parent(".list_cell_left").children(".play_01").css("display","block"); $(".list_cell").css("width","571px"); } else { $(".list_cell_left").removeClass("list_cell_left_active"); $(".list_cell_left").children("table").children().children().children('td').removeClass("table_act"); $(".list_cell_left").children(".play_01").css("display","none") $(".list_cell_right").css("display","block"); $(".list_content_vote").css("display","none"); $(".list_cell").css("width","100%"); } }); $(".list_cell_left_cell_02").click(function(){ $(".list_content_wonan").css("display","none"); $(".list_content").css("display","none"); $(".list_content_per").css("display","none"); $(".list_content_process").css("display","none"); $(".list_content_meeting").css("display","none"); $(".list_content_meeting_all").css("display","none"); $(".list_content_passing").css("display","none"); if ( $(this).hasClass("table_act") == false ) { $(".list_cell_left").removeClass("list_cell_left_active"); $(".list_cell_left").children("div").removeClass("table_act"); $(".list_cell_left").children(".play_01").css("display","none") $(this).addClass("table_act"); $(this).parent(".list_cell_left").addClass("list_cell_left_active"); $(".list_cell_right").css("display","none"); $(".list_content_keyword").css("display","block"); $(this).parent(".list_cell_left").children(".play_01").css("display","block"); $(".list_cell").css("width","571px"); } else { $(".list_cell_left").removeClass("list_cell_left_active"); $(".list_cell_left").children("div").removeClass("table_act"); $(".list_cell_left").children(".play_01").css("display","none") $(".list_cell_right").css("display","block"); $(".list_content_keyword").css("display","none"); $(".list_cell").css("width","100%"); } }); $(".list_cell_left_cell_08").click(function(){ $(".list_content_wonan").css("display","none"); $(".list_content_keyword").css("display","none"); $(".list_content_process").css("display","none"); $(".list_content_per").css("display","none"); $(".list_content_meeting").css("display","none"); $(".list_content_meeting_all").css("display","none"); $(".list_content_passing").css("display","none"); if ( $(this).hasClass("table_act") == false ) { $(".list_cell_left").removeClass("list_cell_left_active"); $(".list_cell_left").children("div").removeClass("table_act"); $(".list_cell_left").children(".play_01").css("display","none") $(this).addClass("table_act"); $(this).parent(".list_cell_left").addClass("list_cell_left_active"); $(".list_cell_right").css("display","none"); $(".list_content").css("display","block"); $(this).parent(".list_cell_left").children(".play_01").css("display","block"); $(".list_cell").css("width","571px"); } else { $(".list_cell_left").removeClass("list_cell_left_active"); $(".list_cell_left").children("div").removeClass("table_act"); $(".list_cell_left").children(".play_01").css("display","none") $(".list_cell_right").css("display","block"); $(".list_content").css("display","none"); $(".list_cell").css("width","100%"); } }); $(".list_cell_left_cell_03").click(function(){ $(".list_content_wonan").css("display","none"); $(".list_content_process").css("display","none"); $(".list_content_keyword").css("display","none"); $(".list_content_per").css("display","none"); $(".list_content").css("display","none"); $(".list_content_meeting_all").css("display","none"); $(".list_content_passing").css("display","none"); if ( $(this).hasClass("table_act") == false ) { $(".list_cell_left").removeClass("list_cell_left_active"); $(".list_cell_left").children("div").removeClass("table_act"); $(".list_cell_left").children(".play_01").css("display","none") $(this).addClass("table_act"); $(this).parent(".list_cell_left").addClass("list_cell_left_active"); $(".list_cell_right").css("display","none"); $(".list_content_meeting").css("display","block"); $(this).parent(".list_cell_left").children(".play_01").css("display","block"); $(".list_cell").css("width","571px"); } else { $(".list_cell_left").removeClass("list_cell_left_active"); $(".list_cell_left").children("div").removeClass("table_act"); $(".list_cell_left").children(".play_01").css("display","none") $(".list_cell_right").css("display","block"); $(".list_content_meeting").css("display","none"); $(".list_content_meeting_all").css("display","none"); $(".list_cell").css("width","100%"); } }); $(".list_cell_left_cell_05").click(function(){ $(".list_content_wonan").css("display","none"); $(".list_content_meeting").css("display","none"); $(".list_content_keyword").css("display","none"); $(".list_content_per").css("display","none"); $(".list_content").css("display","none"); $(".list_content_meeting_all").css("display","none"); $(".list_content_passing").css("display","none"); if ( $(this).hasClass("table_act") == false ) { $(".list_cell_left").removeClass("list_cell_left_active"); $(".list_cell_left").children("div").removeClass("table_act"); $(".list_cell_left").children(".play_01").css("display","none") $(this).addClass("table_act"); $(this).parent(".list_cell_left").addClass("list_cell_left_active"); $(".list_cell_right").css("display","none"); $(".list_content_process").css("display","block"); $(this).parent(".list_cell_left").children(".play_01").css("display","block"); $(".list_cell").css("width","571px"); /* google.charts.load('current', {'packages':['corechart']}); google.charts.setOnLoadCallback(drawChart1); function drawChart1() { var data2 = google.visualization.arrayToDataTable([ ['가결안수', '소요일', '이동평균선(3D)'], ['1', 15, 15], ['2', 32, 23.5], ['3', 18, 21], ['4', 85, 45], ['5', 83, 62], ['6', 60, 76], ['7', 70, 71], ['8', 70, 54], ['9', 39, 47], ['10', 64, 68], ['11', 29, 55], ['12', 19, 50], ['13', 19, 22], ['14', 70, 36], ['15', 32, 40], ['16', 39, 47], ['17', 39, 36], ['18', 29, 35], ['19', 29, 32], ['20', 19, 25], ]); var options = { title: '원안가결:104일', curveType: 'function', legend: { position: 'right' }, width: 410, height:250, seriesType: 'bars', series: {1: {type: 'line'}}, colors: ['#3783c4','#182c52'], backgroundColor: '#f6f6f6', titleTextStyle: { fontSize: 18 } }; var chart = new google.visualization.ComboChart(document.getElementById('curve_chart2')); chart.draw(data2, options); } google.charts.load('current', {'packages':['corechart']}); google.charts.setOnLoadCallback(drawChart); function drawChart() { var data3 = google.visualization.arrayToDataTable([ ['월', '전체비율', '보건복지비율' , '법제사법비율'], ['1', 15 , 7 , 8], ['2', 32, 10 , 22], ['3', 18 , 8 , 10], ['4', 85 , 50 , 35], ['5', 83 , 40 , 43], ['6', 60 , 30 , 30], ['7', 70 , 35 , 35], ['8', 32 , 15 , 17], ['9', 39 , 30 , 9], ['10', 100 , 50 , 50], ['11', 29 , 10 , 19], ['12', 19 , 10 , 9], ['13', 19 , 9 , 10], ['14', 70 , 10 , 60], ['15', 32 , 12 , 20], ['16', 39 , 3 , 36], ['17', 39 , 36 , 3], ['18', 29 , 10 , 19], ['19', 29 , 9 , 20], ['20', 19 , 10 , 9], ['21', 15 , 10 , 5], ['22', 32 , 15 , 17], ['23', 18 , 10 , 8], ['24', 85 , 5 , 80], ['25', 83 , 20 , 63], ['26', 60 , 20 , 40], ['27', 70 , 30 , 40], ['28', 32 , 15 , 17], ['29', 39 , 20 , 19], ['30', 100 , 50 , 50], ['31', 29 , 12 , 17], ['32', 19 , 9 , 10], ['33', 19 , 9 , 10], ['34', 70 , 20 , 50], ['35', 32 , 16 , 16], ['36', 39 , 20 , 19], ['37', 39 , 20 , 19], ['38', 29 , 10 , 19], ['39', 29 , 20, 9], ['40', 19 , 10 , 9], ['41', 29 , 9 , 20], ['42', 29 , 9 , 20], ['43', 19 , 10 , 9] ]); var options = { title: '20ㄹ대 국회법안 소요기간별 가결률', curveType: 'function', legend: { position: 'right' }, width: 820, height:250, hAxis: {title: '접수후 소요기간(개월)', titleTextStyle: {color: '#333'}}, colors: ['#182c52','#3783c4','#718d9e'], backgroundColor: '#f6f6f6', titleTextStyle: { fontSize: 18 }, vAxis: { viewWindow: { min: 0 } } }; var chart = new google.visualization.LineChart(document.getElementById('curve_chart3')); chart.draw(data3, options); } */ } else { $(".list_cell_left").removeClass("list_cell_left_active"); $(".list_cell_left").children("div").removeClass("table_act"); $(".list_cell_left").children(".play_01").css("display","none") $(".list_cell_right").css("display","block"); $(".list_content_process").css("display","none"); $(".list_cell").css("width","100%"); } }); $(".list_cell_left_cell_06").click(function(){ $(".list_content_wonan").css("display","none"); $(".list_content_keyword").css("display","none"); $(".list_content_process").css("display","none"); $(".list_content").css("display","none"); $(".list_content_meeting").css("display","none"); $(".list_content_meeting_all").css("display","none"); $(".list_content_passing").css("display","none"); if ( $(this).hasClass("table_act") == false ) { $(".list_cell_left").removeClass("list_cell_left_active"); $(".list_cell_left").children("div").removeClass("table_act"); $(".list_cell_left").children(".play_01").css("display","none") $(this).addClass("table_act"); $(this).parent(".list_cell_left").addClass("list_cell_left_active"); $(".list_cell_right").css("display","none"); $(".list_content_per").css("display","block"); $(this).parent(".list_cell_left").children(".play_01").css("display","block"); $(".list_cell").css("width","571px"); /* // 법안정보 > 법안통과확률 > 법안단계별 소요일수 google.charts.load('current', {'packages':['corechart']}); google.charts.setOnLoadCallback(drawChart); function drawChart() { var data123 = google.visualization.arrayToDataTable([ ['절차', '부동산소유권법안', '법사위법안' , '전체법안'], ['접수', 1000, 400 , 600], ['위원회심사', 1170, 460 , 500], ['체계자구심사', 660, 1120 , 400], ['본회의심사', 1030, 540 , 700], ['정부이송', , 540, 800], ['공포', , 540, 500], ]); var options = { title: '법안단계별 소요 일수(평균)', hAxis: {title: '절차', titleTextStyle: {color: '#333'}}, vAxis: {minValue: 0}, width: 700, height: 250, backgroundColor: '#f6f6f6', titleTextStyle: { fontSize: 18 }, series: { 0: { areaOpacity: 0}, 1: { areaOpacity: 0.5}, 2: { areaOpacity: 0.5} }, colors: ['#182c52','#3783c4','#718d9e'], }; var chart = new google.visualization.AreaChart(document.getElementById('chart_div')); chart.draw(data123, options); } */ /* google.charts.load('current', {'packages':['corechart']}); google.charts.setOnLoadCallback(drawChart123); function drawChart123() { var data2 = google.visualization.arrayToDataTable([ ['월수', '전체','보건복지'], ['1', 0.1, 0.1], ['2', 0.3, 0.2], ['3', 1.1, 1], ['4', 2.1, 2], ['5', 3 ,3], ['6', 3.9,3], ['7', 4.5,4], ['8', 5.1,5], ['9', 5.7,5], ['10', 6.4,5], ['11', 6.8,6], ['12', 7.2,6], ['13', 7.7,7], ['14', 8.0,7], ['15', 8.1,8], ['16', 8.4,8], ['17', 8.5,8.2], ['18', 8.7,8.5], ['19', 8.8,8.8], ['20', 8.8,8.8], ]); var options = { title: '법안처리 소요기간별 가결률', curveType: 'function', legend: { position: 'right' }, width: 420, height:250, hAxis: {title: '접수후 소요기간(월)', titleTextStyle: {color: '#333'}}, colors: ['#182c52','#3783c4','#718d9e'], backgroundColor: '#f6f6f6', titleTextStyle: { fontSize: 18 } }; var chart = new google.visualization.LineChart(document.getElementById('chart_div2')); chart.draw(data2, options); } */ /* google.charts.load('current', {'packages':['corechart']}); google.charts.setOnLoadCallback(drawChart1234); function drawChart1234() { var data2 = google.visualization.arrayToDataTable([ ['월수', '전체누적가결률','보건복지누적가결률'], ['1', 0.1, 0.1], ['2', 0.3, 0.2], ['3', 1.1, 1], ['4', 2.1, 2], ['5', 3 ,3], ['6', 3.9,3], ['7', 4.5,4], ['8', 5.1,5], ['9', 5.7,5], ['10', 6.4,5], ['11', 6.8,6], ['12', 7.2,6], ['13', 7.7,7], ['14', 8.0,7], ['15', 8.1,8], ['16', 8.4,8], ['17', 8.5,8.2], ['18', 8.7,8.5], ['19', 8.8,8.8], ['20', 8.8,8.8], ]); var options = { title: '계류법안 누적가결률 ', curveType: 'function', legend: { position: 'right' }, width: 420, height:250, backgroundColor: '#f6f6f6', colors: ['#182c52','#3783c4','#718d9e'], titleTextStyle: { fontSize: 18 }, hAxis: {title: '접수후 소요기간(월)', titleTextStyle: {color: '#333'}}, }; var chart = new google.visualization.LineChart(document.getElementById('chart_div3')); chart.draw(data2, options); } */ } else { $(".list_cell_left").removeClass("list_cell_left_active"); $(".list_cell_left").children("div").removeClass("table_act"); $(".list_cell_left").children(".play_01").css("display","none") $(".list_cell_right").css("display","block"); $(".list_content_per").css("display","none"); $(".list_cell").css("width","100%"); } }); $(".list_cell_left_cell_04").click(function(){ $(".list_content_per").css("display","none"); $(".list_content_keyword").css("display","none"); $(".list_content_process").css("display","none"); $(".list_content").css("display","none"); $(".list_content_meeting").css("display","none"); $(".list_content_meeting_all").css("display","none"); $(".list_content_passing").css("display","none"); if ( $(this).hasClass("table_act") == false ) { $(".list_cell_left").removeClass("list_cell_left_active"); $(".list_cell_left").children("div").removeClass("table_act"); $(".list_cell_left").children(".play_01").css("display","none") $(this).addClass("table_act"); $(this).parent(".list_cell_left").addClass("list_cell_left_active"); $(".list_cell_right").css("display","none"); $(".list_content_wonan").css("display","block"); $(this).parent(".list_cell_left").children(".play_01").css("display","block"); $(".list_cell").css("width","571px"); google.charts.load('current', {'packages':['corechart']}); google.charts.setOnLoadCallback(drawChart1235); function drawChart1235() { /* var data2 = google.visualization.arrayToDataTable([ ['참석여부', '참석', '불참', '기권', { role: 'annotation' } ], ['더불어민주당', 100, 60, 40, ''], ['미래통합당', 100, 60, 40, ''], ['자유당', 100, 60, 40, ''], ['정의당', 100, 60, 40, ''] ]); var options = { title: '', curveType: 'function', legend: { position: 'right' }, width: 700, height:200, legend: { position: 'top', maxLines: 3 }, bar: { groupWidth: '75%' }, isStacked: true, colors: ['#182c52','#3783c4','#718d9e'], backgroundColor: '#f6f6f6', titleTextStyle: { fontSize: 0 } }; var chart = new google.visualization.BarChart(document.getElementById("bar_graph")); chart.draw(data2, options); */ } } else { $(".list_cell_left").removeClass("list_cell_left_active"); $(".list_cell_left").children("div").removeClass("table_act"); $(".list_cell_left").children(".play_01").css("display","none") $(".list_cell_right").css("display","block"); $(".list_content_wonan").css("display","none"); $(".list_cell").css("width","100%"); } }); /* $(".list_content_height").click(function(){ $(".list_content_height").css("display","none"); }); */ // 가결확률 예측 추가. 2021.01.11. by.김도현 $(".list_cell_left_cell_11").click(function(){ $(".list_content_height").css("display","none"); if ( $(this).hasClass("table_act") == false ) { $(".list_cell_left").removeClass("list_cell_left_active"); $(".list_cell_left").children("div").removeClass("table_act"); $(".list_cell_left").children(".play_01").css("display","none") $(this).addClass("table_act"); $(this).parent(".list_cell_left").addClass("list_cell_left_active"); $(".list_cell_right").css("display","none"); $(".list_content_passing").css("display","block"); $(this).parent(".list_cell_left").children(".play_01").css("display","block"); $(".list_cell").css("width","571px"); } else { $(".list_cell_left").removeClass("list_cell_left_active"); $(".list_cell_left").children("div").removeClass("table_act"); $(".list_cell_left").children(".play_01").css("display","none") $(".list_cell_right").css("display","block"); $(".list_content_passing").css("display","none"); $(".list_cell").css("width","100%"); } }); $(".see_all_meeting2").click(function(){ $(".list_law_list").css("display","none"); // $(".list_content_meeting_all2").css("display","none"); $(".list_content_meeting").css("display","none"); $(".list_content_keyword").css("display","none"); if ( $(this).hasClass("table_act") == false ) { $(".list_cell_left").removeClass("list_cell_left_active"); $(".list_cell_left").children("table").children().children().children('td').removeClass("table_act"); $(".list_cell_left").children(".play_01").css("display","none") $(this).addClass("table_act"); $(this).parent().parent().parent().parent(".list_cell_left").addClass("list_cell_left_active"); $(".list_cell_right").css("display","none"); $(".list_content_meeting_all2").css("display","block"); $(this).parent().parent().parent().parent(".list_cell_left").children(".play_01").css("display","block"); $(".list_cell").css("width","571px"); } else { $(".list_cell_left").removeClass("list_cell_left_active"); $(".list_cell_left").children("table").children().children().children('td').removeClass("table_act"); $(".list_cell_left").children(".play_01").css("display","none") $(".list_cell_right").css("display","block"); $(".list_content_meeting_all2").css("display","none"); $(".list_cell").css("width","100%"); } }); $(".see_law_list").click(function(){ // $(".list_law_list").css("display","none"); $(".list_content_meeting_all2").css("display","none"); $(".list_content_meeting").css("display","none"); $(".list_content_keyword").css("display","none"); if ( $(this).hasClass("table_act") == false ) { $(".list_cell_left").removeClass("list_cell_left_active"); $(".list_cell_left").children("table").children().children().children('td').removeClass("table_act"); $(".list_cell_left").children(".play_01").css("display","none") $(this).addClass("table_act"); $(this).parent().parent().parent().parent(".list_cell_left").addClass("list_cell_left_active"); $(".list_cell_right").css("display","none"); $(".list_law_list").css("display","block"); $(this).parent().parent().parent().parent(".list_cell_left").children(".play_01").css("display","block"); $(".list_cell").css("width","571px"); } else { $(".list_cell_left").removeClass("list_cell_left_active"); $(".list_cell_left").children("table").children().children().children('td').removeClass("table_act"); $(".list_cell_left").children(".play_01").css("display","none") $(".list_cell_right").css("display","block"); $(".list_law_list").css("display","none"); $(".list_cell").css("width","100%"); } }); $(".play_01").click(function(){ $(".list_cell_left").removeClass("list_cell_left_active"); $(".list_cell_left").children("div").removeClass("table_act"); $(".list_cell_left").children("table").children().children().children('td').removeClass("table_act"); $(".list_cell_left").children(".play_01").css("display","none"); $(".list_cell_right").css("display","block"); $(".list_content").css("display","none"); $(".list_content_per").css("display","none"); $(".list_content_meeting").css("display","none"); $(".list_content_sosok").css("display","none"); $(".list_content_pyogyul").css("display","none"); $(".list_content_keyword").css("display","none"); $(".list_content_suggest").css("display","none"); $(".list_content_vote").css("display","none"); $(".list_content_meeting_all").css("display","none"); $(".list_content_meeting_all2").css("display","none"); $(".list_content_process").css("display","none"); $(".list_content_wonan").css("display","none"); $(".list_law_list").css("display","none"); $(".list_cell").css("width","100%"); $(".list_content_passing").css("display","none"); }); $(".left_content_x").click(function(){ $(".list_cell_left").removeClass("list_cell_left_active"); $(".list_cell_left").children("div").removeClass("table_act"); $(".list_cell_left").children("table").children().children().children('td').removeClass("table_act"); $(".list_cell_left").children(".play_01").css("display","none") $(".list_cell_right").css("display","block"); $(".list_content").css("display","none"); $(".list_content_per").css("display","none"); $(".list_content_meeting").css("display","none"); $(".list_content_sosok").css("display","none"); $(".list_content_keyword").css("display","none"); $(".list_content_pyogyul").css("display","none"); $(".list_content_suggest").css("display","none"); $(".list_content_vote").css("display","none"); $(".list_content_meeting_all").css("display","none"); $(".list_content_meeting_all2").css("display","none"); $(".list_content_process").css("display","none"); $(".list_content_wonan").css("display","none"); $(".list_law_list").css("display","none"); $(".list_cell").css("width","100%"); $(".list_content_passing").css("display","none"); }); $(".tab").click(function(){ $(".tab").removeClass("tab_sel"); $(this).addClass("tab_sel"); }); $("#all_ch").click(function(){ $("input[type=checkbox]").click(); }); $(".search_btn_02").click(function(){ if( $(".search_btn_02_contents").css("display") == "none" ) { $(this).addClass("btn_02_active"); $(".search_btn_02_contents").css("display","block"); } else { $(this).removeClass("btn_02_active"); $(".search_btn_02_contents").css("display","none"); } }); // $(".plus_minus").click(function(){ $(document).on("click", ".plus_minus", function(){ if( $(this).next('.plus_minus_content').css("display") == "none" ) { $(this).next('.plus_minus_content').css("display","block"); $(this).children("span:first-of-type").css("display","inline"); $(this).children("span:nth-of-type(2)").css("display","none"); } else { $(this).next('.plus_minus_content').css("display","none"); $(this).children("span:first-of-type").css("display","none"); $(this).children("span:nth-of-type(2)").css("display","inline"); } }); $(".membering").click(function(){ $('.meeting_talk').css("display","-webkit-box"); $('.meeting_talk').removeClass("meeting_talk_ac"); if ( $(this).parent().next('div').css("display") == "none" && $(this).hasClass("membering_ac") == false ) { $(this).addClass("membering_ac"); $(this).parent().next('div').css("display","block"); } else if ( $(this).parent().next('div').css("display") == "block" && $(this).hasClass("membering_ac") == false ) { $(".membering").removeClass("membering_ac"); $(this).addClass("membering_ac"); $(this).parent().next('div').css("display","block"); } else { $(this).removeClass("membering_ac"); $(this).parent().next('div').css("display","none"); } }); $(".meeting_talk").click(function(){ }); $(".left_content_x2").click(function(){ $(this).parent().css("display","none"); $(".search_btn_02").removeClass("btn_02_active"); $(".backscreen").css("display","none"); }); // $(".meeting_talk_more").click(function(){ $(document).on("click", ".meeting_talk_more", function(){ // var meeting_title = $(this).parent().parent().parent().prev(".plus_minus").text(); // var meeting_title2 = meeting_title.replace("-+",""); // 2020.06.15. by.김도현 var meeting_title = $(this).parent().parent().prev(".plus_minus").text(); var meeting_title2 = meeting_title.replace("-+ ",""); $(".tab").removeClass("tab_sel"); $(".tabs").append('
' + meeting_title2 + '
x
'); // $(".list_content_meeting_all em").html(meeting_title2); $(".list_cell_left").children("table").children().children().children('td').removeClass("table_act"); $(".list_content").css("display","none"); $(".list_content_per").css("display","none"); $(".list_content_meeting").css("display","none"); $(".list_content_sosok").css("display","none"); $(".list_content_keyword").css("display","none"); $(".list_content_suggest").css("display","none"); $(".list_content_vote").css("display","none"); $(".list_content_meeting_all").css("display","block"); var tab_wid3 = $(".contents").width(); var tab_all3 = $(".tab").length; if ( tab_all3 >= 8 ) { var tab_n_wid1234 = tab_wid3 / tab_all3 -20; $(".tab").css("width", tab_n_wid1234 ); } else { $(".tab").css("width","11%"); } }); $(".matrix_point").mouseover(function(){ $(this).children('.mem_bg').css("display","block"); }); $(".matrix_point").mouseout(function(){ $(this).children('.mem_bg').css("display","none"); }); $(".kor_map_city_cell_inner_txt").mouseover(function(){ $(this).children(".kor_map_city_cell_inner_txt_detail").css("display","block"); }); $(".kor_map_city_cell_inner_txt").mouseout(function(){ $(".kor_map_city_cell_inner_txt_detail").css("display","none"); }); $(".first_bar").children(".first_bar_01").click(function(){ $(".bar_line_ver").css("display","none"); $(".first_bar").children("div").children(".bar_line").css("width","0px"); $(".second_bar").children("div").children(".bar_line").css("width","0px"); $(".third_bar").children("div").children(".bar_line").css("width","0px"); $(".bar_line").children("img").css("display","none"); $(".bar_line").children("span").css("display","none"); $(".org_tree_wrap").css("display","block"); $(this).parent('.first_bar').stop().animate({ left : "0px", marginLeft : "0px" },400, function(){ $(".second_bar").css("display","block");$(".second_bar").stop().animate({ opacity : '1' },400);$(".third_bar").css("display","block");$(".third_bar").stop().animate({ opacity : '1' },400, function(){ $(".first_bar").children(".first_bar_01").children(".bar_line").stop().animate({ width: "150px" },400, function(){ var sec_01 = $(".second_bar").children("div:nth-of-type(1)").height() - 25;var sec_02 = $(".second_bar").children("div:nth-of-type(2)").height();var sec_03 = $(".second_bar").children("div:nth-of-type(3)").height();var sec_04 = $(".second_bar").children("div:nth-of-type(4)").height();var sec_05 = $(".second_bar").children("div:nth-of-type(5)").height() / 2;var sec_all = sec_01 + sec_02 + sec_03 + sec_04 + sec_05;$(".bar_line_ver:nth-of-type(1)").css("display","block");$(".bar_line_ver:nth-of-type(1)").css("height", sec_all );$(".second_bar").children("div").children(".bar_line:nth-of-type(1)").stop().animate({ width: "150px" },400, function(){ $(".second_bar").children("div").children(".bar_line:nth-of-type(1)").children('img').css("display","block");$(".second_bar").children("div").children(".bar_line:nth-of-type(1)").children('span').css("display","inline");$(".second_bar").children("div:nth-of-type(4)").children(".bar_line:nth-of-type(2)").stop().animate({ width: "90px" }, 400, function(){ var thir_01 = $(".third_bar").children("div:nth-of-type(1)").height() - 25; var thir_02 = $(".third_bar").children("div:nth-of-type(2)").height(); var thir_03 = $(".third_bar").children("div:nth-of-type(3)").height(); var thir_04 = $(".third_bar").children("div:nth-of-type(4)").height() / 2; var thir_all = thir_01 + thir_02 + thir_03 + thir_04; $(".bar_line_ver:nth-of-type(2)").css("display","block"); $(".bar_line_ver:nth-of-type(2)").css("height", thir_all ); $(".third_bar").children("div").children(".bar_line:nth-of-type(1)").stop().animate({ width: "90px" }, 400, function(){ $(".third_bar img").css("display","block");$(".third_bar span").css("display","inline");$(".second_bar").children("div:nth-of-type(3)").children('.bar_line:nth-of-type(2)').stop().animate({ width: "20px" },400, function(){ var pl_01 = $(".second_bar").children("div:nth-of-type(1)").height();var pl_02 = $(".second_bar").children("div:nth-of-type(2)").height();var pl_03 = $(".second_bar").children("div:nth-of-type(3)").height() / 2 + 20;var pl_all = pl_01 + pl_02 + pl_03; var fu_01 = $(".first_bar").children("div:nth-of-type(3)").height(); var fu_02 = $(".first_bar").children("div:nth-of-type(2)").height() / 2; var fu = 500 - pl_all - fu_01 - fu_02 + 20; $(".bar_line_ver:nth-of-type(3)").css("display","block");$(".bar_line_ver:nth-of-type(3)").css("top", pl_all );$(".bar_line_ver:nth-of-type(3)").css("height", fu );$(".first_bar").children('div:nth-of-type(2)').children(".bar_line:nth-of-type(2)").stop().animate({ width: "282px" }, 400, function(){ $(".first_bar").children('div:nth-of-type(2)').children(".bar_line:nth-of-type(2)").children('img').css("display","block");$(".first_bar").children('div:nth-of-type(2)').children(".bar_line:nth-of-type(2)").children('span').css("display","inline");$(".org_tree_wrap").css("display","none"); }); } ) }); } ); }); } ) }) }); }); $(".first_bar").children(".first_bar_02").click(function(){ $(".bar_line_ver").css("display","none"); $(".first_bar").children("div").children(".bar_line").css("width","0px"); $(".second_bar").children("div").children(".bar_line").css("width","0px"); $(".third_bar").children("div").children(".bar_line").css("width","0px"); $(".bar_line").children("img").css("display","none"); $(".bar_line").children("span").css("display","none"); $(".org_tree_wrap").css("display","block"); $(this).parent('.first_bar').stop().animate({ left : "0px", marginLeft : "0px" },400, function(){ $(".second_bar").css("display","block");$(".second_bar").stop().animate({ opacity : '1' },400);$(".third_bar").css("display","block");$(".third_bar").stop().animate({ opacity : '1' },400, function(){ $(".first_bar").children(".first_bar_02").children(".bar_line:nth-of-type(1)").stop().animate({width:"152px"},400, function(){ var sec_hei_01 = $(".first_bar").children("div:nth-of-type(1)").height() - 25; var sec_hei_02 = $(".first_bar").children("div:nth-of-type(2)").height() / 2; var sec_hei_all = sec_hei_01 + sec_hei_02; $(".bar_line_ver:nth-of-type(1)").css("display","block");$(".bar_line_ver:nth-of-type(1)").css("height", sec_hei_all );$(".second_bar").children("div:nth-of-type(1)").children(".bar_line:nth-of-type(2)").stop().animate({ width:"150px" },400); $(".second_bar").children("div:nth-of-type(2)").children(".bar_line:nth-of-type(2)").stop().animate({ width:"150px" },400, function(){ $(".second_bar").children("div:nth-of-type(2)").children(".bar_line:nth-of-type(2)").children("img").css("display","block");$(".second_bar").children("div:nth-of-type(1)").children(".bar_line:nth-of-type(2)").children("img").css("display","block");$(".second_bar").children("div:nth-of-type(2)").children(".bar_line:nth-of-type(2)").children("span").css("display","inline");$(".second_bar").children("div:nth-of-type(1)").children(".bar_line:nth-of-type(2)").children("span").css("display","inline");$(".org_tree_wrap").css("display","none"); }); } ) } ) }); }); $(".first_bar").children(".first_bar_03").click(function(){ $(".bar_line_ver").css("display","none"); $(".first_bar").children("div").children(".bar_line").css("width","0px"); $(".second_bar").children("div").children(".bar_line").css("width","0px"); $(".third_bar").children("div").children(".bar_line").css("width","0px"); $(".bar_line").children("img").css("display","none"); $(".bar_line").children("span").css("display","none"); $(".org_tree_wrap").css("display","block"); $(this).parent('.first_bar').stop().animate({ left : "0px", marginLeft : "0px" },400, function(){ $(".second_bar").css("display","block");$(".second_bar").stop().animate({ opacity : '1' },400);$(".third_bar").css("display","block");$(".third_bar").stop().animate({ opacity : '1' },400,function(){ $(".first_bar").children(".first_bar_03").children(".bar_line:nth-of-type(1)").stop().animate({width:"152px"},400, function(){ var lhei = $(".first_bar").children(".first_bar_01").height() - 25; var lhei_02 = $(".first_bar").children(".first_bar_02").height(); var lhei_03 = $(".first_bar").children(".first_bar_03").height() / 2 ; var lhei_all = lhei + lhei_02 + lhei_03; $(".bar_line_ver:nth-of-type(1)").css("display","block"); $(".bar_line_ver:nth-of-type(1)").css("height", lhei_all ); $(".second_bar").children("div:nth-of-type(1)").children(".bar_line:nth-of-type(3)").stop().animate({width:"150px"},400); $(".second_bar").children("div:nth-of-type(2)").children(".bar_line:nth-of-type(3)").stop().animate({width:"150px"},400); $(".second_bar").children("div:nth-of-type(3)").children(".bar_line:nth-of-type(3)").stop().animate({width:"150px"},400); $(".second_bar").children("div:nth-of-type(5)").children(".bar_line:nth-of-type(2)").stop().animate({width:"150px"},400, function(){ $(".second_bar").children("div:nth-of-type(1)").children(".bar_line:nth-of-type(3)").children("img").css("display","inline"); $(".second_bar").children("div:nth-of-type(1)").children(".bar_line:nth-of-type(3)").children("span").css("display","inline"); $(".second_bar").children("div:nth-of-type(2)").children(".bar_line:nth-of-type(3)").children("img").css("display","inline"); $(".second_bar").children("div:nth-of-type(2)").children(".bar_line:nth-of-type(3)").children("span").css("display","inline"); $(".second_bar").children("div:nth-of-type(3)").children(".bar_line:nth-of-type(3)").children("img").css("display","inline"); $(".second_bar").children("div:nth-of-type(3)").children(".bar_line:nth-of-type(3)").children("span").css("display","inline"); $(".second_bar").children("div:nth-of-type(5)").children(".bar_line:nth-of-type(2)").children("img").css("display","inline"); $(".second_bar").children("div:nth-of-type(5)").children(".bar_line:nth-of-type(2)").children("span").css("display","inline"); $(".second_bar").children("div:nth-of-type(3)").children(".bar_line:nth-of-type(2)").stop().animate({width:"20px"},400, function(){ var pl_01 = $(".second_bar").children("div:nth-of-type(1)").height();var pl_02 = $(".second_bar").children("div:nth-of-type(2)").height();var pl_03 = $(".second_bar").children("div:nth-of-type(3)").height() / 2 + 20;var pl_all = pl_01 + pl_02 + pl_03; var fu_01 = $(".first_bar").children("div:nth-of-type(3)").height(); var fu_02 = $(".first_bar").children("div:nth-of-type(2)").height() / 2; var fu = 500 - pl_all - fu_01 - fu_02 + 20; $(".bar_line_ver:nth-of-type(3)").css("display","block");$(".bar_line_ver:nth-of-type(3)").css("top", pl_all );$(".bar_line_ver:nth-of-type(3)").css("height", fu ); $(".first_bar").children(".first_bar_02").children(".bar_line:nth-of-type(3)").stop().animate({width:"282px"},400, function(){ $(".first_bar").children("div:nth-of-type(2)").children(".bar_line:nth-of-type(3)").children("img").css("display","inline"); $(".first_bar").children("div:nth-of-type(2)").children(".bar_line:nth-of-type(3)").children("span").css("display","inline"); $(".org_tree_wrap").css("display","none"); }); }); }); });} );}); }); $(".seoul_ddam").mouseover(function(){ $(".kyunggi").css("background","url('img/kyunggi_sel.png') no-repeat"); }); $(".seoul_ddam").mouseout(function(){ $(".kyunggi").attr("style","left:326px;top:0px;"); }); $(".seoul_ddam2").mouseover(function(){ $(".kyunggi").css("background","url('img/kyunggi_sel.png') no-repeat"); }); $(".seoul_ddam2").mouseout(function(){ $(".kyunggi").attr("style","left:326px;top:0px;"); }); $(".seoul_ddam3").mouseover(function(){ $(".kyunggi").css("background","url('img/kyunggi_sel.png') no-repeat"); }); $(".seoul_ddam3").mouseout(function(){ $(".kyunggi").attr("style","left:326px;top:0px;"); }); $(".kangwon_ddam").mouseover(function(){ $(".kangwon").css("background","url('img/kangwon_sel.png') no-repeat"); }); $(".kangwon_ddam").mouseout(function(){ $(".kangwon").attr("style","left:700px;top:0px;"); }); $(".kangwon_ddam2").mouseover(function(){ $(".kangwon").css("background","url('img/kangwon_sel.png') no-repeat"); }); $(".kangwon_ddam2").mouseout(function(){ $(".kangwon").attr("style","left:700px;top:0px;"); }); $(".kangwon_ddam3").mouseover(function(){ $(".kangwon").css("background","url('img/kangwon_sel.png') no-repeat"); }); $(".kangwon_ddam3").mouseout(function(){ $(".kangwon").attr("style","left:700px;top:0px;"); }); $(".kyunggi_ddam").mouseover(function(){ $(".kyunggi").css("background","url('img/kyunggi_sel.png') no-repeat"); }); $(".kyunggi_ddam").mouseout(function(){ $(".kyunggi").attr("style","left:326px;top:0px;"); }); $(".incheon_ddam").mouseover(function(){ $(".incheon").css("background","url('img/incheon_sel.png') no-repeat"); }); $(".incheon_ddam").mouseout(function(){ $(".incheon").attr("style","left:243px;top:115px;"); }); $(".incheon_ddam2").mouseover(function(){ $(".incheon").css("background","url('img/incheon_sel.png') no-repeat"); }); $(".incheon_ddam2").mouseout(function(){ $(".incheon").attr("style","left:243px;top:115px;"); }); $(".incheon_ddam3").mouseover(function(){ $(".incheon").css("background","url('img/incheon_sel.png') no-repeat"); }); $(".incheon_ddam3").mouseout(function(){ $(".incheon").attr("style","left:243px;top:115px;"); }); $( ".kor_map_city_cell" ).each(function() { if( $(this).css("opacity") == "0.5" ) { $(this).children(".kor_map_city_cell_inner_txt").css("color","rgba(0,0,0,1)"); } if( $(this).css("opacity") == "0.4" ) { $(this).children(".kor_map_city_cell_inner_txt").css("color","rgba(0,0,0,1)"); } if( $(this).css("opacity") == "0.3" ) { $(this).children(".kor_map_city_cell_inner_txt").css("color","rgba(0,0,0,1)"); } if( $(this).css("opacity") == "0.2" ) { $(this).children(".kor_map_city_cell_inner_txt").css("color","rgba(0,0,0,1)"); } if( $(this).css("opacity") == "0.1" ) { $(this).children(".kor_map_city_cell_inner_txt").css("color","rgba(0,0,0,1)"); } }); $(".side_menu a").mouseover(function(){ $(this).children(".under_construction").css("display","block"); }); $(".side_menu a").mouseout(function(){ $(this).children(".under_construction").css("display","none"); }); $(".qaq").click(function(){ if( $(this).next(".qaa").css("display") == "none" ) { $(this).next(".qaa").css("display","block"); $(this).css("color","black"); $(this).css("margin-top","-1px"); } else { $(this).next(".qaa").css("display","none"); $(this).css("color","gray"); $(this).css("margin-top","-1px"); } }); }); $(window).resize(function(){ var tab_wid = $(".contents").width(); var tab_all = $(".tab").length; var tab_n_wid = $(".tab").width() + 45; var tab_n_wid_all = tab_n_wid * tab_all; if ( tab_all >= 8 ) { var tab_n_wid1 = tab_wid / tab_all -20; $(".tab").css("width", tab_n_wid1 ); } else { $(".tab").css("width","11%"); } }); $(window).on("load resize", function(){ var widwidth = $(window).width(); if( widwidth < 1000 ) { $("#toggle").click(); } });