public/javascripts/yui/calendar/calendar.js
function(html) {
        var NAV = YAHOO.widget.CalendarNavigator,
            C = NAV.CLASSES;

        var id = this.id + NAV.MONTH_SUFFIX,
            mf = this.__getCfg("monthFormat"),
            months = this.cal.cfg.getProperty((mf == YAHOO.widget.Calendar.SHORT) ? "MONTHS_SHORT" : "MONTHS_LONG"),
            h = html;

        if (months && months.length > 0) {
            h[h.length] = '<label for="' + id + '">';
            h[h.length] = this.__getCfg("month", true);
            h[h.length] = '</label>';
            h[h.length] = '<select name="' + id + '" id="' + id + '" class="' + C.MONTH_CTRL + '">';
            for (var i = 0; i < months.length; i++) {
                h[h.length] = '<option value="' + i + '">';
                h[h.length] = months[i];
                h[h.length] = '</option>';
            }
            h[h.length] = '</select>';
        }
        return h;
    }
function(html) {
        var NAV = YAHOO.widget.CalendarNavigator,
            C = NAV.CLASSES;

        var id = this.id + NAV.MONTH_SUFFIX,
            mf = this.__getCfg("monthFormat"),
            months = this.cal.cfg.getProperty((mf == YAHOO.widget.Calendar.SHORT) ? "MONTHS_SHORT" : "MONTHS_LONG"),
            h = html;

        if (months && months.length > 0) {
            h[h.length] = '<label for="' + id + '">';
            h[h.length] = this.__getCfg("month", true);
            h[h.length] = '</label>';
            h[h.length] = '<select name="' + id + '" id="' + id + '" class="' + C.MONTH_CTRL + '">';
            for (var i = 0; i < months.length; i++) {
                h[h.length] = '<option value="' + i + '">';
                h[h.length] = months[i];
                h[h.length] = '</option>';
            }
            h[h.length] = '</select>';
        }
        return h;
    }
function ( html ) { var NAV = YAHOO . widget . CalendarNavigator , C = NAV . CLASSES ; var id = this . id + NAV . MONTH_SUFFIX , mf = this . __getCfg ( "monthFormat" ) , months = this . cal . cfg . getProperty ( ( mf == YAHOO . widget . Calendar . SHORT ) ? "MONTHS_SHORT" : "MONTHS_LONG" ) , h = html ; if ( months && months . length > 0 ) { h [ h . length ] = '<label for="' + id + '">' ; h [ h . length ] = this . __getCfg ( "month" , true ) ; h [ h . length ] = '</label>' ; h [ h . length ] = '<select name="' + id + '" id="' + id + '" class="' + C . MONTH_CTRL + '">' ; for ( var i = 0 ; i < months . length ; i ++ ) { h [ h . length ] = '<option value="' + i + '">' ; h [ h . length ] = months [ i ] ; h [ h . length ] = '</option>' ; } h [ h . length ] = '</select>' ; } return h ; }
Renders the month label and control for the navigator

@method renderNavContents
@param {Array} html The HTML buffer to append the HTML to.
@return {Array} A reference to the buffer passed in.
Renders the month label and control for the navigator