calendarxp Site Admin
Joined: 30 Jan 2005 Posts: 409
|
Posted: Thu Apr 21, 2005 5:19 am Post subject: How to set Thursday and Friday as weekend? |
|
|
By default, Saturday and Sunday are marked as weekend and you can give them a different style by editing the theme options gcSat, gcSun etc. However, in some culture the week is started on Friday and weekend is therefore composed by Thursday and Friday.
In order to assign weekend style to Thursday and Friday in such case, you need to append the following code in the plugins.js:
Code: | giFirstDOW=5; // week starts from Friday
giSat=6; // set the 7th column (index value is 6) of calendar as weekend Saturday
giSun=0; // set the 1st column (index value is 0) of calendar as weekend Sunday
|
_________________ Copyright 2003-2011 Idemfactor Solutions, Inc. All rights reserved. |
|