<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ByteCyclist.com &#187; Javascript</title>
	<atom:link href="http://www.bytecyclist.com/tag/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bytecyclist.com</link>
	<description>A site made of bytes by a cyclist.</description>
	<lastBuildDate>Fri, 14 Aug 2009 04:46:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>jMonthCalendar Options, Events, &amp; Methods Documentation</title>
		<link>http://www.bytecyclist.com/2009/08/09/jmonthcalendar-options-events-methods-documentation/</link>
		<comments>http://www.bytecyclist.com/2009/08/09/jmonthcalendar-options-events-methods-documentation/#comments</comments>
		<pubDate>Sun, 09 Aug 2009 21:09:05 +0000</pubDate>
		<dc:creator>Kyle</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jMonthCalendar]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.bytecyclist.com/?p=264</guid>
		<description><![CDATA[In this post I am going to cover all the custom event/options as well as methods that can be configured and used in jMonthCalendar. All of these are options that can be supplied at initialization in order to manipulate the &#8230; <a href="http://www.bytecyclist.com/2009/08/09/jmonthcalendar-options-events-methods-documentation/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In this post I am going to cover all the custom event/options as well as methods that can be configured and used in jMonthCalendar.  All of these are options that can be supplied at initialization in order to manipulate the calendar further or be able to tie into some additional logic ot rules.  As well as methods that are exposed for manipulating the calendar after initialization.  This is my first attempt at formal documentation, so bare with me.</p>
<p><span id="more-264"></span></p>
<h2>Options</h2>
<h3>containerId &#8211; default: #jMonthCalendar</h3>
<p>Use this to configure where your calendar should be placed in the page. You must have a matching DOM element with the ID</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$.<span style="color: #660066;">jMonthCalendar</span>.<span style="color: #660066;">Initialize</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span> containerId<span style="color: #339933;">:</span> <span style="color: #3366CC;">'#MyContainerId'</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h3>headerHeight &#8211; default: 50</h3>
<p>This sets the height of the navigation header.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$.<span style="color: #660066;">jMonthCalendar</span>.<span style="color: #660066;">Initialize</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span> headerHeight<span style="color: #339933;">:</span> <span style="color: #CC0000;">50</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h3>firstDayOfWeek &#8211; default: 0</h3>
<p>This determines which day of the week weeks should start on (default 0 refers to sunday). Monday is 1, Tuesday is 2, etc.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$.<span style="color: #660066;">jMonthCalendar</span>.<span style="color: #660066;">Initialize</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span> firstDayOfWeek<span style="color: #339933;">:</span> <span style="color: #CC0000;">1</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h3>calendarStartDate &#8211; default: new Date()</h3>
<p>This determines which month to display when the calendar is first loaded. The default is to start in the current month (today).</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$.<span style="color: #660066;">jMonthCalendar</span>.<span style="color: #660066;">Initialize</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span> calendarStartDate<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">new</span> Date<span style="color: #009900;">&#40;</span><span style="color: #CC0000;">2009</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">1</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h3>dragableEvents &#8211; default: true</h3>
<p>This determines weather or not you want event blocks to be dragable. Note this depends on jquery.ui.dragable.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$.<span style="color: #660066;">jMonthCalendar</span>.<span style="color: #660066;">Initialize</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span> dragableEvents<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">false</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h3>dragHoverClass &#8211; default: &#8216;DateBoxOver&#8217;</h3>
<p>This is the css class that is added when an element is being hovered over an acceptable date cell.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$.<span style="color: #660066;">jMonthCalendar</span>.<span style="color: #660066;">Initialize</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span> dragHoverClass<span style="color: #339933;">:</span> <span style="color: #3366CC;">'SomeCssClass'</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h3>navLinks (object of values)</h3>
<p>These are the label text and switches to determine the header navigation.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$.<span style="color: #660066;">jMonthCalendar</span>.<span style="color: #660066;">Initialize</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span> 	
	navLinks<span style="color: #339933;">:</span> <span style="color: #009900;">&#123;</span>
		enableToday<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">,</span>
		enableNextYear<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">,</span>
		enablePrevYear<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">,</span>
		p<span style="color: #339933;">:</span><span style="color: #3366CC;">'&amp;lsaquo; Prev'</span><span style="color: #339933;">,</span> 
		n<span style="color: #339933;">:</span><span style="color: #3366CC;">'Next &amp;rsaquo;'</span><span style="color: #339933;">,</span> 
		t<span style="color: #339933;">:</span><span style="color: #3366CC;">'Today'</span><span style="color: #339933;">,</span>
		showMore<span style="color: #339933;">:</span> <span style="color: #3366CC;">'Show More'</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h2>Events</h2>
<h3>onMonthChanging</h3>
<p>This event is triggered upon changing the calendar&#8217;s month. If the callback function returns false, the change will be prevented. Note: this would be an excelent point to do an AJAX call for the next months events.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #006600; font-style: italic;">// supply this callback as an option with the collowing signature</span>
$.<span style="color: #660066;">jMonthCalendar</span>.<span style="color: #660066;">Initialize</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
    onMonthChanging<span style="color: #009900;">&#40;</span>newDate<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> ... <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #006600; font-style: italic;">// AJAX call sample for more events</span>
$.<span style="color: #660066;">jMonthCalendar</span>.<span style="color: #660066;">Initialize</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
    onMonthChanging<span style="color: #009900;">&#40;</span>newDate<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> 
&nbsp;
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h3>onMonthChanged</h3>
<p>This event is triggered after calendar&#8217;s month has been changed.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$.<span style="color: #660066;">jMonthCalendar</span>.<span style="color: #660066;">Initialize</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
    onMonthChanged<span style="color: #009900;">&#40;</span>event<span style="color: #339933;">,</span> newDate<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> ... <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h3>onEventLinkClick</h3>
<p>This event is triggered when the anchor tag of the event is clicked. Note: good place to link out to another page.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$.<span style="color: #660066;">jMonthCalendar</span>.<span style="color: #660066;">Initialize</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
    onEventLinkClick<span style="color: #009900;">&#40;</span>event<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> 
        <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span>event.<span style="color: #660066;">data</span>.<span style="color: #660066;">Event</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h3>onEventBlockClick</h3>
<p>This event is triggered when the div container of the event is clicked. Note: this our the link click would be a good place to show tooltips.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$.<span style="color: #660066;">jMonthCalendar</span>.<span style="color: #660066;">Initialize</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
    onEventBlockClick<span style="color: #009900;">&#40;</span>event<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> 
        <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span>event.<span style="color: #660066;">data</span>.<span style="color: #660066;">Event</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h3>onEventBlockOver</h3>
<p>This event is triggered when your mouse is over the event div container.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$.<span style="color: #660066;">jMonthCalendar</span>.<span style="color: #660066;">Initialize</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
    onEventBlockOver<span style="color: #009900;">&#40;</span>event<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> 
        <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span>event.<span style="color: #660066;">data</span>.<span style="color: #660066;">Event</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h3>onEventBlockOut</h3>
<p>This event is triggered when you mouse moves off the event div container.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$.<span style="color: #660066;">jMonthCalendar</span>.<span style="color: #660066;">Initialize</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
    onEventBlockOut<span style="color: #009900;">&#40;</span>event<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> 
        <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span>event.<span style="color: #660066;">data</span>.<span style="color: #660066;">Event</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h3>onDayLinkClick</h3>
<p>This event is triggered when the user clicks on the label of the day (number in upper right corner)</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$.<span style="color: #660066;">jMonthCalendar</span>.<span style="color: #660066;">Initialize</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
    onDayLinkClick<span style="color: #009900;">&#40;</span>event<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> 
        <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span>event.<span style="color: #660066;">data</span>.<span style="color: #660066;">Date</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h3>onDayCellClick</h3>
<p>This event is triggered when the user clicks on the cell that contains the event div containers.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$.<span style="color: #660066;">jMonthCalendar</span>.<span style="color: #660066;">Initialize</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
    onDayCellClick<span style="color: #009900;">&#40;</span>event<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> 
        <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span>event.<span style="color: #660066;">data</span>.<span style="color: #660066;">Event</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h3>onDayCellDblClick</h3>
<p>This event is triggered wehn the user double clicks ont eh cell that contains the event div containers.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$.<span style="color: #660066;">jMonthCalendar</span>.<span style="color: #660066;">Initialize</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
    onDayCellDblClick<span style="color: #009900;">&#40;</span>event<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> 
        <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span>event.<span style="color: #660066;">data</span>.<span style="color: #660066;">Event</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h3>onEventDropped</h3>
<p>This event is fired after a user drags and drops and event onto a new day.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$.<span style="color: #660066;">jMonthCalendar</span>.<span style="color: #660066;">Initialize</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
    onEventDropped<span style="color: #009900;">&#40;</span>event<span style="color: #339933;">,</span> calEvent<span style="color: #339933;">,</span> newDate<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> 
        <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span>calEvent<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span>newDate<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h3>onShowMoreClick</h3>
<p>This event is triggered when the user wishes to &#8220;see more&#8221; events than what can be displayed in the cell. Note: this would be a good place to use a tooltip or dialog as well.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$.<span style="color: #660066;">jMonthCalendar</span>.<span style="color: #660066;">Initialize</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
    onShowMoreClick<span style="color: #009900;">&#40;</span>dayEvents<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> 
        <span style="color: #006600; font-style: italic;">// dayEvents is an array of events </span>
        <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span>dayEvents.<span style="color: #660066;">length</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h2>Methods</h3>
<h3>Initialize(options, eventArray)</h3>
<p>This is the main method needed to be called to get a calendar on the page. You can initialize it with the options and event callbacks mentioned above to get a more custom plugin.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$.<span style="color: #660066;">jMonthCalendar</span>.<span style="color: #660066;">Initialize</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span> containerId<span style="color: #339933;">:</span> <span style="color: #3366CC;">'#MyContainerId'</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span> <span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h3>ChangeMonth(newDate)</h3>
<p>This method will change the current selected month of the calendar. This method will fire the callback onMonthChanging and onMonthChanged.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$.<span style="color: #660066;">jMonthCalendar</span>.<span style="color: #660066;">ChangeMonth</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">new</span> Date<span style="color: #009900;">&#40;</span><span style="color: #CC0000;">2009</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">1</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h3>ReplaceEventCollection(eventArray)</h3>
<p>This will replace all events in the plugin with the new event array passed in. This will clear all existing events being displayed and redraw all the events after the replacement.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$.<span style="color: #660066;">jMonthCalendar</span>.<span style="color: #660066;">ReplaceEventCollection</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h3>AddEvents(eventArray)</h3>
<p>This method will add a single event to the plugin or an array of events by merging into the existing array of events. After which the method will clear all visible event on the calendar and draw the events in the updated array.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$.<span style="color: #660066;">jMonthCalendar</span>.<span style="color: #660066;">AddEvents</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<h3>ClearEventsOnCalendar()</h3>
<p>This method will remove all the events in the plugin and and remove any being displayed.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$.<span style="color: #660066;">jMonthCalendar</span>.<span style="color: #660066;">ClearEventsOnCalendar</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.bytecyclist.com/2009/08/09/jmonthcalendar-options-events-methods-documentation/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>jMonthCalendar-1.3.2-beta Release</title>
		<link>http://www.bytecyclist.com/2009/08/09/jmonthcalendar-132-beta-release/</link>
		<comments>http://www.bytecyclist.com/2009/08/09/jmonthcalendar-132-beta-release/#comments</comments>
		<pubDate>Sun, 09 Aug 2009 06:21:36 +0000</pubDate>
		<dc:creator>Kyle</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jMonthCalendar]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.bytecyclist.com/2009/08/09/jmonthcalendar-132-beta-release/</guid>
		<description><![CDATA[I have released a new version of jMonthCalendar (1.3.2-beta). Below I will provide a sample of the use of event callback as options. Well this release is pretty straight forward for the most part. It includes changes to how the &#8230; <a href="http://www.bytecyclist.com/2009/08/09/jmonthcalendar-132-beta-release/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have released a new version of jMonthCalendar (1.3.2-beta).  Below I will provide a sample of the use of event callback as options.  Well this release is pretty straight forward for the most part.  It includes changes to how the custom events are fired mostly and addresses various bug fixes.  As well as includes some reduction in file size. <b>UPDATE</b> Beta2 is released to fix some minor bug issues.</p>
<p><span id="more-260"></span><br />
Download location: <a href="http://jmonthcalendar.googlecode.com/files/jMonthCalendar-1.3.2-beta.zip" target="_blank">jMonthCalendar-1.3.2-Beta</a></p>
<p>The biggest change in this release is how events are handled.  Before I was not passing the DOM event back to you for control, I was simply just calling the methods you configured as options and passing parameters.  Now, the original DOM event is bubbled up to the custom event in most cases.  Along with the original DOM event I am also stuffing in the custom data for the callback into the <a href="http://docs.jquery.com/Events/jQuery.Event" target="_blank">jQuery event object</a>.</p>
<p>jQuery provides a nice way of encapsulating the original DOM event into a <a href="http://docs.jquery.com/Events/jQuery.Event" target="_blank">jQuery event object</a>.  A property on that object is &#8216;data&#8217; (which can be waht ever I want).  So now, all custom events are mostly passed one single parameter (with the exception of onMonthChanging and onShowMoreClick); the jquery typed event.  Inside that event object I have put the data I want to send back, like the date or event object clicked on.  Don&#8217;t worry I will get to a sample of what I am talking about.</p>
<p>First I will start off by showing you the old way of doing it prior to this release.</p>
<h3>OLD Way</h3>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #003366; font-weight: bold;">var</span> options <span style="color: #339933;">=</span> <span style="color: #009900;">&#123;</span>
        onMonthChanging<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>dateIn<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #006600; font-style: italic;">// this could be an Ajax call to the backend to get this months events</span>
            <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;on month changing&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #006600; font-style: italic;">// $.jMonthCalendar.ReplaceEventCollection(events);</span>
        <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
        onEventLinkClick<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>calEvent<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> 
            <span style="color: #006600; font-style: italic;">// calEvent will be the calendar event you clicked on</span>
            <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;event link click&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">;</span> 
        <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
        onDayLinkClick<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>dateIn<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> 
            <span style="color: #006600; font-style: italic;">// date might be wrong here, held reference from last item</span>
            <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span>dateIn.<span style="color: #660066;">toLocaleDateString</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
&nbsp;
    $.<span style="color: #660066;">jMonthCalendar</span>.<span style="color: #660066;">Initialize</span><span style="color: #009900;">&#40;</span>options<span style="color: #339933;">,</span> <span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Okay, so the obvious problem with that is that there is no way to get to the original DOM event.</p>
<h3>NEW recommended Way</h3>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #003366; font-weight: bold;">var</span> options <span style="color: #339933;">=</span> <span style="color: #009900;">&#123;</span>
        onMonthChanging<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>dateIn<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #006600; font-style: italic;">// this could be an Ajax call to the backend to get this months events</span>
            <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;on month changing&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #006600; font-style: italic;">// $.jMonthCalendar.ReplaceEventCollection(events);</span>
        <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
        onEventLinkClick<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>event<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> 
            <span style="color: #006600; font-style: italic;">// event is the jQuery event passed</span>
            <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;event link click&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #006600; font-style: italic;">// can get to the actual calendar event now through the Data property</span>
            <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span>event.<span style="color: #660066;">data</span>.<span style="color: #660066;">Event</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #006600; font-style: italic;">// want to prevent event bubbling use:</span>
            event.<span style="color: #660066;">stopPropagation</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
        onDayLinkClick<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>event<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> 
            <span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span>event.<span style="color: #660066;">data</span>.<span style="color: #660066;">Date</span>.<span style="color: #660066;">toLocaleDateString</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
&nbsp;
    $.<span style="color: #660066;">jMonthCalendar</span>.<span style="color: #660066;">Initialize</span><span style="color: #009900;">&#40;</span>options<span style="color: #339933;">,</span> <span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.bytecyclist.com/2009/08/09/jmonthcalendar-132-beta-release/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>jMonthCalendar: Minor Release 1.2.2</title>
		<link>http://www.bytecyclist.com/2009/05/01/jmonthcalendar-minor-release-122/</link>
		<comments>http://www.bytecyclist.com/2009/05/01/jmonthcalendar-minor-release-122/#comments</comments>
		<pubDate>Fri, 01 May 2009 15:02:06 +0000</pubDate>
		<dc:creator>Kyle</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jMonthCalendar]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.bytecyclist.com/?p=197</guid>
		<description><![CDATA[Well it has been awhile since I posted anything new so I thought that I would provide a rundown of the minor new features and fixes in jMonthCalendar 1.2.2 New Features: Dragable Events support using jQuery UI (Optional usage). Add &#8230; <a href="http://www.bytecyclist.com/2009/05/01/jmonthcalendar-minor-release-122/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Well it has been awhile since I posted anything new so I thought that I would provide a rundown of the minor new features and fixes in jMonthCalendar 1.2.2<span id="more-197"></span></p>
<p>New Features:</p>
<ul>
<li>Dragable Events support using jQuery UI (Optional usage).</li>
<li>Add ability to enable or disable calendar links (today link, next year, and previous year).</li>
<li>Default Next and Previous link text changed.</li>
<li>Added onDayCellDblClick event that passes the date you are double clicking.</li>
<li>Added onEventDropped event that passes the event object and the new date being dropped into.</li>
<li>Removed my custom Date extensions and replaced it with <a href="http://www.datejs.com/">Datejs</a>, more on this below.</li>
<li>Complete Build Process to build, pack and minify the source.</li>
</ul>
<p>The drag and drop stuff is pretty cool and makes the calendar even slicker.  Have to provide props to the reader (<a href="http://mattias-jakobsson.net/Item/19/Extended%20jMonthCalendar%20with%20drag%20n%20drop">Mattias Jakobsson</a>) who took it upon their own to add it in.  With the addition of the event when the event is dropped this would allow a developer to update an event using AJAX, allowing the user to easily reorganize events.  jQuery UI is not a dependency and this feature is totally optional.</p>
<p>As for the date extension stuff, it was not something I wanted to maintain, and didn&#8217;t use that often.  I hope to add another option in the setup to allow for a date parsing options on the inbound JSON.</p>
<p>Another item I am proud of is a unified build process.  I wanted to make releases as easy as possible so I thought I would spend some time learning ANT and looking at other scripts (jQuery, Dojo, and other projects for JavaScript).  I managed to write a pretty neat ANT script that will produce all the artifacts for a release and zip it up.  I will save the details for another post.</p>
<p>The last point I will mention is now the ability to override the navigation links and turn them on or off depending on your usage.  This was asked for and was a simple addition to source.  If you have any suggestions, send them along I will add them in to the source if I feel they fit the project goal.  Below is an updated definition of all the options available for the plugin.</p>
<p>FYI: The next release will make a change in how the calendar is sized and will absolutely position events over the calendar for Multi Day Event capabilities.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> defaults <span style="color: #339933;">=</span> <span style="color: #009900;">&#123;</span>
	height<span style="color: #339933;">:</span> <span style="color: #CC0000;">650</span><span style="color: #339933;">,</span>
	width<span style="color: #339933;">:</span> <span style="color: #CC0000;">980</span><span style="color: #339933;">,</span>
	navHeight<span style="color: #339933;">:</span> <span style="color: #CC0000;">25</span><span style="color: #339933;">,</span>
	labelHeight<span style="color: #339933;">:</span> <span style="color: #CC0000;">25</span><span style="color: #339933;">,</span>
	firstDayOfWeek<span style="color: #339933;">:</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">,</span>
	calendarStartDate<span style="color: #339933;">:</span><span style="color: #003366; font-weight: bold;">new</span> Date<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
	dragableEvents<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">,</span>
	activeDroppableClass<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">,</span>
	hoverDroppableClass<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">,</span>
	navLinks<span style="color: #339933;">:</span> <span style="color: #009900;">&#123;</span>
		enableToday<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">,</span>
		enableNextYear<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">,</span>
		enablePrevYear<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">,</span>
		p<span style="color: #339933;">:</span><span style="color: #3366CC;">'&amp;lsaquo; Prev'</span><span style="color: #339933;">,</span> 
		n<span style="color: #339933;">:</span><span style="color: #3366CC;">'Next &amp;rsaquo;'</span><span style="color: #339933;">,</span> 
		t<span style="color: #339933;">:</span><span style="color: #3366CC;">'Today'</span>
	<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
	onMonthChanging<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>dateIn<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
	onMonthChanged<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>dateIn<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
	onEventLinkClick<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>event<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
	onEventBlockClick<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>event<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
	onEventBlockOver<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>event<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
	onEventBlockOut<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>event<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
	onDayLinkClick<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>date<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
	onDayCellClick<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>date<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
	onDayCellDblClick<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>dateIn<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
	onEventDropped<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>event<span style="color: #339933;">,</span> newDate<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
	locale<span style="color: #339933;">:</span> <span style="color: #009900;">&#123;</span>
		days<span style="color: #339933;">:</span> <span style="color: #009900;">&#91;</span><span style="color: #3366CC;">&quot;Sunday&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;Monday&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;Tuesday&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;Wednesday&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;Thursday&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;Friday&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;Saturday&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;Sunday&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span>
		daysShort<span style="color: #339933;">:</span> <span style="color: #009900;">&#91;</span><span style="color: #3366CC;">&quot;Sun&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;Mon&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;Tue&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;Wed&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;Thu&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;Fri&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;Sat&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;Sun&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span>
		daysMin<span style="color: #339933;">:</span> <span style="color: #009900;">&#91;</span><span style="color: #3366CC;">&quot;Su&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;Mo&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;Tu&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;We&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;Th&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;Fr&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;Sa&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;Su&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span>
		months<span style="color: #339933;">:</span> <span style="color: #009900;">&#91;</span><span style="color: #3366CC;">&quot;January&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;February&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;March&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;April&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;May&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;June&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;July&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;August&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;September&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;October&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;November&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;December&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span>
		monthsShort<span style="color: #339933;">:</span> <span style="color: #009900;">&#91;</span><span style="color: #3366CC;">&quot;Jan&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;Feb&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;Mar&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;Apr&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;May&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;Jun&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;Jul&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;Aug&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;Sep&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;Oct&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;Nov&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">&quot;Dec&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span>
		weekMin<span style="color: #339933;">:</span> <span style="color: #3366CC;">'wk'</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.bytecyclist.com/2009/05/01/jmonthcalendar-minor-release-122/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>New Project Home For jMonthCalendar</title>
		<link>http://www.bytecyclist.com/2009/03/24/new-project-home-for-jmonthcalendar/</link>
		<comments>http://www.bytecyclist.com/2009/03/24/new-project-home-for-jmonthcalendar/#comments</comments>
		<pubDate>Wed, 25 Mar 2009 00:07:34 +0000</pubDate>
		<dc:creator>Kyle</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jMonthCalendar]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.bytecyclist.com/?p=181</guid>
		<description><![CDATA[It has been awhile since I have had anything to announce with jMonthCalendar. I have been quite busy lately and have been procrastinating at bug fixes and enhancements. Lately, I&#8217;ve been working on an idea to set up project wiki, &#8230; <a href="http://www.bytecyclist.com/2009/03/24/new-project-home-for-jmonthcalendar/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It has been awhile since I have had anything to announce with jMonthCalendar.  I have been quite busy lately and have been procrastinating at bug fixes and enhancements.  Lately, I&#8217;ve been working on an idea to set up project wiki, issue, and source management system using  <a href="http://www.redmine.org/">Redmine</a> and Subversion.  My current host does not play well with Subversion and was lacking on memory and access needed to run <a href="http://www.redmine.org/">Redmine</a> the way I wanted.  So I have moved the project and source over to Google Code.<span id="more-181"></span></p>
<p>A few weeks ago I started down the path of setting up a new server/host using <a href="http://www.slicehost.com/">SliceHost</a> for the purpose of installing a Subversion server and a RoR application <a href="http://www.redmine.org">Redmine</a>.  They are great, I can&#8217;t speak anymore highly of their product.  Everything got setup and installed perfectly as expected.  I got the RoR app up quickly using <a href="http://www.modrails.com/">Phusion Passenger</a> which saved me a ton of pain.</p>
<p>Unfortunately I went to sleep worrying about how I was going to manage an application, open source project and still keep a secure Subversion repository and server while still being able to develop. The other night I decided I would save some and make by life simpler by moving the project over to code.google.com and ditch my slice.  Google Code will, now going forward, provide jMonthCalendar a project home, wiki, issues, downloads and Subversion source control. It currently allows anonymous Subversion browsing and the ability to add members to the project for collaborative development.  Google code offers everything I would need for an open source project, allowing me to focus on the fun stuff, coding. Along with the new project home I also created a Google Group (found below) for open discussion, support, suggestions, etc.  Please feel free to stop buy and check it out.</p>
<p>Comments and suggestions will be greatly appreciated, also if you are currently using jMonthCalendar please let me know, I would love to feature/link your site on the home page.  Happy Coding.</p>
<blockquote><p><strong>If you are interested in jMonthCalendar or looking for the new details, please see below.</strong><br />
<strong>Latest Release:</strong> jMonthCalendar 1.2.1 (bug fixes)<br />
<strong>Downloads:</strong> <a href="http://code.google.com/p/jmonthcalendar/downloads/list" target="_blank">http://code.google.com/p/jmonthcalendar/downloads/list</a><br />
<strong>Project home:</strong> <a href="http://code.google.com/p/jmonthcalendar/" target="_blank">http://code.google.com/p/jmonthcalendar/</a><br />
<strong>Google Group:</strong> <a href="http://groups.google.com/group/jmonthcalendar" target="_blank">http://groups.google.com/group/jmonthcalendar<br />
</a><strong>Source Code: </strong><a href="http://groups.google.com/group/jmonthcalendar"></a><a href="http://code.google.com/p/jmonthcalendar/source/list" target="_blank">http://code.google.com/p/jmonthcalendar/source/list</a></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.bytecyclist.com/2009/03/24/new-project-home-for-jmonthcalendar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jMonthCalendar: Patch Relese 1.0.1</title>
		<link>http://www.bytecyclist.com/2009/01/20/jmonthcalendar-patch-relese-101/</link>
		<comments>http://www.bytecyclist.com/2009/01/20/jmonthcalendar-patch-relese-101/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 22:14:46 +0000</pubDate>
		<dc:creator>Kyle</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jMonthCalendar]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.bytecyclist.com/?p=148</guid>
		<description><![CDATA[I just released my jMonthCalendar (the full month event calendar) with some new enhancements/fixes upon request. The change log can be found here along with updated samples and direct download. Fixes include: month name display in IE, isArray function not &#8230; <a href="http://www.bytecyclist.com/2009/01/20/jmonthcalendar-patch-relese-101/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I just released my jMonthCalendar (the full month event calendar) with some new enhancements/fixes upon request.  The change log can be found <a href="http://www.bytecyclist.com/projects/jmonthcalendar">here</a> along with updated samples and direct download. Fixes include: month name display in IE, isArray function not present in older version of jQuery, and new configurable first-day-of-week that the calendar starts on (Sun, Mon, Tue, etc).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bytecyclist.com/2009/01/20/jmonthcalendar-patch-relese-101/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
