<script> $(document).ready(function() { $("#onAirToday").airtimeShowSchedule({ sourceDomain: "http://airtime-dev.sourcefabric.org", text: {onAirToday:"On air today"}, updatePeriod: 5, //seconds showlimit: 5 //Added by Radio A6 to limit shown shows. By changing this value you can make the list longer or shorter }); }); </script> <div id="onAirToday"></div>
var defaults = { updatePeriod: 20, //seconds sourceDomain: "http://localhost/", //where to get show status from text: {onAirToday:"On air today"}, showlimit :5 //Added by Radio A6 to limit shown shows. };
for (var i=0; i<options.showlimit; i++){
if (shows.length < options.showlimit){ options.showlimit = shows.length; }
It looks like you're new here. If you want to get involved, click one of these buttons!