There's already loads of calender scripts that can be downloaded, but
most of them contain flaws, are too difficult to set up or .. cost you
money!
I, for one, was not willing to pay for a good calender script that i
just wanted to use for myself. So, i decided to write one myself. And
now you can benefit from that as well! (as long as it's not part of a
commercial application of course)
Usage
The script is relatively easy to set up:
- include the source file into your webpage with the <script>-tag
- copy-paste
the (html)-table that forms the calender to the webpage - but make sure
it becomes a direct node of the body-tag. Meaning, you can not put it
in a div, table or any other element. The best way would be to just
paste it right before the </body> tag
- include the css file into your webpage by
- loading it externally:
- copy-pasting it into your existing external stylesheet
- including it in the css-code between the <style>-tags in your webpage
Beware: The css code is a vital part of the calender! Not including it will cause a malfunction
- Generating a link that will open the calender / date picker