1 [[!meta author="spalax"]]
2 [[!template id=plugin name=jscalendar author="[[Louis|spalax.]]"]]
6 Jscalendar is a javascript equivalent to the [[calendar|plugins/calendar]] plugin.
10 Here are some differences compared to this latter plugin.
13 * No need to rebuild the page containing the calendar each time day changes, or
14 a page (indexed by the calendar) is added, changed or deleted. This is
15 particularly useful if you want to have this calendar in the sidebar.
16 * Smooth navigation among months.
22 ### Examples of directive
24 \[[!jscalendar type="month" ]]
26 \[[!jscalendar type="month" archivebase="calendar"]]
28 \[[!jscalendar type="month" year=2014 month=08 pages="posts/* and !posts/*"]]
30 \[[!jscalendar type="month" year=-1 month=08]]
34 This plugin uses the options used by the [[plugins/calendar]] plugin:
36 'archivebase' => "archive",
37 'archive_pagespec' => "posts/* and ! posts/*/*",
38 'week_start_day' => 1,
41 The `archivebase` and `archive_pagespec` can be overloaded by the very same
42 options of the directive.
46 You can see this plugin in action on [[our website|http://www.gresille.org]].
48 Code and documentation can be found here : [[https://atelier.gresille.org/projects/gresille-ikiwiki/wiki/Jscalendar]]