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: Dismiss MODAL calendar when clicking outside it?
Marcus
Junior Member

Posts: 3
Registered: 5/18/2005
Location: Chicago
Member Is Offline
posted on 9/28/2005 at 10:36 PM Reply With Quote
Dismiss MODAL calendar when clicking outside it?


Edited my original subect to say MODAL not POPUP. Sorry for the confusion.

I'd like to close the modal calendar if the user clicks anywhere else on the form. Right now they have to click the button again to close it. Any way to do that?
View User's Profile View All Posts By User U2U Member
Marcus
Junior Member

Posts: 3
Registered: 5/18/2005
Location: Chicago
Member Is Offline
posted on 10/12/2005 at 05:52 AM Reply With Quote

I'm still a JS novice so I'm just grasping at straws here. But I was thinking that if I knew of some global variable that was set when the calendar was open, I could reference that in the onClick event of my form. Then I could issue a showcal() call if the variable was that value, else do nothing. But I obviously can't make heads nor tails of the calendar.js file to even fathom what I could reference.

Please help me out here. It's a (admittedly) minor annoyance for my users, especially since I have a couple of other popup menus that dismiss when clicking outside of them. Thanks.
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