Skip to content

Latest commit

 

History

History
180 lines (145 loc) · 4.87 KB

2-publications.md

File metadata and controls

180 lines (145 loc) · 4.87 KB
layout title image nav-menu
landing
Publications & Presentations
assets/home/publications.jpg
true
Conference / Journal: ALL SIGGRAPH (Asia) / TOG
Type: ALL Full Paper Poster Extended Abstract Talk
Language: In English In Korean

<script> // https://stackoverflow.com/questions/610406/javascript-equivalent-to-printf-string-format // First, checks if it isn't implemented yet. if (!String.prototype.format) { String.prototype.format = function() { var args = arguments; return this.replace(/{(\d+)}/g, function(match, number) { return typeof args[number] != 'undefined' ? args[number] : match ; }); }; } function dynamicallyLoadScript(url) { var script = document.createElement("script"); // create a script DOM node script.src = url; // set its src to the provided URL document.head.appendChild(script); // add it to the end of the head section of the page (could change 'head' to 'body' to add it to the end of the body section instead) } dynamicallyLoadScript('publications-eng.js'); dynamicallyLoadScript('publications-kor.js'); function onSelect() { var conf_select = document.getElementById("conf_select"); var conf = conf_select.options[conf_select.selectedIndex].value; var type_select = document.getElementById("type_select"); var type = type_select.options[type_select.selectedIndex].value; var lang_select = document.getElementById("lang_select"); var lang = lang_select.options[lang_select.selectedIndex].value; if(lang=='eng') var publications = publications_eng; else var publications = publications_kor; var contents_code = ''; for(var i = 0; i < publications.length; i++) { var pub = publications[i]; var show = false; if(conf=='siggraph' && (pub.conference_journal=='SIGGRAPH' || pub.conference_journal=='SIGGRAPH Asia' || pub.conference_journal=='TOG')) show = true; else if(conf=='all') show = true; else show = false; if(show) { if(type=='paper' && (pub.type=='paper')) show = true; else if(type=='poster' && (pub.type=='poster')) show = true; else if(type=='extended_abstract' && (pub.type=='extended_abstract')) show = true; else if(type=='talk' && (pub.type=='talk')) show = true; else if(type=='all') show = true; else show = false; } if(show) { contents_code += '
'; // right (horizontal) & top (vertical) alignment contents_code += ''.format(pub.representative_img); if('project_page' in pub) contents_code += '{1}
'.format(pub.project_page, pub.title); else contents_code += '{0}
'.format(pub.title); contents_code += '{0}
'.format(pub.authors); contents_code += '{0}
'.format(pub.conference_journal_full); if('additional' in pub) contents_code += '{0}
'.format(pub.additional); contents_code += '
'; } } var contents = document.getElementById("contents"); contents.innerHTML = contents_code; } // set default value and trigger onchange event when window is loaded window.onload = function () { var conf_select = document.getElementById("conf_select"); conf_select.value = 'all'; conf_select.onchange(); var type_select = document.getElementById("type_select"); type_select.value = 'all'; type_select.onchange(); var lang_select = document.getElementById("lang_select"); lang_select.value = 'eng'; lang_select.onchange(); } </script>