remotekasce.blogg.se

Flipclock with date countdown
Flipclock with date countdown










Removed debugging ouptut (to the javascript console) that I should have removed. Fixed incorrect month calculations when THIS.day < THAT.day and spanning across a year (e.g. Added "textScale" and "offset" option for labels. the flip countdown should work on any page) Script should now load "flip" images when the script is used on pages not relative to the script folder. Replaced the "offset" option to "timezone" so that it properly sets the dealine to a specific timezone.įixed incorrect month calculation when THIS.month = THAT.month and spanning across a year. Put javascript-based configuration options at the top of the Javascript file. Added fade in (plus a configuration option "fadeInMS" for flipper to mitigate wonky startup image discombobulation for flipper style. Weight : "normal" // < - no comma on last item!įixed bug where target date was defaulting to the 0 timezone.įixed issue for flickering images in Firefox for flipper style.

flipclock with date countdown

Offset : 0, // Number of pixels to push the labels down away from numbers. Year : "YEARS" // <- no comma on last item! Truncate : true, // Prevents culmination of hidden values into rangeHi. Interval : 82, // Number of milliseconds between display updates. NumberMarginTop : 5.5, // The space on top of the numbers.

#Flipclock with date countdown code#

To use countdown, include the following lines of code into your page: Set it up to use external images (as shown above), or use without images as seen in the examples to the right.

flipclock with date countdown

Specify a total number of seconds to count down "to". (year, month, day, hour, minute, second)Ģ. The countdown timer can be used two ways:ġ.

flipclock with date countdown

A countdown widget for your web page that displays the remaining as a flip clock or simple numbers.










Flipclock with date countdown