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: Close Modal calendar without clicking a button
ScotDiddle
Member

Posts: 24
Registered: 11/28/2007
Location: Richmond, VA
Member Is Offline
posted on 3/24/2008 at 06:48 PM Reply With Quote
Close Modal calendar without clicking a button


Hi Calendar Guru's...

It's Me again... This time I have to help my punkin' users...

My date application has two main functions... Let the user pick a date for an area of interest ( Mainframe through-put statistics ) to build a graph, or a date-range, one Tigra Calendar for each a beginning and an ending date.

Upon entry to the date HTML, I hide a div containing the date range selections. It the use indicates that he want to graph his data based on a date range, he clicks a radio button, and the div containing the single date calendar is hidden, and the div containing the two date range calendars is shown.

My problem is, if the user ( Bad User !!! BAD USER !!!!!) has a single modal calendar open when he hits the radio button to display the hidden date-range div, his single calendar stays visible, but his option to close the calendar (cal icon with an X) is now hidden... Is there any programmatic way to close the visible cal ? ( via an onClick="someFunction('closeSingleCalendar');" tied to my date-range select radio option.

Thank for writing this application for me... You all have been a great Help !!! :)

Scot L. Diddle, Richmond VA
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 3/25/2008 at 02:36 AM Reply With Quote

try calendarObject.showcal(); where calendarObject is the reference to calendar object.
you can get it during the initialization like var calendarObject = new calendar (...);
View User's Profile View All Posts By User U2U Member
ScotDiddle
Member

Posts: 24
Registered: 11/28/2007
Location: Richmond, VA
Member Is Offline
posted on 4/8/2008 at 10:39 AM Reply With Quote

Hello,

Thanks, but what command do I throw at the object to close is during some "onClick" process ?

Scot L. Diddle, Richmond VA
View User's Profile View All Posts By User U2U Member
ScotDiddle
Member

Posts: 24
Registered: 11/28/2007
Location: Richmond, VA
Member Is Offline
posted on 6/25/2008 at 11:45 AM Reply With Quote

See http://www.softcomplex.com/forum/viewthread_4716/ for the solution.

Scot
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
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