-widgets sample page should now work
This commit is contained in:
parent
61036119df
commit
fcb7ca2858
|
@ -6,7 +6,7 @@
|
||||||
sourceDomain: "http://localhost/", //where to get show status from
|
sourceDomain: "http://localhost/", //where to get show status from
|
||||||
text: {onAirToday:"On air today"}
|
text: {onAirToday:"On air today"}
|
||||||
};
|
};
|
||||||
var options = $.extend(defaults, options);
|
var options = $.extend(true, defaults, options);
|
||||||
options.sourceDomain = addEndingBackslash(options.sourceDomain);
|
options.sourceDomain = addEndingBackslash(options.sourceDomain);
|
||||||
|
|
||||||
return this.each(function() {
|
return this.each(function() {
|
||||||
|
@ -84,7 +84,7 @@
|
||||||
sourceDomain: "http://localhost/", //where to get show status from
|
sourceDomain: "http://localhost/", //where to get show status from
|
||||||
text: {onAirNow:"On Air Now", offline:"Offline", current:"Current", next:"Next"}
|
text: {onAirNow:"On Air Now", offline:"Offline", current:"Current", next:"Next"}
|
||||||
};
|
};
|
||||||
var options = $.extend(defaults, options);
|
options = $.extend(true, defaults, options);
|
||||||
options.sourceDomain = addEndingBackslash(options.sourceDomain);
|
options.sourceDomain = addEndingBackslash(options.sourceDomain);
|
||||||
|
|
||||||
return this.each(function() {
|
return this.each(function() {
|
||||||
|
@ -162,7 +162,7 @@
|
||||||
dowText: {monday:"Monday", tuesday:"Tuesday", wednesday:"Wednesday", thursday:"Thursday", friday:"Friday", saturday:"Saturday", sunday:"Sunday"},
|
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"}
|
miscText: {time:"Time", programName:"Program Name", details:"Details", readMore:"Read More"}
|
||||||
};
|
};
|
||||||
var options = $.extend(defaults, options);
|
var options = $.extend(true, defaults, options);
|
||||||
options.sourceDomain = addEndingBackslash(options.sourceDomain);
|
options.sourceDomain = addEndingBackslash(options.sourceDomain);
|
||||||
|
|
||||||
return this.each(function() {
|
return this.each(function() {
|
||||||
|
|
|
@ -13,24 +13,22 @@
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$("#headerLiveHolder").airtimeLiveInfo({
|
$("#headerLiveHolder").airtimeLiveInfo({
|
||||||
sourceDomain: "http://airtime-dev.sourcefabric.org",
|
sourceDomain: "http://airtime-dev.sourcefabric.org",
|
||||||
text: {onAirToday:"On air today"},
|
text: {onAirNow:"On air today"},
|
||||||
updatePeriod: 20 //seconds
|
updatePeriod: 20 //seconds
|
||||||
});
|
});
|
||||||
});
|
|
||||||
$(document).ready(function() {
|
|
||||||
$("#onAirToday").airtimeShowSchedule({
|
$("#onAirToday").airtimeShowSchedule({
|
||||||
sourceDomain: "http://airtime-dev.sourcefabric.org",
|
sourceDomain: "http://airtime-dev.sourcefabric.org",
|
||||||
text: {onAirNow:"On Air Now", offline:"Offline", current:"Current", next:"Next"},
|
text: {onAirNow:"On Air Now", offline:"Offline", current:"Current", next:"Next"},
|
||||||
updatePeriod: 5 //seconds
|
updatePeriod: 5 //seconds
|
||||||
});
|
});
|
||||||
});
|
|
||||||
$(document).ready(function() {
|
|
||||||
$("#scheduleTabs").airtimeWeekSchedule({
|
$("#scheduleTabs").airtimeWeekSchedule({
|
||||||
sourceDomain:"http://airtime-dev.sourcefabric.org/",
|
sourceDomain:"http://airtime-dev.sourcefabric.org/",
|
||||||
dowText:{monday:"Lundi", tuesday:"Mardi", wednesday:"Mercredi", thursday:"Jeudi", friday:"Vendredi", saturday:"Samedi", sunday:"Dimanche"},
|
dowText:{monday:"Lundi", tuesday:"Mardi", wednesday:"Mercredi", thursday:"Jeudi", friday:"Vendredi", saturday:"Samedi", sunday:"Dimanche"},
|
||||||
miscText:{time:"Temps", programName:"Nom du Programme", details:"Détails", readMore:"Lire La Suite"},
|
miscText:{time:"Temps", programName:"Nom du Programme", details:"Détails", readMore:"Lire La Suite"},
|
||||||
updatePeriod: 600 //seconds
|
updatePeriod: 600 //seconds
|
||||||
});
|
});
|
||||||
|
$('#scheduleTabs').tabs();
|
||||||
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<div id="headerLiveHolder"></div>
|
<div id="headerLiveHolder"></div>
|
||||||
|
|
Loading…
Reference in New Issue