All options - meshesha/jCal GitHub Wiki

Options

Name Description Options Default
cal calendar type to view -'jewish' (for jewish calendar).
-'gre' (for gregorian calendar)
'gre'
lang languge of the calendar -'en' (english).
-'he' (hebrew)
'en'
caldate if you wish to use other then local time , you can use this option to specify your time you want.
for Example:
'October 13, 2014 11:13:00',
'Wed Dec 07 2016 18:17:07 GMT+0200'
or any other javascript date format.
false or time format you wish false
dataType Type of data file 'xml','json','php' 'xml'
url Path to events file 'path/to/myevents.json' ''
phpPlatform if you wish to use joomla Platform only 'joomla' or ''(empty) ''
moduleName joomla module name without 'mod_'. module name.
for Example: if the jooma module name is: 'mod_mymodule' then
the moduleName option will be: moduleName: 'mymodule'
''
eventNum the number of events showen in the calsendar in 'month' view mode. 'number' '2'
maxWidth Sets a maximum width of the calendar false or value in px, for Example: '800px' false
setWidth Sets the width of the calendar. false or value in px, for Example: '500px' false
buttons Basic or buttons. false-for basic or true-for buttons. false
jQueryui Basic view or JQuery-ui them view. false-for basic view or true-for JQuery-ui them view. false
timeFormat the time format for events with start time and end time, in event detail view mode. '24h'- for 24 hour time format.
'12h'- for 12 hour time format with 'AM' and 'PM' suffix.
'12h'
monthToView Which month to show first, when page loaded. false - show the current month.
['mm','yyyy'] format to show specific 'mm' month , when 'mm' is the month and 'yyyy' is the year.
for example:['01','2017'] will display the January 2017.
false
calBorder set border to calendar, for Example: calBorder:'4px solid #ff3300'. false or border width and color. false
calTitleBgcolor Background color of the calendar title area.
(Does not affect jQueryui mode)
''(empty) or Any CSS standard colors, for Example:
'red' , '#ff0000' , 'rgb(255, 0, 0)' , etc.
'#dbecfc'
calTitleTxtcolor Text color of the calendar title area.
(Does not affect jQueryui mode)
''(empty) or Any CSS standard colors, for Example:
'red' , '#ff0000' , 'rgb(255, 0, 0)' , etc.
'#545454'
calTitleFontSize Font size of the calendar title area.
(Does not affect jQueryui mode)
''
weekdaysBgcolor background color of the weekdays names.
(Does not affect jQueryui mode)
''(empty) or Any CSS standard colors, for Example:
'red' , '#ff0000' , 'rgb(255, 0, 0)' , etc.
'#3588fc'
weekdaysTxtcolor Text color of the weekdays names.
(Does not affect jQueryui mode)
''(empty) or Any CSS standard colors, for Example:
'red' , '#ff0000' , 'rgb(255, 0, 0)' , etc.
'#ffffff'
weekdaysFontSize Font size of the weekdays names.
(Does not affect jQueryui mode)
''(empty) or Any CSS standard size ''
daysBgcolor background color of manth days (excluding Saturdays/Sabbath).
(Does not affect jQueryui mode)
''(empty) or Any CSS standard colors, for Example:
'red' , '#ff0000' , 'rgb(255, 0, 0)' , etc.
'#ffffff'
daysTxtcolor Text color of manth days (excluding Saturdays/Sabbath).
(Does not affect jQueryui mode)
''(empty) or Any CSS standard colors, for Example:
'red' , '#ff0000' , 'rgb(255, 0, 0)' , etc.
'#3588fc'
daysFontSize Font size of manth days (excluding Saturdays/Sabbath).
(Does not affect jQueryui mode)
''(empty) or Any CSS standard size ''
shabatDaysBgcolor background color of Weekends (Saturdays/Sabbath only).
(Does not affect jQueryui mode)
''(empty) or Any CSS standard colors, for Example:
'red' , '#ff0000' , 'rgb(255, 0, 0)' , etc.
'#e3edff'
shabatDaysTxtcolor Text color of Weekends (Saturdays/Sabbath only).
(Does not affect jQueryui mode)
''(empty) or Any CSS standard colors, for Example:
'red' , '#ff0000' , 'rgb(255, 0, 0)' , etc.
'#0828fc'
shabatDaysFontSize Font size of Weekends (Saturdays/Sabbath only).
(Does not affect jQueryui mode)
''(empty) or Any CSS standard size ''
blankDaysBgcolor blank days background color
(Does not affect jQueryui mode)
''(empty) or Any CSS standard colors, for Example:
'red' , '#ff0000' , 'rgb(255, 0, 0)' , etc.
'#dbdbdb'
⚠️ **GitHub.com Fallback** ⚠️