To embed an instance of the Date/Time Picker in HTML, use the object
tag with type
set to application/avantgo-mime-datetimepicker
:
<object type="application/avantgo-mime-datetimepicker" width=pixelsWide height=pixelsHigh> </object> |
Where:
pixelsWide
is the width of the Date/Time Picker area in pixels.
pixelsHigh
is the height of the Date/Time Picker area in pixels.
For a list of parameters you can specify within the object
tag, see the table below. For reference material you will need to write JavaScript or C code to use the Date/Time Picker,
see M-Business Date/Time Picker API.
Table 4. Date/Time Picker object tag parameters
Specification |
Description |
---|---|
|
Shorter, abbreviated labels to be displayed for the months of the year. Default value: |
|
Shorter, abbreviated labels to be displayed for the days of the week. Default value: |
|
The width, in pixels, of the arrow. Note: This is different from the length of the arrow. |
|
Whether the server-side date range should be enforced: true or false. When the default value, Note: This option does not apply to the Palm OS version. Palmas always has a date range set between the years 1904 and 2031. |
|
Border color for the Date Picker. Default value: |
|
Background color for the Date Picker. Default value: |
|
Foreground color for the Date Picker. Default value: |
|
Background color for the selected date in the Date Picker. Default value: |
|
Foreground color for the selected date in the Date Picker. Default value: |
|
Font family for the Date Picker. Default value: |
|
Font size for the Date Picker. Default value: |
|
Background color for the weekday names area in the Date Picker. Default value: |
|
Foreground color for the weekday names area in the Date Picker. Default value: |
|
Background color for the month selector in the Date Picker. Default value: |
|
Foreground color for the month selector in the Date Picker. Default value: |
|
Start day of the week. Default value:
|
|
Visibility of the Date Picker. Default value: |
|
Background color for the year selector in the Date Picker. Default value: |
|
Foreground color for the year selector in the Date Picker. Default value: |
|
Specified date/time value: an integer value representing the number of seconds since Jan. 1, 1970 00:00:00. |
|
Format specification for the read-only text field. See Field format specifications, for a list of specification values and their associated descriptions. |
|
The full labels to be displayed for the months of the year. Default value: |
|
The full labels to be displayed for the days of the week. Default value: |
|
Initialize the Date/Time Picker with the current date/time: true or false. Default value: |
|
Initialize the Date/Time Picker with the current time only: true or false. Default value: |
|
The very shortest labels to be displayed for the days of the week. Default value: |
|
Use 24-hour format to display the Time Picker (instead of am/pm), |
|
Designator string for a.m. times. |
|
Border color for the Time Picker. Default value: |
|
Background color for the Time Picker. Default value: |
|
Foreground color for the Time Picker. Default value: |
|
Font family for the Time Picker. Default value: |
|
Font size for the Time Picker. Default value: |
|
Designator string for p.m. times. |
|
Background color for the selected component in the Time Picker. Default value: |
|
Foreground color for the selected component in the Time Picker. Default value: |
|
Visibility of the Time Picker, |
Send feedback about this page using email. | Copyright © 2008, iAnywhere Solutions, Inc. |