webif/var/mongoose/html/epg/service.js
hummypkg a087581573 fix scroll position
git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@1805 2a923420-c742-0410-a762-8d5b09965624
2014-02-23 22:47:01 +00:00

32 lines
589 B
JavaScript

$(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, 500, {
offset: {top: -50, left: 0}
});
});
});