TinyCal v1.0 by Thomas Buschbach | tinycalproject@gmail.com | http://www.tinycal.com | Tell your friends


ABOUT TINYCAL
=============

TinyCal is a free and open source JavaScript calendar/date picker licensed under 
GPLv3. You should have received the following files as part of this download:


	README.txt - this text file
	COPYING.txt - a text file outlining the GPLv3 license
	tinycal.js - the JavaScript component of TinyCal
	tinycal.css - the CSS component of TinyCal


If your download did not include these four files, please visit http://www.tinycal.com
 and download the official release from there.


IF YOU NEED ASSISTANCE
======================

TinyCal does not come with any support, however, there are some useful resources on 
the official web site - http://www.tinycal.com such as a code discussion that walks 
through the JavaScript and CSS files line by line and a quick start guide.


"INSTALLING" AND USING TINYCAL
==============================

Since we are talking about JavaScript and CSS files here, they aren't really installed 
so to speak, but rather copied to the appropriate directory or directories on your web 
server. The only two files that you need to concern yourself with are tinycal.js and 
tinycal.css. Once they are on your server, using TinyCal is simply a matter of including 
the files in your site by inserting the following two lines into the <head> section of 
your main HTML page:


	<link rel="stylesheet" type="text/css" href="tinycal.css" />
	<script type="text/javascript" src="tinycal.js"></script>


Of course, make sure to use the correct paths to the two files on your web server. Once 
those files are included, you can create a calendar anywhere on your site using the 
following syntax: 


	<input type="text" id="example" /><img src="calendar.gif" onclick="f_toggleCalendar(this, 'example');" />


The image in this case, calendar.gif, is the "button" which, when clicked, will open 
(or close) the calendar. The text input field "example" is where the date clicked on the 
calendar will be inserted. If you wish to forego the calendar image, you could set the 
f_toggleCalendar() function to fire with the onfocus event of the "example" text input 
field. The date format can be configured by changing the string set by the f_populateInput() 
function. You can use any image as the calendar "button", but the one shown is one included 
with the download. 

You can see a live example of TinyCal on the official web site - http://www.tinycal.com.