orbit-4-2/public/desktop_widgets/timetable/4fa78161c88514014d7c59c0.js

9 lines
208 B
JavaScript
Raw Normal View History

function timetable(){
var d = new Date();
var n = d.getHours();
$('#tt_timetable .tt_time div').each(function(){
if($(this).data('tthour') == n ){
$(this).parents('tr').addClass('timenow');
}
});
}