forked from hummypkg/webif
5dccb7cbbf
git-svn-id: file:///root/webif/svn/humax/pkg/src/webif@179 2a923420-c742-0410-a762-8d5b09965624
28 lines
747 B
Plaintext
28 lines
747 B
Plaintext
puts {
|
|
<div id=dialogue></div>
|
|
<script type=text/javascript>
|
|
$(document).ready(function() {
|
|
var $dialog = $('#dialogue').dialog({
|
|
title: "Programme Details",
|
|
modal: false, autoOpen: false,
|
|
height: 500, width: 700,
|
|
show: 'scale', hide: 'fade',
|
|
draggable: true, resizable: true,
|
|
buttons: { "Close":
|
|
function() {$(this).dialog('close');}},
|
|
close: function(e,u) { $('#dialogue').empty().html(
|
|
'<img src="/img/loading.gif" alt="loading">'); }
|
|
});
|
|
$('a.event').click(function(e) {
|
|
e.preventDefault();
|
|
var url = '/cgi-bin/epg_info.jim?service=' +
|
|
$(this).attr('xs') + '&event=' +
|
|
$(this).attr('xe') + '&bare=1';
|
|
$('#dialogue').load(url);
|
|
$dialog.dialog('open');
|
|
});
|
|
});
|
|
</script>
|
|
}
|
|
|