Change the Year range of the DMXCalendar
Question:
I want to be able to extend the year range of the Calendar. Is it possible?
Answer:
Yes, it is.
The default year range in dmxCalendar is set to +/- 10 years from the current. In order to extend this you need to place following line of code in Calendar's <script> tag included in body tag of your page(the bold line):
showStatus : true,
yearRange: '-50:+10', //this line will extend years before current date with 50
numberOfMonths : [1,1],
Comments
Be the first to write a comment
You must me logged in to write a comment.