forked from hummypkg/webif
2bf876262f
git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@1825 2a923420-c742-0410-a762-8d5b09965624
32 lines
589 B
JavaScript
32 lines
589 B
JavaScript
|
|
$(function() {
|
|
|
|
$('button').button();
|
|
|
|
$('#synopsis').iphoneStyle({
|
|
checkedLabel: 'YES',
|
|
uncheckedLabel: 'NO'
|
|
}).bind('change', function() {
|
|
if ($(this).prop('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}
|
|
});
|
|
});
|
|
|
|
});
|
|
|