김소현
2023.08.05

// 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':'김소현', '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 = -1691189102; 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회만 해당 설문에 참여 하실 수 있습니다. 설문이 완료되기 전까지는 설문 참여자만 실시간 설문 진행 결과를 보실 수 있습니다. 설문이 등록하면 설문 내용에 대한 수정이 불가능합니다. 설문 참여자가 설문에 참여하면 글에 대한 수정 삭제가 불가능합니다. 공개로 설문이 진행되면 각 항목에 답한 참여자의 리스트를 볼 수 있습니다.
댓글달기
최신게시글
| No | Title | Date | Cate |
|---|---|---|---|
| 1079637 | 맨날 아내보고 지능이 낮다고 한다는 남편 | 최신게시물 | |
| 1079636 | 일반인의 미친 일침...jpg | 최신게시물 | |
| 1079635 | 한국어가 편해진 트와이스 사나.jpg | 최신게시물 | |
| 1079634 | 돈스파이크 영상 댓글 성지 | 최신게시물 | |
| 1079633 | 브래지어와 인증샷 찍은 가수 | 최신게시물 | |
| 1079606 | STAYC 수민 | 최신게시물 | |
| 1079605 | 있지 유나 | 최신게시물 | |
| 1079604 | 프로미스나인 노지선 | 최신게시물 | |
| 1079603 | 있지 유나 | 최신게시물 | |
| 1079602 | 트와이스 모모 | 최신게시물 | |
| 1079601 | 있지 유나 | 최신게시물 | |
| 1079600 | 드레스 골반 라인 정수정 | 최신게시물 | |
| 1079599 | 유지나 유지애 | 최신게시물 | |
| 1079598 | EXID 하니 오지는 맥심 화보 ㄷㄷㄷ | 최신게시물 | |
| 1079597 | 흰 바지 핏 오마이걸 아린 미친 엉브먼 | 최신게시물 |
유머구락부