Skip to content

A jquery plugin to transform a timestamp field into an hours/minutes/seconds selector.

Notifications You must be signed in to change notification settings

mikeee324/TimingField

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TimingField

A jquery plugin to transform a timestamp field into an hours/minutes/seconds selector.

Requirements

  • jQuery
  • Twitter Bootstrap

Configuration

This is the current available configuration :

$.fn.timingfield.defaults = {
    maxHour: 23,
    minutesInterval: 5,
    width: '100%',
    daysText: 'D',
    hoursText: 'H',
    minutesText: 'M',
    secondsText: 'S',
    useTimestamp: true,
    daysVisible: true,
    hoursVisible: true,
    minutesVisible: true,
    secondsVisible: true,
    defaultValue: 300
};

Usage

...
$('.timestamp').timingfield();
...

About

A jquery plugin to transform a timestamp field into an hours/minutes/seconds selector.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 87.0%
  • CSS 8.7%
  • HTML 4.3%