Coder Social home page Coder Social logo

thecodingmachine / jquery.tcm.monthpicker Goto Github PK

View Code? Open in Web Editor NEW
2.0 12.0 0.0 140 KB

The jQuery TCM Monthpicker is a highly configurable plugin that adds monthpicker functionality to your pages. You can customize the date format and language, restrict the selectable date ranges and add in buttons and other navigation options easily.

jquery.tcm.monthpicker's Introduction

MonthPicker

It's a modification of jquery ui datepicker to display a monthpicker. All configurable elements were kept. It's posible to use jquery ui theme. So you can see documentation here http://api.jqueryui.com/datepicker/. example

Modification

Some feature is change from the databpicker.

changeMonth

Removed

firstDay

Removed

numberOfMonths

Renamed in numberOfYears

selectOtherMonths

Removed

showOtherMonthsType

Removed

showWeek

Removed

stepMonths

Removed

weekHeader

Removed

Examples

<!doctype html>
<html lang="us">
<head>
	<meta charset="utf-8">
	<title>Month picker Example Page</title>
	<link href="css/ui-lightness/jquery-ui-1.10.3.custom.css" rel="stylesheet">
	<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">
	<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
	<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
	<script src="jquery-tcm-monthpicker.js"></script>
	<script>
	$(function() {
		$( "#datepickermonthi" ).monthpicker();
	});
	</script>
<body>
<div id="datepickermonth"><div/>
</body>
</html>

example

jquery.tcm.monthpicker's People

Stargazers

 avatar  avatar

Watchers

James Cloos avatar Jérémie Posé avatar David Négrier avatar Hugo Averty avatar  avatar Kevin Nguyen avatar Marc TEYSSIER avatar Nicolas Peguin avatar David Maechler avatar  avatar Camille Koppel avatar  avatar

jquery.tcm.monthpicker's Issues

ui-state-active not added on January

Hi! first of all congratz for this amazing plugin!
The calendar works fine but when you click Jan (January), the "ui-state-active" class is not added to the "a" element, very strange!

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.