Ravenstar
Newbie
Posts: 1
Registered: 12/3/2003
Member Is Offline
|
| posted on 12/3/2003 at 10:15 AM |
|
|
Display size of date input field
The size of the date display box in a form is much bigger than I need, as if it is allowing for the time which I am not in need of, just the date. Is
there a way to make the display box smaller?
Thanks
|
|
|
tschuber
Junior Member
Posts: 2
Registered: 2/24/2004
Member Is Offline
|
| posted on 2/24/2004 at 12:45 PM |
|
|
hi,
this has been testet whith IE and the modal calendar only:
1. edit your configuration file(cal_tpl.js). (the line:'size' : 6,' is new)
...
// input text field to store the date & time selected (INPUT type="text")
'datacontrol': {
'size' : 6,
'width': 5,
'maxlength' : 8,
'class': 'calDatCtrl'
},
...
2. edit the code(calendar.js). Search for '<table cellpadding="0" cellspacing="0" border="0" width='. Set a
lower width.
|
|
|
Silly
Junior Member
Posts: 2
Registered: 3/18/2005
Location: The Netherlands
Member Is Offline
|
| posted on 3/18/2005 at 08:39 AM |
|
|
Have I been waiting for this .... thanks
|
|
|