jquery-src/jquery.calendars.picker.ext.js
function(onHover) {
			return function(picker, calendar, inst) {
				if ($.isFunction(onHover)) {
					var target = this;
					var renderer = inst.options.renderer;
					picker.find(renderer.daySelector + ' a, ' + renderer.daySelector + ' span').
						hover(function() {
							onHover.apply(target, [$(target).calendarsPicker('retrieveDate', this),
								this.nodeName.toLowerCase() === 'a']);
						},
						function() { onHover.apply(target, []); });
				}
			};
		}
function(onHover) {
			return function(picker, calendar, inst) {
				if ($.isFunction(onHover)) {
					var target = this;
					var renderer = inst.options.renderer;
					picker.find(renderer.daySelector + ' a, ' + renderer.daySelector + ' span').
						hover(function() {
							onHover.apply(target, [$(target).calendarsPicker('retrieveDate', this),
								this.nodeName.toLowerCase() === 'a']);
						},
						function() { onHover.apply(target, []); });
				}
			};
		}
function ( onHover ) { return function ( picker , calendar , inst ) { if ( $ . isFunction ( onHover ) ) { var target = this ; var renderer = inst . options . renderer ; picker . find ( renderer . daySelector + ' a, ' + renderer . daySelector + ' span' ) . hover ( function ( ) { onHover . apply ( target , [ $ ( target ) . calendarsPicker ( 'retrieveDate' , this ) , this . nodeName . toLowerCase ( ) === 'a' ] ) ; } , function ( ) { onHover . apply ( target , [ ] ) ; } ) ; } } ; }
A function to call when a date is hovered.
@callback CalendarsPickerOnHover
@param date {CDate} The date being hovered or <code>null</code> on exit.
@param selectable {boolean} <code>true</code> if this date is selectable, <code>false</code> if not.
@example function showHovered(date, selectable) {
$('#feedback').text('You are viewing ' + (date ? date.formatDate() : 'nothing'));
} Add a callback when hovering over dates.
Found in the <code>jquery.calendars.picker.ext.js</code> module.
@memberof CalendarsPicker
@param onHover {CalendarsPickerOnHover} The callback when hovering.
@example onShow: $.calendarsPicker.hoverCallback(showHovered)
A function to call when a date is hovered .