Giter VIP home page Giter VIP logo

county's Introduction

Description

One more jQuery plugin to display countdown. Provides 4 themes and ability to configure the countdown output. Based on http://egrappler.com/free-jquery-count-down-plugin-county/

Customization

  • endDateTime: The date and time where the count down will stop.
  • animation: Animation from count down element, ‘fade’ or ‘scroll’.
  • speed: Animation speed for count down element, 500 milliseconds default.
  • theme: Color scheme for count down, ‘black’, ‘gray’, ‘red’ and ‘blue’.
  • reflection: Whether to show reflection, true or false.
  • reflectionOpacity: Opacity for reflection, 0.2 default.

How to use

Add the following code to to your HTML document.

<link rel="stylesheet" type="text/css" href="css/county.css" />
<script src="js/jquery.min.js" type="text/javascript"></script>
<script src="js/county.js" type="text/javascript"></script>

Add a block element in body of HTML document.

<div id="count-down"></div>

Call the initializer function with required parameters and your count down is ready.

$('#count-down').county({ endDateTime: new Date('2016/12/27 10:00:00'), reflection: true, animation: 'scroll', theme: 'black' });

county's People

Contributors

brilsergei avatar jacintoappno avatar

Watchers

 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.