Giter VIP home page Giter VIP logo

equinox's Introduction

Equinox

A simple, fully responsive jQuery calendar plugin.

Getting Started

Link Files

Begin by copying the contents of the 'dist' folder into your site's library folder, ideally into their own 'equinox' directory.

Include the Equinox CSS file in the head of your page:

<link rel="stylesheet" type="text/css" href="equinox/equinox.css">

Also include the Equinox javascript file as well as the required jQuery and Moment.js libraries, preferrably towards the end of your site ahead of the closing </body> tag:

<script type="text/javascript" src="//code.jquery.com/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/moment.js/2.6.0/moment.min.js"></script>
<script type="text/javascript" src="equinox/equinox.min.js"></script>

Initialize Equinox Object

Once all the required CSS and javascript files have been linked, you may instantiate an Equinox object on any element:

$('.event-calendar').equinox({});

equinox's People

Contributors

cr117 avatar

Stargazers

Keyth M Citizen  avatar Justin Drentlaw avatar

Watchers

James Cloos avatar Nathan Wilkins avatar  avatar

equinox's Issues

add onclick event

Is there any way to add on click event on a day and get the current date?

Equinox load through JS

Hi Jordan,
I am trying to add calendar through JS which is possible for first time. When I again request for new data for calendar, It doesn't work.
My question is,
Can we load data to calendar for second time through JS.??

Below is my code:
$.ajax({
type : "GET",
url : '/eventsapp/get-event-data/',
data : {},
success: function (response) {
if (response.success == 'true') {
$('.event-calendar').equinox({events:response.final_list});
}
},
error : function(response){
alert("_Error");
},

  });

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.