boffy_pizza
Newbie
Posts: 1
Registered: 9/6/2007
Member Is Offline
|
| posted on 9/6/2007 at 06:52 PM |
|
|
Time change
At the moment when I click on the calender, it shows the time as being the current time. If I want to keep the time to 12:00 regardless of what the
time actually is, how would I do that? I'm pretty sure I'll have to tweak the calender3.js script, but I'm not sure how. Needless to say, I'm
using calender3.js. Any help?
|
|
|
tigra
Administrator
Posts: 1920
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 9/6/2007 at 11:26 PM |
|
|
you'll need to modify calendar.html
in line 155 the calendar generates time input using time from this.dt_current object. You'll need to reset its time to 12:00 before that.
The code for that is:
this.dt_current.setHours(12);
this.dt_current.setMinutes(0);
this.dt_current.setSeconds(0);
|
|
|