Adding JavaScript Calendar in a new block in drupal

asked May 30, 2012 in General by meera-b (300 points)
Hi all,
I want to add an inline calendar based on Dynarch Calendar, which is a JavaScript code. I have just created a new block and I  want to add the JavaScript calendar to it. Can someone please tell me how to do this
Any help would be appreciated

1 Answer

0 like 0 dislike
answered May 30, 2012 by TopNet (10,360 points)
his is how you do it
1.Download the latest ( and extract it.
2.Copy the ‘CSS’ and  the ‘JS’ directory from ‘SRC’ directory to your web application directory. the HEAD part of your HTML file, Include your preferred theme ‘css’ file, your preferred language, jscal2.css, and border-radius.css .

Note:If the CSS or Javascript apply to all your pages,you can be add to the themes .info file or  you can add them from with  custom module using drupal_add_js()/ drupal_add_js()