-change airtime-dev.sourcefabric.org to localhost in widgets sample page
-tabs now default to the current day
This commit is contained in:
parent
c300b8f36d
commit
9a7025b4ac
1 changed files with 5 additions and 4 deletions
|
@ -12,22 +12,23 @@
|
|||
<script>
|
||||
$(document).ready(function() {
|
||||
$("#headerLiveHolder").airtimeLiveInfo({
|
||||
sourceDomain: "http://airtime-dev.sourcefabric.org",
|
||||
sourceDomain: "http://localhost",
|
||||
text: {onAirNow:"On air today"},
|
||||
updatePeriod: 20 //seconds
|
||||
});
|
||||
$("#onAirToday").airtimeShowSchedule({
|
||||
sourceDomain: "http://airtime-dev.sourcefabric.org",
|
||||
sourceDomain: "http://localhost",
|
||||
text: {onAirNow:"On Air Now", offline:"Offline", current:"Current", next:"Next"},
|
||||
updatePeriod: 5 //seconds
|
||||
});
|
||||
$("#scheduleTabs").airtimeWeekSchedule({
|
||||
sourceDomain:"http://airtime-dev.sourcefabric.org/",
|
||||
sourceDomain:"http://localhost",
|
||||
dowText:{monday:"Monday", tuesday:"Tuesday", wednesday:"Wednesday", thursday:"Thursday", friday:"Friday", saturday:"Saturday", sunday:"Sunday"},
|
||||
miscText:{time:"Time", programName:"Program Name", details:"Details", readMore:"Read More"},
|
||||
updatePeriod: 600 //seconds
|
||||
});
|
||||
$('#scheduleTabs').tabs();
|
||||
var d = new Date().getDay();
|
||||
$('#scheduleTabs').tabs({selected: d === 0 ? 6 : d-1, fx: { opacity: 'toggle' }});
|
||||
|
||||
});
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue