Show different content depending on the day. Paste the code below where you want it to appear on your page. Replace the links with whatever your would like to display.
<!-- jQuery is required if you're not already using it -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<noscript>Rotating content provided by <a href=\"http://www.top-site-list.com\">Top Site List Planet</a></noscript>
<div id="rotatingContent"></div>
<script>
$(function(){
var url;
var now = new Date();
switch (now.getDay()) {
case 1:
// Page for Monday
url = 'http://www.top-site-list.com/scripts/assets/rotating-ajax-includes/monday.html';
break;
case 2:
// Page for Tuesday
url = 'http://www.top-site-list.com/scripts/assets/rotating-ajax-includes/tuesday.html';
break;
case 3:
// Page for Wednesday
url = 'http://www.top-site-list.com/scripts/assets/rotating-ajax-includes/wednesday.html';
break;
case 4:
// Page for Thursday
url = 'http://www.top-site-list.com/scripts/assets/rotating-ajax-includes/thursday.html';
break;
case 5:
// Page for Friday
url = 'http://www.top-site-list.com/scripts/assets/rotating-ajax-includes/friday.html';
break;
case 6:
// Page for Saturday
url = 'http://www.top-site-list.com/scripts/assets/rotating-ajax-includes/saturday.html';
break;
default:
case 7:
// Page for Sunday
url = 'http://www.top-site-list.com/scripts/assets/rotating-ajax-includes/sunday.html';
break;
}
$("#rotatingContent").load(url);
});
</script>