Popup Calendar 1.0 - DHTML Lab | 11
Pop-up Calendar 1.0
The Calendar Attributes, Part 3
date_format | date_format = "MMM dd y" [ Dec 03 04 ] date_format = "mm dd yy" [ 12 03 04 ] date_format = "d/mm/yyyy" [ 3/12/2004 ] date_format = "yyyy-MMM-dd" [ 2004-Dec-03 ] ... |
|||||||||||||||||
Specifies the date display format used for displaying a date selected by the user in a text input or textarea element. This parameter is required only if you give a value to the input_element_id parameter. Any ordering of d, dd, MMM, mmm, yy and yyyy and any delimiter between them is valid. In detail:
The script provides a default date_format value of MMM-dd-yyyy. | ||||||||||||||||||
start_date | start_date = "2004-12-03" start_date = "2004,12,03" |
|||||||||||||||||
Specifies a date before which the user may not navigate. Dates falling before the start date are disabled and greyed out by default. Values must be in numeric four-digit-year, one-or-two-digit-month, one-or-two-digit-date format, delimited by either a dash or a comma. The script does not provide a default start_date value. Usage Suggestion: | ||||||||||||||||||
end_date | end_date = "2004-12-03" end_date = "2004,12,03" |
|||||||||||||||||
Specifies a date after which the user may not navigate. Dates falling after the end date are disabled and greyed out by default. Values must be in numeric four-digit-year, one-or-two-digit-month, one-or-two-digit-date format, delimited by either a dash or a comma. The script does not provide a default end_date value. Usage Suggestion: | ||||||||||||||||||
root_date | root_date = "2004-12-03" root_date = "2004,12,03" |
|||||||||||||||||
Specifies a date that the calendar will display upon first use. Values must be in numeric four-digit-year, one-or-two-digit-month, one-or-two-digit-date format, delimited by either a dash or a comma. The script does not provide a default root_date value. The current date is used. Usage Suggestion: |
On the next page: specifying the "click" and input elements.
Send a comment or suggestion to Peter Belesis
Created: July 20, 2004Revised: July 20, 2004
URL: https://webreference.com/dhtml/column67/7.html