Coder Social home page Coder Social logo

bimiorg / datepicker Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 21 KB

<input type="date"> replacement widget for pre-HTML5 browsers (e.g. IE and older Firefox and Chrome)

License: Other

JavaScript 17.18% CSS 8.60% HTML 74.21%
html5 backward-compatibility progressive-enhancement ie6 firefox52esr winxp datepicker date-picker date dates

datepicker's Introduction

Substitute datepicker for pre-HTML5 browsers

Live Demo Here

This commit is the improved datepicker based on the original from Corion.net.

This improved version:

  • attaches to fields if the current browser does not have native support for date inputs.
  • modifies webkit native date inputs with CSS to work more logically and be slightly less ugly (if native input is available).
  • contains an extensive UI rework to simulate the Firefox 57 native datepicker.
  • detects focus loss and hides the datepicker automatically.
  • contains fixes and workarounds for all manner of inconsistent behaviour on legacy browsers:
    • supported on IE 6 - 11, Firefox 3.6 (manual attachment) - Firefox 56 (auto attachment), and Chrome 19.
  • uses YYYY-MM-DD ISO format for compatibility with HTML5 native date inputs.
  • and has many more improvements....

Live Demo Here

As the original author simply states "Artistic License", due to release dates it is assumed that the Artistic License 1.0 is the applicable license.

datepicker's People

Contributors

bimimicah avatar

Stargazers

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