Forum:Count Down Timer

Hi,

On my wiki I would like to make a timer, on the Tiger's Voyage part. Sort of like on this one, where the red says "72 days" or so, the black under it "till", and the very bottom black part "is released". I saw it on the Septimus wiki before I had an account here too. Can you help me? Thank you. :) The Dark Tiger 15:07, July 31, 2011 (UTC)


 * Add all the coding from here to your wiki's MediaWiki:Common.js then where you want them on the article add this coding

June 21 2011 00:00:00 EST
 * Tama 63  15:12, July 31, 2011 (UTC)
 * I added it to the main page where I want it to say the number of days until November first... like,
 * (example)
 * 34 days
 * till
 * Tiger's Voyage is released.


 * Nothing happened. Can someone add it for me, please? The Dark Tiger 15:28, July 31, 2011 (UTC)
 * Well, if you just created the js, then it will take about a day for it to kick in. You could place a link to your Wiki, and someone could look at it.  DaRanger  |  Talk to Me  |   What I've Done  15:40, July 31, 2011 (UTC)
 * I have fixed it (the date and the font was black)--Tama 63  16:10, July 31, 2011 (UTC)
 * Thank you, but I noticed that instead of saying the days it says "November 1st 000" something. The Dark Tiger 16:18, July 31, 2011 (UTC)
 * Refresh your cache


 * Internet Explorer: hold down the Ctrl key and click the Refresh or Reload button, or press Ctrl+F5.
 * Firefox: hold down the Shift key while clicking Reload; alternatively press Ctrl+F5 or Ctrl-Shift-R.
 * Opera users have to clear their caches through Tools→Preferences
 * Konqueror and Safari users can just click the Reload button.
 * Chrome: press Ctrl+F5 or Shift+F5

Tama 63  16:21, July 31, 2011 (UTC)

Something I've noticed with the countdown timer is that it no longer counts up. I know it's a countdown timer, but people like to use it to count up the days they've been on the wiki etc. Is it possible to make it work with dates that have already gone past again? --Callofduty4 17:08, July 31, 2011 (UTC)


 * Moving to Forum:Support Requests. This isn't really a general discussion. -- Fandyllic (talk &middot; contr) 31 Jul 2011 10:43 PM Pacific
 * Still nothing. This is what is says: November 01 2011 00:00:00 EST till —This unsigned comment is by The Dark Tiger (talk • contribs) . Please sign your posts with !


 * There is a missing semicolon on this line:

if(diff > 0) left = diff + ' days ' + left
 * About halfway of the code. Add a ; at the end. - Tjcool007 (Talk) 20:21, August 1, 2011 (UTC)
 * Minify strikes again. Normally, semicolons shouldn't matter, as in JS the end of the line is interpreted as the end of the statement.