JS Calendar - ColdBox plugin
I've created a ColdBox plugin which makes use of JS Calendar of Dynarch.
LIVE SAMPLE (requested by Sana):
Usage:
<!--- input field 1 --->
<input type="text" id="startDate" name="startDate" value="" />
<img src="includes/img/icons/calendar.gif"
id="startDate_trigger" style="cursor:pointer;" title="Date selector" />
<!--- input field 2 --->
<input type="text" id="endDate" name="endDate" value="" />
<img src="includes/img/icons/calendar.gif"
id="endDate_trigger" style="cursor:pointer;" title="Date selector" />
<!--- Setup Calender --->
<cfset calendar = getPlugin("Calendar",1)>
<cfset calendar.setInputField('startDate','startDate_trigger','T1')>
<cfset calendar.setInputField('endDate','endDate_trigger')>
<cfoutput>#calendar.render()#</cfoutput>
Downloads:
JS Calendar (unzip and place it in your includes directory. It should look like this: {YOURAPP}/includes/jscalendar/..)
ColdBox Plugin (without JS Calendar!)


u r using a style sheet "calendar-custom.css" in the plugin cfc its not avilable in the jscalender-1.0 zip pack
You're right, I just updated the zip file and included the custom stylesheet.
Ernst