Weeks always have 7 days | |
Alias: $mmC | |
Get the day, and week position from a MooMonth.Element day element, or UID. | |
Find the UID of a day based on it’s position. | |
Alias: $mmS | |
Find an element from a MooMonth.Element. | |
Same as from but assumes UID is just a number. | |
Find the UID of a MooMonth.Element element. | |
Alias: $mmT | |
A “Utility” Class which adds a set property for seting dates. | |
Sets the date value, and calls this.update. | |
All initialized MooMonths get added to an array called MooMonths. | |
Object with the default MooMonth options. | |
| MooMonth | Full javascript calendar with MooTools. |
CC-GNU LGPL, http://creativecommons.org/licenses/LGPL/2.1/
copyright © 2007 Roland Poulter, dnalor@moomonth.com
Alias: $mmC
Get the day, and week position from a MooMonth.Element day element, or UID. | |
Find the UID of a day based on it’s position. |
from: function( el )
Get the day, and week position from a MooMonth.Element day element, or UID.
| el *OR* number | Either a MooMonth.Element day element, or a UID. |
| array | An array with the day, and week position. |
toId: function( d, w )
Find the UID of a day based on it’s position.
| number | Day position, number. |
| number | Week position, number. |
| number | UID of the MooMonth.Element day element. |
Alias: $mmS
Find an element from a MooMonth.Element. | |
Same as from but assumes UID is just a number. | |
Find the UID of a MooMonth.Element element. |
from: function( prefix, uid )
Find an element from a MooMonth.Element.
| string | Selector prefix. |
| number *OR* array | A UID. OR Day poisition. (/w week argument) OR Array with the day and week positions. |
| number | Optional, Week poisition. |
| el | A calendar element. |
fromId: function( prefix, uid )
Same as from but assumes UID is just a number.
toId: function( el )
Find the UID of a MooMonth.Element element.
| el | MooMonth.Element element. |
| number | UID of the element. |
The UID from content in a MooMonth.Element is different then the UID from a wrapper element.
| timestamp | This date. |
| week | MooMonth.Week object. |
| timestamp | This date. |
| month | MooMonth.Month object. |
| timestamp | This date. |
| month | MooMonth.Year object. |
| timestamp | This date. |
| moomonth | Optional, MooMonth.Base object. |
| moomonth | MooMonth.Base object. |
| array *OR* width *OR* el | All Optional, Array with the width, and height. OR Element width. (/w height argument) OR An element to copy. |
| height | Optional, Element height. |
| moomonth | MooMonth.Base object. |
| options | Effect options. |
| moomonth | MooMonth.Base object. |
| el | Optional, element to be used as the parenNode. |
Get the day, and week position from a MooMonth.Element day element, or UID.
from: function( el )
Find the UID of a day based on it’s position.
toId: function( d, w )
Find an element from a MooMonth.Element.
from: function( prefix, uid )
Same as from but assumes UID is just a number.
fromId: function( prefix, uid )
Find the UID of a MooMonth.Element element.
toId: function( el )
forEach: function( effects, styles )