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: Calendar Pro New Version Setup
JeffXfire
Junior Member

Posts: 2
Registered: 6/19/2003
Member Is Offline
posted on 6/19/2003 at 03:49 PM Reply With Quote
Calendar Pro New Version Setup


I have the following lines in header on my page:

<link rel="stylesheet" href="../inc/calendar.css">
<script language="JavaScript" src="../inc/calendar.js"></script>
<script language="JavaScript" src="../inc/cal_format05.js"></script>

At the bottom, below the form, I have this:

<script language="JavaScript">
var cal = new calendar('01-01-1970', document.forms['register'].elements['dob'], null, null, null);
</script>

And in my form I have this:

<a href="javascript:cal.cal_popup();"><img src="../im/cal.gif" width="16" height="16" border="0" alt="Click Here to Pick DOB"></a>

I was using the older free version this way to have a popup, what am I doing wrong now?
View User's Profile View All Posts By User U2U Member
nik


Posts:
Registered: 1/1/1970
Member Is Offline
posted on 6/23/2003 at 08:32 AM Reply With Quote

What error message do you get?
View User's Profile View All Posts By User U2U Member
JeffXfire
Junior Member

Posts: 2
Registered: 6/19/2003
Member Is Offline
posted on 6/23/2003 at 10:37 AM Reply With Quote

Object doesn't support this property or method.

Line 1 : Char 1
View User's Profile View All Posts By User U2U Member
nik


Posts:
Registered: 1/1/1970
Member Is Offline
posted on 6/23/2003 at 01:36 PM Reply With Quote

As you are using the following date format (dd-mm-yyyy 01-01-1970) you should link cal_format00.js not cal_format05.js.
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