webif/var/mongoose/html/epg/service.js

30 lines
548 B
JavaScript
Raw Normal View History

$(function() {
$('button').button();
$('#synopsis').iphoneStyle({
checkedLabel: 'YES',
uncheckedLabel: 'NO'
}).bind('change', function() {
if ($(this).attr('checked'))
$('.synopsis').show();
else
$('.synopsis').hide();
});
$('#listview').bind('click', function() {
var service = $(this).attr('service');
window.location.href = '/epg/xservice.jim?service=' + service;
});
$('table.weekview').freezeHeader();
$('#jumptonow').bind('click', function() {
var hour = $(this).attr('hour');
$('body').scrollTo('#hour_' + hour);
});
});