Submit your widget

jQuery calendar plugin--CLNDR

Created 3 years ago   Views 9574   downloads 1806    Author kylestetz
jQuery calendar plugin--CLNDR
View DemoDownload 59.0 KB
52
Share |

This is a jQuery calendar plugin. It was created- you've heard this before- out of frustration with the lack of truly dynamic front-end calendar plugins out there.

If you'd like to run some tests in a particular browser or environment, example/test.html contains a list of basic functionality tests. When contributing, please run these (and add to them when appropriate) before submitting a pull request!

 

 

The 'Days' Array

Here's a typical CLNDR template. It's got a controller section and a grid section.

<div class="clndr-controls">
  <div class="clndr-previous-button">&lsaquo;</div>
  <div class="month"><%= month %></div>
  <div class="clndr-next-button">&rsaquo;</div>
</div>
<div class="clndr-grid">
  <div class="days-of-the-week">
    <% _.each(daysOfTheWeek, function(day) { %>
      <div class="header-day"><%= day %></div>
    <% }); %>
    <div class="days">
      <% _.each(days, function(day) { %>
        <div class="<%= day.classes %>"><%= day.day %></div>
      <% }); %>
    </div>
  </div>
</div>

Read more:https://github.com/kylestetz/CLNDR