• Stars
    star
    165
  • Rank 228,906 (Top 5 %)
  • Language
    CSS
  • License
    MIT License
  • Created over 12 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

jQuery.counter (javascript + css3)

jQuery.counter (javascript + css3)

Info + Demo: http://sophilabs.github.com/jquery-counter

jQuery Counter

A jQuery counter based on http://code.google.com/p/jquery-countdown with more options.

Options

Options can be set by attribute data-<name>="value" or in the options hash on counter initialization: $(element).counter({name: value, ...})

direction: up|down Counter direction

format: string Defines the format and the limit for each part - e.g: 23:59:59

interval: number Defines the time between each counter increment - by default 1000 milliseconds

stop: string Defines the counter limit - eg: 10:00 (ten minutes)

Methods

Methods can be call using $(element).counter('method')

play Play counter

reset Reset counter

stop Stop counter

Events

counterStop Raised when the counter reach limit

Example

10 seconds countdown:

<span class="counter counter-analog">0:10</span>
<script>
    $('.counter').counter();
</script>

120 seconds count:

<span class="counter counter-analog" data-direction="up" data-format="120">0</span>
<script>
    $('.counter').counter();
</script>

License

jQuery.counter is Copyright (c) 2017 sophilabs, inc. It is free software, and may be redistributed under the terms specified in the license file.

About

sophilabs.co

jQuery.counter is maintained and funded by sophilabs, inc. The names and logos for sophilabs are trademarks of sophilabs, inc.

More Repositories

1

django-qurl-templatetag

A Django template tag to modify url's query string.
Python
56
star
2

django-solr

Solr Search Engine ORM for Django
Python
25
star
3

slack-asap

⚑️ zap: Slack ASAP is *a* command to notify about things as soon as possible.
Elixir
21
star
4

django-test-query-counter

A Django toolkit for controlling query count when testing.
Python
19
star
5

sample-django-docker-swarm

A super-basic django app to try Docker Swarm.
Python
18
star
6

gilp

Gilp: A node tool to implement pre-commit and other git hooks over gulp
JavaScript
15
star
7

py101

A pyschool story for learning Python Basics.
Python
14
star
8

learnregex

A pyschool story for learning regular expressions.
Python
12
star
9

gulp-flake8

Gulp plugin for Flake8
JavaScript
7
star
10

trybox

trybox
Python
7
star
11

training

πŸŽ“Training exercises
7
star
12

unchaindjango

Unchain Django - PySchool Workshop
Makefile
6
star
13

slack-quiet

πŸ—£ Slack Quiet is a slash command to ask for silence in the workplace
Elixir
6
star
14

djangoboot

Site for starproject, startapp and cookiecutter templates.
Python
6
star
15

pullreq-ml

A machine learning experiment for predicting Pull Requests acceptance rate
JavaScript
5
star
16

hiring

We are looking for a passionate and highly detail oriented developer who wants to join a team of happy geeks.
5
star
17

tatujs

tatu.js
JavaScript
4
star
18

gulp-isort

Gulp plugin for isort
JavaScript
4
star
19

gilp-merge-conflict

Gilp plugin to detect merge conflicts.
JavaScript
4
star
20

draws

Take a file containing comma separated values and pick a winner in a stylish way
Python
4
star
21

gilp-util

Utils for gilp.
JavaScript
3
star
22

django-multiemail-field

Django Multiple Email Field
Python
3
star
23

gulp-check-grep

Gulp plugin to check for a pattern and fail when matched.
JavaScript
2
star
24

goog-ui-controls

Some google closure ui controls
JavaScript
2
star
25

gilp-check-commit

Gilp plugin to validate commit messages.
JavaScript
2
star
26

pyuy

Uruguayan Python Users Group Site
HTML
1
star
27

gilp-check-branch-name

Gilp plugin to validate branch names.
JavaScript
1
star
28

laptop

Laptop initialization
Shell
1
star