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: Dynamically set the date of a second on-page calendar from the first on-page calendar
alanmoore
Junior Member

Posts: 2
Registered: 4/20/2007
Member Is Offline
posted on 4/20/2007 at 04:31 PM Reply With Quote
Dynamically set the date of a second on-page calendar from the first on-page calendar


Hi. Just bought Tigra Calendar Pro and it seems good.

I have two on page calendars on one screen - cal1 and cal2. They exist as part of a booking form -- cal1 selects the start, and cal2 the end.

On page load, both cal1 and cal2 have tomorrow selected, and the user cannot select dates before tomorrow. The effect I need is one where the user selects a date on cal1, and this then changes cal2 so no date before the one selected in cal1 is available.

I figure this requires use of the onclickday and onclickcontrol parameters when declaring CAL_INIT1, and that I can use these to call a function which will redefine cal2. The question is, how do I redefine and then refresh cal2 without reloading the page?

Any help would be appreciated
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 4/20/2007 at 05:02 PM Reply With Quote

try migrating the modal mode sample modal_reservation.html to onpage version
submit a support ticket if you want the version without selectbox
View User's Profile View All Posts By User U2U Member
alanmoore
Junior Member

Posts: 2
Registered: 4/20/2007
Member Is Offline
posted on 4/23/2007 at 10:54 AM Reply With Quote

Tried this - no joy.

It seems there are some functions within the main calendar.js file for the modal version that aren't in the onpage version. When I try to use the onpage version, I get the error 'cal1.TC1Z is not a function'

I've looked through the text file which comes with the modal version, but don't see any answer there either.

Any ideas anybody?
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 4/23/2007 at 01:29 PM Reply With Quote

Give it a time. you posted your ticket on the weekend. Today you'll either get the solution or status update.
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