Main Page | Modules | Directories | File List | File Members

Drag'n'drop (move calendar) functions


Variables

Zapatec Calendar calDragIt
Zapatec Calendar calDragEnd

Detailed Description

Contains some functions that implement calendar "drag'n'drop" facility which allows one to move the calendar around the browser's view.

Variable Documentation

Zapatec Calendar calDragIt
  Called at mouseover and/or mousemove on document, this function repositions the calendar according to the current mouse position.

Parameters:
ev [Event] The Event object
Returns:
false

Definition at line 702 of file calendar.js.

Zapatec Calendar calDragEnd
  Gets called when the drag and drop operation is finished; thus, at "onmouseup". This function unregisters D'n'D event handlers and calls Zapatec.Calendar.hideShowCovered() which repaints as appropriate any "windowed controls" that might have been hidden by the end user moving the calendar. (note, this is only for IE5; for IE5.5 there are better--albeit uglier--workarounds).

Parameters:
ev [Event] the event object
Returns:
false

Definition at line 729 of file calendar.js.