I am attempting to identify a jQuery plugin that will display the a full month’s worth of dates length way’s (as below – the numbers reflect days of the month (weekday’s only).
-3 4 5 6 7- -10 11 12 13 14- -17 18 19 20 21- -24 25 26 27 28-
In theory this approach makes the day’s of the month’s columns – several peoples calendars could then be displayed underneath as rows. This is demonstrated below:
---------3 4 5 6 7- -10 11 12 13 14- -17 18 19 20 21- -24 25 26 27 28-
Person A X - - - - - - - X - - - - X X - - - - -
Person B X X X - - - X - X - - - X X X X X X - -
My question is “How can I achieve the above with jQuery? (I have queried Google in an attempt to find a suitable plugin – but I have been unable to identify one)”.
Well, lets get you started.
Your next step is to work this function into a jQuery plugin to output some tabular markup. You then will add configuration to your plugin that changes how the markup is displayed, what month is shown first, etc. If you peruse through some of my other jQuery answers you can find examples of creating jQuery plugins (or google).