carousel.appendChild(footer_tr);
fade_in_rows(carousel);
+ setTimeout(function() { fade_out_rows(carousel); }, 4000);
carousel.style.display = 'table';
};
}
};
+var fade_out_rows = function(table)
+{
+ var trs = table.getElementsByTagName("tr");
+ for (var i = 0; i < trs.length; ++i) {
+ if (trs[i].className === "footer") {
+ trs[i].style = "-webkit-animation: fade-out 1.0s ease; -webkit-animation-delay: " + (0.125 * i) + "s; -webkit-animation-fill-mode: both;";
+ } else {
+ trs[i].style = "-webkit-animation: fade-out 1.0s ease; -webkit-animation-delay: " + (0.125 * i) + "s; -webkit-animation-fill-mode: both;";
+ }
+ }
+};
+
// Stream schedule
var display_stream_schedule = function(response, group_name) {
var teams = parse_teams_from_spreadsheet(response);