Format List Calendar View Days

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:
<script type="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?

I had to add the 'ms-acal-summary-itemrow' class to the tr element as shown below:
$sun = $("table.ms-acal-month>tbody tr.ms-acal-summary-itemrow td:nth-child(1)");
$mon = $("table.ms-acal-month>tbody tr.ms-acal-summary-itemrow td:nth-child(2)");
$fri = $("table.ms-acal-month>tbody tr.ms-acal-summary-itemrow td:nth-child(6)");
$sat = $("table.ms-acal-month>tbody tr.ms-acal-summary-itemrow td:nth-child(7)");

Similar Messages

  • Custom list - Calendar View - Time Interval

    Hi all,
    I have a custom list with "Project Start" and "Project End" columns. Then I have created a Calendar View. In the "Time Interval", I select "Project Start" for "Begin"
    and "Project End" for "End".
    In the programming code, how could I detect the column names that was chosen for "Begin" and "End" of the "Time Interval"? In this case, they are
     "Project Start" and "Project End".
    Thanks ^_^

    Hi,
    According to your post, my understanding is that you want to see the calendar view begin and end time for the time interval.
    We can use the SharePoint Manager to view the internal name for the begin and end time for the time interval.
    Open SharePoint Manager 2013->click your site->click
    Lists->select your list name->click Views->select your calendar view name->click the
    Schema Xml to check the internal name for the time interval begin and end.
    We can download the SharePoint Manager in here:
    http://spm.codeplex.com/
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • MS Project - print formatting in calendar view

    Hi - 
    I am currently adding multiple subprojects into a master plan.
    When in the calendar view before printing all tasks are showing and correct.
    Once I go to print the print preview screen is correct.
    However once the 1 week calendar view is printed, there are BLANK BOXES appearing in the print-out.
    No tasks are taking place during the time where the BLANKS appear.
    Is this a glitch in MS Project - calendar view?
    Please help much appreciated.
    Kattie

    Hi Kattie,
    I've seen such an issue due to old print drivers. Try to update your drivers and test to see if it helps.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, MCP |

  • How to export SharePoint 2013 Calendar View to PPT or as an image?

    Greetings!
    I am working on a SharePoint 2013 event calendar and should be able to provide a capability to export my calendar view (day/week/month) as a PPT slide or as an image. I understand that OOB we can export the calendar list to Excel or open using MS Access.
    I had been exploring the option of using the Chart View Web Part which can be saved as an image (jpeg/bmp/png). Here are the pitfalls - Chart View WP does not support calendar view. At best, I am able to use the Gantt Chart Types, but having difficulty using
    Calendar list "Start Time" column for one of the axes. There is End Time and Duration columns available for selection, but not start time. Also, I am unable to define date range for my date in the x-axis. Right now I have an x-axis
    that spans over 40 years. Is there any way to confine the chart for a particular quarter or year.
    At this time, I am inclined to look at custom development approaches. Any suggestions regarding an approach will be really helpful.
    Thanks!

    Well, even if you want to go through "Export", it will be more manual work than taking a screenie. Unless of course you want to achieve it programmatically (am not sure what to do there).
    Another option could be to subscribe to the SharePoint Calendar from Outlook. That way you can eliminate the need for the PPT (?) and also enable your users/clients/management to have more clarity on how the dates stand vis-a-vis other stuff they have listed
    on their calendars.
    ----------------------- Sujay Sarma {Unbounded;}

  • Why did my calendar view suddenly change? Using iOS 7.1 and I've been using this version for a few weeks with no problem with my calendar. Now the view has changed and I can't view a list mode without seeing the month too

    Why did my calendar view suddenly change in iCal? I've been using ios7 fôr a few weeks now with no problems. Suddenly, without any updates or anything, the calendar view changed and I can no longer view it as a list without having the entire month seen as well.

    Hey Gattypyle,
    Thanks for the question. You simply need to go back to Day/Week view, then tap the list-view icon once more.
    Calendar at a glance - iPhone
    http://help.apple.com/iphone/7/#/iph3d110f84
    View a list of events. In month view, tap to see a day’s events. In day view, Tap the to view a list of events.
    Thanks,
    Matt M.

  • How to Link a list with a Calendar View?

    Hi,
    I currently have a Calendar which is used for Annual Leave. All events that are approved go into a Leave Tally View which i am trying to link with another List called Leave Entitlement so i can then create a column within the Leave Entitlement for a
    calculated field that subtracts the Leave they have a year from how many they have taken so they know how many days they have left.
    Basically how can i create a type of 'Look up' column which takes the amount of days they have taken (from the Leave Tally) and puts it into the correct column for each user within the 'Leave Entitlement' List.
    Really Stumped so any help would be appreciated :)

    Hi Noodles
    (Love the name btw).
    The first thing I'd ask is why link to another list?  You can create non-calendar views (normal lists views) and consider using a workflow both changes the value of the days remaining column and sets the item level permissions to that particular member
    of staff.  Unless there's a specific reason for having the leave entitlement number in a different list?
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • ICal and calendar lists in calendar view

    The calendar lists no longer appear in the calendar view of iCal. I was having a problem so deleted ical from the macbook, then did a complete reinstall with an archive and save old settings, THEN updated all the software, THEN deleted the user account that does not show the calendar lists. THEN went to the admin account which has iCal working well with all views and did a reset of my .mac info so that it was/should be just as the correct one was. THEN set up another user account and reloaded the data on inital sync to overwrite data in the new user account. I thought that all these steps should have my calendar lists back BUT not so! Interestingly when i make the calendar list window smaller the scroll bar appears. Any assistance with this will be appreciated

    There is now a new app doing exactly that. ReplyAll app is a new iPhone app which allows to reply to all attendees of a calendar events or forward it to a new invitee as well as replying by SMS to the event organizer. It was created mainly for users who use their iPhone to manage their events. The app was build based on iOS 7 Look and Feel.https://itunes.apple.com/us/app/replyall/id749454893

  • I upgraded to ios 7.1 and even after i updated to this version in the calendar view i could get a list of all of appointments and now i have half screen of calendar and then appointments is their any way to go full screen of appointmetns

    I upgraded to ios 7.1 and even after i updated to this new version in the calendar view i could get a list of all appointments and now i have done something and i get a half scrren of calendar and half screen of appointments.  is their anyway to get full screen of appointments with the 7.1 version

    Tap on any give date in the monthly view and you will be taken a list of event, the default position being the date you tapped.
    The icon just to the left of the search icon provides a master list view of events.
    http://help.apple.com/iphone/7/#/iph3d110f84

  • Display Calendar View in List View Web Part

    We have a list and a calendar view of the list. I wanted to display the calendar view of the list in a List View Web Part in another page in the site.
    When I select the 'Calendar View' from the Views drop-down - it does not work.
    Please can you help.

    Hi Aritra,
    Is there some errors on your environment? So, you can have two workaround to do it.
    You can use SharePoint designer to add an empty data view source on your page ,then select the page.
    Use 
    Page viewer web part on your page, then put your calendar view web part page URL into your PVWP.
    Thanks,
    Jack
    Jack Gao
    TechNet Community Support

  • Ical mini calendar view is off by a day

    In mini calendar view, when I use the left or right arrows the date moves properly.  But when I click on a specific date in the mini calendar it brings up the calendar for the day before.  In other words, if I click on July 11, it returns with the full calendar for July 10, etc. 

    I have solved this issue.
    Credit this thread:
    https://discussions.apple.com/message/10478653#10478653
    The root cause is a mis-match between time zone locations in iCal vs. System Preferences.
    In System Preferences, I changed time zones, since I traveled to another state. I changed the time zone in System Preference from Pacific to Mountain.
    In iCal preferences, I have "Turn on time zone support" checked.
    To solve my issue, I needed to go to iCal calendar view and look for the time zone drop down selector in the top right corner. Once I changed it from Pacific to Mountain, my view problem (off by a day) went away.

  • ¿How can I see more than a day in the calendar view of the notification center?

    Hi guys! I wanna know if there's any option to see more than a day in the calendar view of the notication center. I swear I saw a friend of mine who could see more than a day in the notification center.
    Than

    In Settings > Notification Center, try turning "on" all the six buttons under "Today View".  Also turn "on" the top two buttons under "Access on Lock Screen".  Doing that should show you "Tomorrow" at the bottom of Noticiation Center.

  • Set Time Interval with custom fields in generic list with view(SPViewCollection.SPViewType.Calendar)

    I need to set time interval range with custom date fields in sharepoint view SPViewCollection.SPViewType.Calendar. How to do that?
    My code is this:
    System.Collections.Specialized.StringCollection viewFields = new System.Collections.Specialized.StringCollection();
    viewFields.Add("FechaInicio");
    viewFields.Add("FechaFin");
    string query = @"<Query>
    <Where>
    <DateRangesOverlap>
    <FieldRef Name=""FechaInicio"" />
    <FieldRef Name=""FechaFin"" />
    <FieldRef Name=""RecurrenceID"" />
    <Value Type=""DateTime"">
    <Week />
    </Value>
    </DateRangesOverlap>
    </Where>
    </Query>";
    SPView newView = reserva.Views.Add("CalendarView", viewFields, query, 0, true, true, SPViewCollection.SPViewType.Calendar, false);
    "FechaInicio" and "FechaFinal" ara datetime fields in my generic list.
    Thanks.

    Hi,
    According to your post, my understanding is that you want to see the calendar view begin and end time for the time interval.
    We can use the SharePoint Manager to view the internal name for the begin and end time for the time interval.
    Open SharePoint Manager 2013->click your site->click
    Lists->select your list name->click Views->select your calendar view name->click the
    Schema Xml to check the internal name for the time interval begin and end.
    We can download the SharePoint Manager in here:
    http://spm.codeplex.com/
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Change calendar view from list to week

    Hi
    I imported company holidays into the calendar of about 40 users. I did it using a pst with the corresponding holidays, and I imported this pst using new-mailboximportrequest.
    Now all users reported, that their calendar view has changed the view from week to list. I need to change this view back from list to week, but if possible without user interaction. Is there a possibility?
    Regards
    Peter

    Hi Peter,
    In which calendar view did you create the holidays pst?
    What if we import the pst from Outlook side, will it still show in the List view?
    Meanwhile, please try to create a new holidays pst file and make sure it in the week view before you export it into a pst, and then test the issue again.
    Please let me know the result.
    A similar problem here:
    http://social.technet.microsoft.com/Forums/exchange/fr-FR/2a5596a8-6236-4345-a684-66cf46d0c484/import-calendar-entries-to-exchange-2013-causes-outlook-calendar-view-problems?forum=exchangesvrgeneral
    Regards,
    Steve Fan
    TechNet Community Support

  • Month and Week Calendar view - does not show events that span days?

    In the weekly and monthly calendar views, if you have an event, such as a show or an appointment where you will be out of town for several days, the view will only show the appointment for the first day, and not for the entire event life. For example, in MS Outlook, if you schedule an event that begins on Date 1 and ends of Date 2, spanning several days, the calendar will show the date range as blocked off. Does the calendar in CRM do the same? If so, is this a setup parameter?
    Also, with the calendar, is there a way to have the small calendar in the left panel show the days with a scheduled event to be bold or somehow indicate that there is an event on that day?
    Edited by: nsidev on Aug 11, 2009 6:38 AM

    According to CRM Support
    CRM Support wrote:the ability to block off a multi-day appointment in the Weekly and Monthly Calendar Views is not currently available on our product. However, we have submitted this functionality to our engineers as an enhancement request. At this time we are unable to provide an estimated time of implementation while this request is being analyzed and processed.
    Simple things seem hard for the Siebel guys.
    Edited by: nsidev on Aug 14, 2009 7:11 AM
    Edited by: nsidev on Aug 14, 2009 7:12 AM

  • Error display the date in the calendar and the event is lost in the list of the day

    At one point written on November 2, in another November 3 in the list for the day and 2 and 3 of this event no!

    Hi,
    Try this code.
    TYPES: BEGIN OF type_t_date,
    mm(2) TYPE c,
    filler1(1) TYPE c,
    dd(2) TYPE c,
    filler2(1) TYPE c,
    yyyy(4) TYPE c,
    END OF type_t_date.
    DATA: t_ddate TYPE type_t_date.
    CONSTANTS: c_fil TYPE c VALUE '.'.
    t_ddate-mm = rs_sdate-mm.
    t_ddate-dd = rs_sdate-dd.
    t_ddate-yyyy = rs_sdate-yyyy.
    t_ddate-filler1 = c_fil.
    t_ddate-filler2 = c_fil.
    CONCATENATE t_ddate-mm t_ddate-filler1 t_ddate-dd t_ddate-filler2 t_ddate-yyyy INTO rv_ddate.
    Regards,
    Amit

Maybe you are looking for

  • German quotation marks

    Currently I am writing a German help text including 'special characters' such as umlauts (ä, ö, ü, ...). I would also would like to include German quotation marks represented by the html names "bdquo;" and "rdquo;" But this does not work. Any idea? (

  • PO Change Item Overview

    Dear Friends My end users have a requirement as follows In the PO Screen (ME21N, ME22N, ME23N) Item Overview sub Screen, there is a field call "RU" (Requirement Urgency) User want to set it as the second field in this screen is is possible? then how

  • IdeaCentre K230 - Doesn't detect graphics cards (in PCI-E Slot)

     Hello, I bought a IdeaCentre K230 like 1 or 2 weeks ago and tried to install a graphics card. It did not work. Is it possible this motherboard (the stock one that came with the desktop) does not detect it as it does not show in the Device Manager? B

  • Shift a geometry by x,y offset

    anyone have any suggestions on how to shift geometries by an x,y offset? its trivial in the point case, but how about for lines and polygons? in arcView, you can do something like: aShape.Move (moveX, moveY) and it works nicely thanks

  • HT4994 what if the sim card is from another phone? Can i change it to an iPhone online?

    Please help