![]() |
|||||||
| HOME | MChart component | TMenu component | JSCalendar component | Pricing | About | ||
If your browser meets system requirements, you will see JSCalendar component here:
Switch to second skin
To embed JSCalendar component onto your page, do the folowing:
<HTML xmlns:tb="http://technobrain.110mb.com/software/jscalendar"><link rel="stylesheet" type="text/css" href="JSCalendar.css"><script language="javascript" src="JSCalendar.js"></script><tb:jscalendar onSelected="onChangeDate" tb:InitialDate="24.03.2008">Important: do not use "p" tag as a container for JSCalendar, because IE will not show it correctly. Use "div" tag instead.
You can add any additional attributes to the "tb:jscalendar" tag, e.g. "id", "style" etc.
Any of the attributes are optional, and you can ommit it.
onSelected - name of javascript function will be called after user select day
tb:InitialDate - the date component initialy show. Format: dd.mm.yyyy
Handler must have the following signature: <handlerName>(Date <user selected date>). Example:
function onChangeDate(d)
{
alert("onSelected handler:rn"+FormatCanonical(d));
}
Skin for JSCalendar is a CSS-file. You can fully change the view by editing JSCalendar.css file. For example, you can see other skin . These two uses two different stylesheets.
Sorry, currently no localization is supported. You can localize component only by editing the source file under LGPL license. May be in future I'll add localization. Let me know if you need it.
ZIP-file with libriary and sample files.
JSCalendar works correctly on most modern browsers: Internet Explorer 5.5 and higher, FireFox 1.0 and higher, Opera 7.0 and higher, Safari 3.0 (tested on Windows).
JSCalendar needs to launch:
JSCalendar use only basic functions and is tolerant to standarts implementation.
LGPL. Use it for free.