Free, small, simple-to-use and widely customizable web-calendar available for everyone. The calendar can be used on any web-page without scripts or server-side applets. All you need to do is to place an <IFRAME> tag into your code where the calendar should apper. The calendar will be automatically placed on the page.
<iframe src="calendar.php"
width=160 height=148 frameborder=0 scrolling="no"></iframe>
<iframe src="calendar.php?l=us&gmt=+5"
width=160 height=148 frameborder=0 scrolling="no"></iframe>
<iframe src="calendar.php?l=sk&gmt=+2"
width=160 height=148 frameborder=0 scrolling="no"></iframe>
<iframe src="calendar.php?d=2&m=6&y=2000&hili=no"
width=160 height=148 frameborder=0 scrolling="no"></iframe>
<iframe src="calendar.php?style=blue.css"
width=160 height=148 frameborder=0 scrolling="no"></iframe>
This is a complete list of available input parameters. All parameters are optional. Please note, that all parameters must be used in lowercase to work. Each parameter has the default value in bold.
parameter | values | description |
---|---|---|
l | en, us, sk, cz | Language to be used in the calendar. It includes translations as well as the definition of the week start. If you wish to use the calendar in your own language that is not listed here yet, contact me and I will help you create a new language translation for your language. The translation currently includes only a few words. No big deal. |
gmt | number |
Time difference to be used (from GMT) in hours. When you ignore this parameter, and your site is supposed to display the current calendar for today, it will actually display the calendar valid for GTM zone only. Note that hours are important for calendars at least at the midnight. Note that GMT only takes place for today. If you specify some other day (using the d, m, y parameters), there is no need to provide any time zone information. If you run an international site and want to try guess the timezone of the visitor, you may need javascript like this: function guessTimeZone () { var clock = new Date (); var raw = clock.getTimezoneOffset (); return ((raw >= 0) ? "-" : "") + Math.abs (raw) / 60; } |
d | number, today | The day to be highlighted in the calendar. |
m | number, today | The month to show the calendar for. |
y | number, today | The year to show the calendar for. |
n | 0, number | Number of months to shift the calendar from the current day. For example n=-1 is the previous month, while n=+2 is the second month after this one. |
hili | yes, no | Whether to highlight the selected day or not. If no day is selected (using the d, m, y parameters), then the current date is used (shifted by gmt parameter, if any). |
style | see the gallery | Extended style that should be used for the calendar. If you wish to use your own style sheets for the calendar, please contact me and submit your css along with all required images. The reason why local styles are allowed only are hopefully way too obvious, but I would be glad to host any style that is worth it. |
head | yes, no | Whether to output a full HTML page that can be used as an <IFRAME>; or just output the main calendar body. Note: The raw body (without the html headers) can be included directly into the html code, but it may require some javascript or server-side scripts. |