calendarxp Site Admin
Joined: 30 Jan 2005 Posts: 409
|
Posted: Tue Feb 15, 2005 7:30 pm Post subject: How can I de-select a date? |
|
|
In most themes, all you need is to clear the gdSelect variable and repaint the calendar. e.g. create a de-select function in the plugins.js:
Code: | function fDeselect() {
fUpdSelect(0,0,0); // clear gdSelect
fRepaint();
} |
Then call it whenever you want to remove the selected date from the calendar. Note, some themes may use additional variable to store multiple selected dates, and you may need to clear them in the same call.
_________________ Copyright 2003-2011 Idemfactor Solutions, Inc. All rights reserved. |
|