We'd like to format the calendar view of a list not off the data entered for each of the days, but off the actual day of the week.
For example:
- Saturday and Sunday boxes would be red
- Monday boxes would be blue
- Tuesday-Thursday boxes would be yellow
- Friday boxes would be green
I'm trying this to at least get the first column/Sunday color coded, but nothing is happening:
<scripttype="text/javascript"src="/sites/ProjectSite/SiteAssets/jquery-latest.min.js"><script type="text/javascript">
$(function(){var $t;var interval = setInterval(function(){
$t = $("table.ms-acal-month>tbody tr td:nth-child(1)");
$t.each(function(){
$(this).style("background-color","red");});},1000);});</script>Any ideas on how to even start with this?