Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Display size of date input field
Ravenstar
Newbie

Posts: 1
Registered: 12/3/2003
Member Is Offline
posted on 12/3/2003 at 10:15 AM Reply With Quote
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
View User's Profile View All Posts By User U2U Member
tschuber
Junior Member

Posts: 2
Registered: 2/24/2004
Member Is Offline
posted on 2/24/2004 at 12:45 PM Reply With Quote

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.
View User's Profile View All Posts By User U2U Member
Silly
Junior Member

Posts: 2
Registered: 3/18/2005
Location: The Netherlands
Member Is Offline
posted on 3/18/2005 at 08:39 AM Reply With Quote

Have I been waiting for this .... thanks
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos
Popup Calendar
Onpage Calendar
Modal Calendar
Product Documentation Documentation
Documenation Page
Change Log
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004