Giter Club home page Giter Club logo

jquery-events-calendar's Introduction

jQuery Event Calendar

Minor bug fixes and enhancements to the excellent jQuery Event Calendar Plugin currently hosted at Google Code.

Thanks to jaime8111 for an awesome plugin.

Changes

  • Quite a few bugs have been fixed (and a lot more introduced)
  • Added support for multi-day events
  • Added support for recurring events (wip)
  • Added support to limit events to a date range
  • Added date parsing support for titles (etc)
  • Added internationalisation support
  • Added unit test support (still very much a work in progress)

Usage

Calendar Parameters

Parameter Default Description
eventsJson js/events.json
jsonDateFormat "timestamp" Either 'timestamp' or a date parser formatted string
jsonData "" Used to load and inline json (not ajax calls)
cacheJson true If true then the JSON data will only be retrieved on the initial load and cached. If false the JSON data will be fetched on each date change
sortAscending true true to sort ascending and false to sort descending
eventsLimit 4 Limits the number of events displayed in the calendar
dayNameFormat "ddd" Date parser enabled format for the name of the day in the header row
textCalendarTitle "MMMM yyyy" Date parser enabled format for the calendar title
textEventHeaderDayView "MMMM ddS even\\t\\s:" Date parser enabled format for the event list header (day mode)
textEventHeaderMonthView "MMMM even\\t\\s:" Date parser enabled format for the event list header (month mode)
textNoEvents "There are no events in this period" Message to display when there are no events for the current period
textNext "next"
textPrevious "prev"
textNextEvents "Next events:"
textGoToEventUrl "See the event"
highlightEventDays true Highlights days in calendar that have events running
highlightListingDays false Highlights days in calendar that have events listed
showDayAsWeeks true
startWeekOnMonday true Determines if the calendar week starts on Sunday or Monday
showDayNameInCalendar true
showDescription false Allows event descriptions to be shown
collapsible false true if descriptions are collapsed, and opened when clicked
onlyOneDescription true true if only one description is to be displayed at any one time
groupEvents false Show only a single event in the event list for recurring events
openEventInNewWindow false true if event URL's are to open in a new window
eventsScrollable false true for fixed height with scrollbar, false for dynamically changing height
initialEventList false false for upcoming, 'day' for today, or 'month' for this month.
currentDate new Date() Initial date for calender (this is mainly used for testing)
startDate new Date(1900, 0, 1, 0, 0, 0) Date of earliest event to show on the calendar
endDate new Date(2999, 0, 1, 0, 0, 0) Date of latest event to show on the calendar
allowPartialEvents false If a multi-day event falls across the start or end date, we either show a partial event (true) or the entire event (false)
moveSpeed 500 Speed of month move when you click on a new date
moveOpacity 0.15 Month and events fadeOut to this opacity

Notes

jquery-events-calendar's People

Contributors

mightymuke avatar jaime8111 avatar

Watchers

James Cloos avatar Rajendra Gawthe avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.