|
Sample|Download|Installation Process|How it works
Here is a sample of what you can do with comCald:
| DOWNLOAD comCald |
3) We would like to remind you of some opportunities for contribution. I provided to you at no charge, and you have every right to redistribute the software. I depend on people willing to contribute their time and support to the project to ensure that my work remains free and available at no cost.
You can help. The basic options consist of Contributing Work or if you have no time Donating Funds.
We appreciate your support for the project.
|
|
Congratulations, you’ve just downloaded the comCald.zip file, which contains a sample set of
files that will allow you to quickly set up your own Marks on your server and web pages.
This process will detail the steps needed to install and use comCald on your web
server.
After downloading the comCald.zip file, the included files have to be extracted at
the location specified by the user on the server and have to respect the following hierarchy.
The comCald.zip file contains the following files:
-
comCald.htm (sample html file that will display the comCald component, open this file to see the resulting sample),
-
comCald.js (set of javascript functions that will build the comCald component. This file has to be placed into the comCald folder),
-
calendar.htm (html file that contains the design for the popup montly calendar. This file has to be placed into the comCald folder),
- Sample set of images (these images have to be placed in the images folder).
If for some reason the comCald.zip file is damaged or you don’t have winzip or equivalent
installed on your computer, please copy the following contents to the
respective folders as described above.
To copy the content, press CTRL+A then CTRL+C
To copy the content, press CTRL+A then CTRL+C
To copy the content, press CTRL+A then CTRL+C
The only work your web file will have to do is to draw the component according to your
requirements. You can do that as follow:
-
Include in the header of your web page, the comCald.js file (procedure file) as follow:
<Script type="text/javascript" src="comCald/comCald.js"></script>
-
Define a <FORM> tag in your webpage in which the comCald control will be held.
Call the function that will create the comCald control on your webpage
inside the FORM tags.
<Script type="text/javascript">Build_calendar("box",0);</script> (0 for TextBox calendar)
or
<Script type="text/javascript">Build_calendar("box",1);</script> (1 for ComboBox calendar; see the example above)
Where "box" represents the name of the calendar and 0/1 represents the type of the calendar.
Note that the function build_Timer has 2
parameters:
- Name of the object calendar.
- Type of calendar.
Defining default or dynamically changing values:
- In the case of a type 0 calendar, you can change the value of the calendar current date simply by accessing the calendar by its id; for example: document.getElementById("box").value = "12/11/2005";
- In the case of a type 1 calendar, you can change the value of the calendar using the function Default_date; for example: Default_date("box", "2005-10-30");
Well, this
component is far from being perfect, and if you have the will to improve it,
nothing can prevent you to open the comCald.js file and dive in the code.
Enjoy it…
Home|Contacts|Privacy Policy
|