Orbit/public/desktop_widgets/timetable/timetable.js

11 lines
210 B
JavaScript
Raw Normal View History

2012-04-12 06:19:53 +00:00
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');
}
});
}