Giter VIP home page Giter VIP logo

datepicker's Introduction

Yet Another Datepicker

An attempt at writing a flexible, framework free, feature-rich and accessible datepicker.

At a glance…

  • Keyboard shortcuts adhere to The DHTML Style Guide Working Group (DSGWG) recommendations
  • Accessibility enhancements including support for ARIA Roles and States
  • The script can parse and format dates using a subset of the PHP date conversion specifiers
  • Both upper and lower date limits can be set
  • Bespoke days of the week can be disabled
  • Bespoke dates can be disabled/enabled and “*” wildcards used to stipulate the dates in question
  • Bespoke days of the week can be highlighted
  • Works with any combination of text inputs or select lists
  • DOM friendly – the datepicker is only added to the DOM when actually required
  • Includes a “smart localisation” option and has been translated into many languages
  • Can display an optional status bar and week numbers
  • Can be dragged within the viewport by the user
  • Global configuration parameters can be specified using JSON within the script tag itself
  • The “button” used for popup datepickers can now be styled for default, hover, focus, active and disabled states, be arbitrarily positioned within the DOM and removed from the document tabindex if so desired
  • Inline datepickers are now available, are automatically added to the document tabindex and can be arbitrarily positioned within the DOM
  • A bespoke final opacity can be defined and if desired, the fade in/out animation effect disabled
  • The entire U.I. grid can now be filled with dates
  • The “Today” button can be removed from the U.I.
  • Fully skinnable with CSS
  • Compatible down to IE6

Demo & Documentation

A comprehensive demo and full documentation is available.

datepicker's People

Contributors

dave-irvine avatar freqdec avatar phillipkoebbe avatar tjgrathwell avatar

Watchers

 avatar  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.