Kep1er Yujin
2023.08.04
// Load the Visualization API and the piechart package. google.charts.load('current', {'packages':['corechart']}); // Set a callback to run when the Google Visualization API is loaded. google.charts.setOnLoadCallback(drawChart); // Callback that creates and populates a data table, // instantiates the pie chart, passes in the data and // draws it. function drawChart() { // Create the data table. var data = new google.visualization.DataTable(); data.addColumn('string', 'Topping'); data.addColumn('number', 'Slices'); data.addRows([ ]); // Set chart options var options = {'title':'Kep1er Yujin', 'width':400, 'height':300,is3D: true}; // Instantiate and draw our chart, passing in some options. var chart = new google.visualization.PieChart(document.getElementById('chart_div')); chart.draw(data, options); } function GoPoll(a){ if(confirm('선택하신 사항으로 설문에 답하시겠습니까?')){ document.formpollvote.poll_idx.value = a; document.formpollvote.submit(); }else{ return ; } } var poll_tick_count=0; var timeleft = -1691138820; var pollcountdown = setInterval(function(){ console.log(timeleft); timeleft = timeleft- 1; // Calculating the days, hours, minutes and seconds left // 1hour = 60s * 60m = 3600sec // 1day = 60s * 60m *24h = 24 * 3600sec var days = Math.floor(timeleft / ( 60 * 60 * 24)); var hours = Math.floor((timeleft / ( 60 *60 ))); var minutes = Math.floor((timeleft % ( 60 *60 ))/60 ); var seconds = Math.floor((timeleft % ( 60)) ); var days_txt =""; var hours_txt =""; var minutes_txt =""; var seconds_txt =""; var timeleft_txt =""; if (days>0 ) {timeleft_txt = timeleft_txt + days +"일 "; } if (hours>0 ) {timeleft_txt = timeleft_txt + hours +"시간 "; } if (minutes>0 ) {timeleft_txt = timeleft_txt + minutes +"분 "; } if (seconds>0 ) {timeleft_txt = timeleft_txt + seconds +"초 "; } // Result is output to the specific element //document.getElementById("days").innerHTML = days + "d " //document.getElementById("hours").innerHTML = hours + "h " //document.getElementById("mins").innerHTML = minutes + "m " document.getElementById("poll_exp_date_txt").innerHTML = timeleft_txt + " " ; poll_tick_count=poll_tick_count+1; //console.log(poll_tick_count); // Display the message when countdown is over if (timeleft < 0) { clearInterval(pollcountdown); document.getElementById("poll_exp_date_txt").innerHTML = "마감"; } }, 1000); 한 아이디 및 아이피로 1회만 해당 설문에 참여 하실 수 있습니다. 설문이 완료되기 전까지는 설문 참여자만 실시간 설문 진행 결과를 보실 수 있습니다. 설문이 등록하면 설문 내용에 대한 수정이 불가능합니다. 설문 참여자가 설문에 참여하면 글에 대한 수정 삭제가 불가능합니다. 공개로 설문이 진행되면 각 항목에 답한 참여자의 리스트를 볼 수 있습니다.
- 이전글 Kep1er Youngeun
- 다음글 MINA
댓글달기
최신게시글
No | Title | Date | Cate |
---|---|---|---|
1079369 | 카와키타 사이카 어제 인스타스토리 | 최신게시물 | |
1079368 | [단독] "제 과거를 되돌릴 순 없지만"…김히어라, '디패'에 건넨 손편지 | 최신게시물 | |
1079366 | 일본 여성들이 정의한 보통의 남성 | 최신게시물 | |
1079363 | 버스타다가 기분나쁜일을 당했다는 시각장애인 유튜버 근황 ㄷㄷ | 최신게시물 | |
1079362 | 18살 고등학생이 개발한 ‘급발진 확인장치’.news | 최신게시물 | |
1079361 | 잇섭이 몇년전 구독자에게 받은 칼을 아직까지 쓰고 있는 이유 ㄷㄷ | 최신게시물 | |
1079344 | 배우 강한나 드레스 | 최신게시물 | |
1079343 | 스키니진 입은 김세연 아나운서 움짤 | 최신게시물 | |
1079342 | 서현진 | 최신게시물 | |
1079341 | 르세라핌 허윤진 노브라 봉긋 흰 크롭 끈나시 | 최신게시물 | |
1079340 | 땀흘리는 예인이 | 최신게시물 | |
1079339 | 레이의 개인기 | 최신게시물 | |
1079338 | 끈이 튼튼한 트리플에스 김채연 | 최신게시물 | |
1079337 | 청바지 아이유 | 최신게시물 | |
1079336 | 박주현 드드드드 | 최신게시물 |