[BBCode] COUNTDOWN Timer [/BBCode]

Started by tanduy2506, March 22, 2011, 04:23:51 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

tanduy2506

Hi there,

Here is the BBCode for a Countdown timer.

BBCode usage
Quote[countdown]{TEXT}[/countdown]
HTML replacement


Help line
Quote[countdown]month, day, dow, hour, min, timezone[/countdown]
  • month : 1 through 12 or -1 within the next month, 0 for the current month
  • day : day of month [1, 31] or + day offset
  • dow : day of week sun=1 sat=7 or 0 for whatever day it falls on
  • hour : 0 through 23 for the hour of the day
  • min : 0 through 59 for minutes after the hour
  • timezone : offset in hours from UTC to your timezone [-12, +13]

If you want set countdown timer for May 1st, please use this BBCode like this:
Quote[countdown] 4, 30, 0, 23, 59, +7 [/countdown]
QuoteAnd it'll display a countdown timer on your post:
38 days+ 19 : 48 : 28

Have fun!

xupaulo


tanduy2506

Quote from: xupaulo;537841Great post! and great BBcode
Thanks,
I prefer this code from JavaScript tutorials, scripts, answers and much more JavaScript and customize something :)
If there is good javascript, please contact me to add this script, like this: http://www.freeforum.ca/clientscript/count.js

I hope our BBCodes will get better and better.

Barkerdude


Paul

Do you want me to add it to your forum and set it ?

Barkerdude


Paul

I have put it in the forum description so it shows on your index page
Is that Ok ?

Barkerdude


Spirg


ForumMate


Spirg

#10
Where is HTML?

ForumMate

No html you would use bbc code in your forum and it auto does it.