CC-2570 : Widget text labels are switched, cannot be adjusted by user in current examples
This commit is contained in:
parent
b302006100
commit
5cd2a3a06c
|
@ -7,18 +7,16 @@
|
||||||
<script src="js/jquery-ui-1.8.10.custom.min.js" type="text/javascript"></script>
|
<script src="js/jquery-ui-1.8.10.custom.min.js" type="text/javascript"></script>
|
||||||
<script src="js/jquery.showinfo.js" type="text/javascript"></script>
|
<script src="js/jquery.showinfo.js" type="text/javascript"></script>
|
||||||
<link href="css/airtime-widgets.css" rel="stylesheet" type="text/css" />
|
<link href="css/airtime-widgets.css" rel="stylesheet" type="text/css" />
|
||||||
</head>
|
<script>
|
||||||
<body>
|
|
||||||
<script>
|
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$("#headerLiveHolder").airtimeLiveInfo({
|
$("#headerLiveHolder").airtimeLiveInfo({
|
||||||
sourceDomain: "http://localhost",
|
sourceDomain: "http://localhost",
|
||||||
text: {onAirNow:"On air today"},
|
text: {onAirNow:"On Air Now", offline:"Offline", current:"Current", next:"Next"},
|
||||||
updatePeriod: 20 //seconds
|
updatePeriod: 20 //seconds
|
||||||
});
|
});
|
||||||
$("#onAirToday").airtimeShowSchedule({
|
$("#onAirToday").airtimeShowSchedule({
|
||||||
sourceDomain: "http://localhost",
|
sourceDomain: "http://localhost",
|
||||||
text: {onAirNow:"On Air Now", offline:"Offline", current:"Current", next:"Next"},
|
text: {onAirToday:"On air today"},
|
||||||
updatePeriod: 5 //seconds
|
updatePeriod: 5 //seconds
|
||||||
});
|
});
|
||||||
$("#scheduleTabs").airtimeWeekSchedule({
|
$("#scheduleTabs").airtimeWeekSchedule({
|
||||||
|
@ -27,11 +25,13 @@ $(document).ready(function() {
|
||||||
miscText:{time:"Time", programName:"Program Name", details:"Details", readMore:"Read More"},
|
miscText:{time:"Time", programName:"Program Name", details:"Details", readMore:"Read More"},
|
||||||
updatePeriod: 600 //seconds
|
updatePeriod: 600 //seconds
|
||||||
});
|
});
|
||||||
var d = new Date().getDay();
|
var d = new Date().getDay();
|
||||||
$('#scheduleTabs').tabs({selected: d === 0 ? 6 : d-1, fx: { opacity: 'toggle' }});
|
$('#scheduleTabs').tabs({selected: d === 0 ? 6 : d-1, fx: { opacity: 'toggle' }});
|
||||||
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
<h1>"Now Playing" Widget</h1>
|
<h1>"Now Playing" Widget</h1>
|
||||||
This widget displays what is currently playing:
|
This widget displays what is currently playing:
|
||||||
<br/>
|
<br/>
|
||||||
|
@ -49,7 +49,7 @@ This widget displays what is being played today:
|
||||||
<h1>"Weekly Program" Widget</h1>
|
<h1>"Weekly Program" Widget</h1>
|
||||||
This widget displays all the shows for the entire week:
|
This widget displays all the shows for the entire week:
|
||||||
<br/>
|
<br/>
|
||||||
<br/>
|
<br/>
|
||||||
<div id="scheduleTabs"></div>
|
<div id="scheduleTabs"></div>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Reference in New Issue