2014-02-21 21:25:33 +00:00
|
|
|
|
|
|
|
$(function() {
|
|
|
|
|
|
|
|
$('button').button();
|
|
|
|
|
|
|
|
$('#synopsis').iphoneStyle({
|
|
|
|
checkedLabel: 'YES',
|
|
|
|
uncheckedLabel: 'NO'
|
|
|
|
}).bind('change', function() {
|
2014-03-24 21:07:32 +00:00
|
|
|
if ($(this).prop('checked'))
|
2014-02-21 23:09:19 +00:00
|
|
|
$('.synopsis').show();
|
2014-02-21 21:25:33 +00:00
|
|
|
else
|
2014-02-21 23:09:19 +00:00
|
|
|
$('.synopsis').hide();
|
2014-02-21 21:25:33 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
$('#listview').bind('click', function() {
|
|
|
|
var service = $(this).attr('service');
|
|
|
|
window.location.href = '/epg/xservice.jim?service=' + service;
|
|
|
|
});
|
|
|
|
|
|
|
|
$('table.weekview').freezeHeader();
|
|
|
|
|
2014-02-23 22:22:07 +00:00
|
|
|
$('#jumptonow').bind('click', function() {
|
|
|
|
var hour = $(this).attr('hour');
|
2014-02-23 22:47:01 +00:00
|
|
|
$('body').scrollTo('#hour_' + hour, 500, {
|
|
|
|
offset: {top: -50, left: 0}
|
|
|
|
});
|
2014-02-23 22:22:07 +00:00
|
|
|
});
|
|
|
|
|
2014-02-21 21:25:33 +00:00
|
|
|
});
|
|
|
|
|