A full interactive Calendar UI built for Vanilla JS or use in other frontend frameworks.

#javascript #js #vanillajs #ui #frontend #webdev #website #html #css #jquery

Adam Shaw b39cbf6350 Merge pull request #61 from archaeron/patch-1 пре 13 година
build e2dbcaf15d refactored js, split into more files (much more manageable). tested пре 15 година
demos 7fc1e166c5 final touches for 1.5.1 пре 15 година
lib cbd210dbe4 upgraded to jQuery 1.7.1 and jQuery UI 1.8.17 пре 14 година
src 76a1197860 replace curCSS with css for jQuery 1.8 пре 13 година
tests 477c2960a8 final touches for 1.5.2 пре 14 година
.gitignore cb4a3ebb99 small modification to tauren's parseISO8601 changes пре 15 година
GPL-LICENSE.txt 559928cec8 Settling into Git by including a markdown README file and updating the build process DATE variable. пре 16 година
MIT-LICENSE.txt 559928cec8 Settling into Git by including a markdown README file and updating the build process DATE variable. пре 16 година
Makefile 4e0c802fc3 Makefile now works on a Mac пре 15 година
README.mkd cef14c6415 renamed readme пре 16 година
changelog.txt ce082b3a61 fixed changelog and code comments for v1.5.3 пре 14 година
version.txt bf08b337d6 updated version and changelog for v1.5.3 пре 14 година

README.mkd

FullCalendar - Full-sized drag & drop event calendar

Development and testing

Modify files in the src/ directory and test your changes by viewing any of the HTML files in the tests/ directory. Each test file exercises a particular aspect of FullCalendar, so you might want to create your own test file if you are developing a substantial new feature.

Building from source

You must have a Java runtime environment (accessible by the java command) for minification. Then, run make zip and check the dist/ directory for your newly created ZIP archive. To start fresh, run the make clean command.

Getting started

Assuming you have downloaded a release, or built your own, you can get started by including the following dependencies in the <HEAD> of your HTML file:

<link rel='stylesheet' type='text/css' href='fullcalendar.css' />  <!-- required stylesheet          -->
<script type='text/javascript' src='jquery.js'></script>           <!-- need jQuery >= v1.2.6        -->
<script type='text/javascript' src='fullcalendar.min.js'></script> <!-- can also use fullcalendar.js -->

If you plan to use the drag/drop/resize functionality, you must include jQuery UI draggable and resizable. You can download a custom build or use the bundled files, like so:

<script type='text/javascript' src='ui.core.js'></script>
<script type='text/javascript' src='ui.draggable.js'></script>
<script type='text/javascript' src='ui.resizable.js'></script>

Somewhere in your javascript you need to initialize a FullCalendar within a pre-existing element. Here is an example of doing it within an element having an id of calendar:

$(document).ready(function() {

    $('#calendar').fullCalendar({
        // your options here
    });

});

To see a full list of all available options, please consult the FullCalendar documentation »