jQuery Plugin for Countdown Timer on HTML Page | SyoTimer

yoTimer jQuery plugin allows you to create digital style countdowns/periodic timers on the webpage, with callbacks support and timezone/translation customization.

Features

  • Periodic count with the specified period
  • Effects of changing countdown indicators
  • Correct declension of nouns next to numbers
  • Opportunity to add countdown signatures language which is not included in the standard version of the plugin
  • Reply after the end of the countdown counter with the possibility of changing the structure of the counter
  • Custom format and design timer

Must Read: Angular Timer Component With Countup & Countdown | Cd-Timer

How to make use of it:

1. In the browser. You need to download the latest version. And include the JavaScript file that you can find in the build folder:

<script type="text/javascript" src="path/to/jquery.js"></script>
<script type="text/javascript" src="path/to/jquery.syotimer.min.js"></script>
Using npm:
$ npm install jquery-syotimer

Using yarn:
$ yarn add jquery-syotimer

2. Syotimer plugin can be integrated with plain JavaScript or with different loading modules.

<script type="text/javascript">
  jQuery(function ($) {
    $(".selector_to_countdown").syotimer();
  });
</script>
const $ = require("jquery");
require("jquery-syotimer");

$(".selector_to_countdown").syotimer();
import $ from "jquery";
import "jquery-syotimer";

$(".selector_to_countdown").syotimer();

3. Classes are named BEM methodology:

<div class="syotimer">
  <div class="syotimer__head"></div>
  <div class="syotimer__body">
    <div class="syotimer__item syotimer-cell syotimer-cell_type_day">
      <div class="syotimer-cell__value">1</div>
      <div class="syotimer-cell__unit">day</div>
    </div>
    <div class="syotimer__item syotimer-cell syotimer-cell_type_hour">
      <div class="syotimer-cell__value">1</div>
      <div class="syotimer-cell__unit">hour</div>
    </div>
    <div class="syotimer__item syotimer-cell syotimer-cell_type_minute">
      <div class="syotimer-cell__value">1</div>
      <div class="syotimer-cell__unit">minute</div>
    </div>
    <div class="syotimer__item syotimer-cell syotimer-cell_type_second">
      <div class="syotimer-cell__value">1</div>
      <div class="syotimer-cell__unit">second</div>
    </div>
  </div>
  <div class="syotimer__footer"></div>
</div>

Options

OptionDescriptionType of ValueDefault ValueAvailable Values
datedate, which should count down timerinteger/Date0
layoutsets an order of layout of units of the timer: days (d) of hours (‘h’), minutes (‘m’), seconds (‘s’).string‘dhms’
doubleNumberstrue – show hours, minutes, and seconds with leading zeros (2 hours 5 minutes 4 seconds = 02:05:04)booleantrue
effectTypeThe effect of changing the value of secondsstring‘none’‘none’, ‘opacity’
langlocalization of countdown signatures (days, hours, minutes, seconds)string‘eng’see Localization
periodictrue – the timer is periodic. If the date until which counts the timer is reached, the next value date which will count down the timer is incremented by the value periodIntervalbooleanfalse
periodIntervalthe period of the timer in periodUnit (if periodic is set to true)integer7>0
periodUnitthe unit of measurement period timerstring‘d’‘d’, ‘h’, ‘m’, ‘s’

Localization

Default languages

By default the supported plugin languages:

LanguageValue of lang option
English‘eng’
Russian‘rus’
Spanish‘spa’
Portuguese‘por’
Hebrew‘heb’

Requirements

jQuery SyoTimer plugin tested with jQuery 1.7+ on all major browsers:

  • Firefox 2+ (Win, Mac, Linux);
  • IE8+ (win);
  • Chrome 6+ (Win, Mac, Linux, Android, iPhone);
  • Safari 3.2+ (Win, Mac, iPhone);
  • Opera 8+ (Win, Mac, Linux, Android, iPhone).

See Also –

Simple CountDown Clock jQuery Plugin with Custom Timezone
JavaScript Library For Creating Countdowns Timer | Countdown.js
jQuery CountdownGampang inspired and implemented ClassyCountdown


See Demo And Download

jQuery-SyoTimer-Plugin

Official Website(mrfratello): Click Here

This superior jQuery/javascript plugin is developed by mrfratello. For extra Advanced Usage, please go to the official website.

Related Posts

drag-drop-file-5x5-jq-uploader

Responsive Drag and Drop File Uploader/Download Plugin | 5x5_jq_uploader

5x5_jq_uploader plugin can be used to instantly create a drop file area and file queue with a little bit of preparation. Bootstrap is used for responsive planning…

Bootstrap-Dark-Mode

Stylesheet For Implementing Dark Mode with Bootstrap

Bootstrap Dark Mode provides a style sheet and two texts that allow you to implement Dark Mode on your website. Initially loaded based on user preferences, can…

responsive-navigation-menu

Multi-purpose Navigation Menu for Javascript Library | jQuery Corenav

coreNavigation is a multipurpose navigation menu for a jquery based javascript library, comes with more style, and is easy to integrate. 11 Default Menu 2 Responsive Navigation…

Simple-Multi-Select-Dropdown-Pure-Vanilla-Javascript

Simple Multi-Select Dropdown Pure Vanilla Javascript | multiSelect.js

MultiSelect.js is a simple, clean, and progressive JavaScript library designed for easy integration with any type of project or system. The design was heavily influenced by the…

Confetti-Falling-Animation-Effect-party

Confetti Falling Animation Effect In JavaScript | party.js

Party.js is a JavaScript library to brighten user site experience with visual effects! Celebrate success with dom confetti! The library is written in TypeScript and compiled into…

how-to-create-popup-in-html-with-css

How To Create A Popup in HTML with CSS

How to create popup in html with css – Popup without JavaScript is an elegant pop-up panel component with an animated scale, written in CSS. Have you…

Leave a Reply

Your email address will not be published. Required fields are marked *