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: Time change
boffy_pizza
Newbie

Posts: 1
Registered: 9/6/2007
Member Is Offline
posted on 9/6/2007 at 06:52 PM Reply With Quote
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?
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 9/6/2007 at 11:26 PM Reply With Quote

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);
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Tigra Calendar
Product Demonstrations Live Demos
Free Download Free Download
Product Documentation Documentation
Support Forum Support Forum
 
Tigra Calendar PRO
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