Giter Club home page Giter Club logo

countdown-clock's Introduction

Description

Basic countdown timer used on www.lifechurch.tv and for live.lifechurch.tv.

Requirements

JSON data with a unix timestamp for the time you're counting down to. Sample:

{"next_timestamp":1330043400,"next_title":"Samson","next_description":"Emotions That Take Strong Men Down"}

"next_title" and "next_description" are completely optional. If you choose not to use them, you can remove references to them in the sample HTML, CSS, and JS.

Notes

  1. Some browsers (like Chrome) are big fans of making AJAX calls to local files. So if you want to test out this code as-is, just fire up a Python server and point your browser to http://localhost:8000

     $ cd /my-project-path/
     $ python -m SimpleHTTPServer
    
  2. The sample JSON file (data.json) includes a timestamp that may be old. If you load this all up to preview it, make sure you change the timestamp to something in the future.

countdown-clock's People

Contributors

jmccartie avatar

Watchers

James Cloos avatar Jordy 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.