View previous topic :: View next topic |
Author |
Message |
zkjc4 Guest
|
Posted: Thu Feb 02, 2006 2:50 pm Post subject: Add links to the bottom of the calendar |
|
|
I'm using the multi calendar outlook theme (2 month cal) with start date and end date fields. I'd like to create 2 links on the bottom of each calendar:
Start Date Calendar:
1. Clear Start Date (only clears the start date field)
2. Go to Today
End Date Calendar:
1. Clear End Date (only clears the end date field)
2. Go to Today
How would I create these links?
|
|
Back to top |
|
|
calendarxp Site Admin
Joined: 30 Jan 2005 Posts: 409
|
Posted: Fri Feb 03, 2006 3:02 am Post subject: |
|
|
[UPDATE: new demo has been uploaded in the sample code forum, please download from there!]
I've created a demo for you as attached.
You may modify the gsBottom option in outlookleft.js and outlookright.js if you want to pack more links into the bottom section.
_________________ Copyright 2003-2011 Idemfactor Solutions, Inc. All rights reserved.
Last edited by calendarxp on Tue Feb 07, 2006 6:09 am; edited 1 time in total |
|
Back to top |
|
|
zkjc4 Guest
|
Posted: Fri Feb 03, 2006 2:29 pm Post subject: |
|
|
calendarxp wrote: | I've created a demo for you as attached.
You may modify the gsBottom option in outlookleft.js and outlookright.js if you want to pack more links into the bottom section. |
Where would I find the attachement?
|
|
Back to top |
|
|
calendarxp Site Admin
Joined: 30 Jan 2005 Posts: 409
|
Posted: Fri Feb 03, 2006 4:43 pm Post subject: |
|
|
We've just fixed the permission error. Please try again - you should now be able to see a download link in the above reply.
Sorry for any inconvenience.
_________________ Copyright 2003-2011 Idemfactor Solutions, Inc. All rights reserved. |
|
Back to top |
|
|
zkjc4 Guest
|
Posted: Mon Feb 06, 2006 4:48 pm Post subject: |
|
|
Thank you for the code sample. I've added the code and it works; however there is a minor problem:
1. when viewing the start calendar and you click the "clear end" link, it clears both the start and end dates.
2. when viewing the end calendar and you click the "clear start" link, it clears both the start and end dates.
In both cases above, it should only clear the field in question. Can you please advise how to correct this?
fwiw - this problem is present in the sample page you provided.
|
|
Back to top |
|
|
calendarxp Site Admin
Joined: 30 Jan 2005 Posts: 409
|
Posted: Mon Feb 06, 2006 11:35 pm Post subject: |
|
|
Yes, it's a bug. Please find the 2 fUpdSelect(0,0,0) instances in the plugins.js and replace them with the following:
Code: | fUpdSelect(0,0,0,true); |
We've rebuilt the code sample with the latest change, please check out there.
_________________ Copyright 2003-2011 Idemfactor Solutions, Inc. All rights reserved. |
|
Back to top |
|
|
|